Hi,

> -----Original Message-----
> From: Ori Kam <[email protected]>
> Sent: Friday, June 19, 2020 10:30 AM
> To: Matan Azrad <[email protected]>; Slava Ovsiienko
> <[email protected]>; Shahaf Shuler <[email protected]>
> Cc: [email protected]; Ori Kam <[email protected]>; Raslan Darawsheh
> <[email protected]>; Ophir Munk <[email protected]>
> Subject: [PATCH v2 1/2] net/mlx5: move getter functions from net to
> common
> 
> From: Ophir Munk <[email protected]>
> 
> Getter functions such as: 'mlx5_os_get_ctx_device_name',
> 'mlx5_os_get_ctx_device_path', 'mlx5_os_get_dev_device_name',
> 'mlx5_os_get_umem_id' are implemented under net directory. To enable
> additional devices (e.g. regex, vdpa) to access these getter functions
> they are moved under common directory.
> 
> As part of this commit string sizes DEV_SYSFS_NAME_MAX and
> DEV_SYSFS_PATH_MAX are increased by 1 to make sure that the destination
> string size in strncpy() function is bigger than the source string size.
> This update will avoid GCC version 8 error -Werror=stringop-truncation.
> 
> Signed-off-by: Ophir Munk <[email protected]>
> Acked-by: Matan Azrad <[email protected]>
> ---
> v2:
> * avoid GCC version 8 error.
> ---



Series rebased and applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to