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: |
||
---|---|---|
.. | ||
ionic_dev.c | ||
ionic_dev.h | ||
ionic_ethdev.c | ||
ionic_ethdev.h | ||
ionic_if.h | ||
ionic_lif.c | ||
ionic_lif.h | ||
ionic_logs.h | ||
ionic_mac_api.c | ||
ionic_mac_api.h | ||
ionic_main.c | ||
ionic_osdep.h | ||
ionic_regs.h | ||
ionic_rx_filter.c | ||
ionic_rx_filter.h | ||
ionic_rxtx.c | ||
ionic_rxtx.h | ||
ionic.h | ||
meson.build | ||
version.map |