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 | ||
mc | ||
dpaa2_ethdev.c | ||
dpaa2_ethdev.h | ||
dpaa2_flow.c | ||
dpaa2_mux.c | ||
dpaa2_pmd_logs.h | ||
dpaa2_ptp.c | ||
dpaa2_rxtx.c | ||
dpaa2_sparser.c | ||
dpaa2_sparser.h | ||
dpaa2_tm.c | ||
dpaa2_tm.h | ||
meson.build | ||
rte_pmd_dpaa2.h | ||
version.map |