mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-24 16:57:02 +00:00
aim_strlcpy fix.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <linux/i2c-devices.h>
|
||||
#include "platform_lib.h"
|
||||
#include <AIM/aim.h>
|
||||
|
||||
#define MAX_I2C_BUSSES 2
|
||||
#define I2C_PSU_MAX_EEPROM_ADDR 1
|
||||
@@ -338,4 +339,3 @@ int as4600_54t_get_psu_type(int pid, char* modelname, int modelname_len)
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <linux/i2c-devices.h>
|
||||
#include <AIM/aim.h>
|
||||
#include "platform_lib.h"
|
||||
|
||||
#define CPLD_BASE_ADDRESS 0xEA000000
|
||||
@@ -534,4 +535,3 @@ as5610_52x_psu_type_t as5610_52x_get_psu_type(int id, char* modelname, int model
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user