d345d6c957
Fixes a few different things: * Remove 'fw_version' NULL checks, it is allowed if the 'fw_size' is zero, 'fw_version' being NULL but 'fw_size' not zero condition checked in ethdev layer * Be sure required buffer size is returned if provided one is not big enough, instead of returning success (0) * Document in doxygen comment the '-EINVAL' is a valid return type * Take into account that 'snprintf' can return negative value * Cast length to 'size_t' to compare it with 'fw_size' Fixes: |
||
---|---|---|
.. | ||
hw_atl | ||
atl_common.h | ||
atl_ethdev.c | ||
atl_ethdev.h | ||
atl_hw_regs.c | ||
atl_hw_regs.h | ||
atl_logs.h | ||
atl_rxtx.c | ||
atl_types.h | ||
meson.build | ||
rte_pmd_atlantic.c | ||
rte_pmd_atlantic.h | ||
version.map |