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: |
||
---|---|---|
.. | ||
base | ||
meson.build | ||
qede_debug.c | ||
qede_debug.h | ||
qede_ethdev.c | ||
qede_ethdev.h | ||
qede_filter.c | ||
qede_if.h | ||
qede_logs.h | ||
qede_main.c | ||
qede_regs.c | ||
qede_rxtx.c | ||
qede_rxtx.h | ||
qede_sriov.c | ||
qede_sriov.h | ||
version.map |