Files
linux/drivers/net/ethernet/intel/igc
Yue Haibing 8b6237e1f4 igc: Fix passing 0 to ERR_PTR in igc_xdp_run_prog()
igc_xdp_run_prog() converts customed xdp action to a negative error code
with the sk_buff pointer type which be checked with IS_ERR in
igc_clean_rx_irq(). Remove this error pointer handing instead use plain
int return value to fix this smatch warnings:

drivers/net/ethernet/intel/igc/igc_main.c:2533
 igc_xdp_run_prog() warn: passing zero to 'ERR_PTR'

Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Avigail Dahan <avigailx.dahan@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://patch.msgid.link/20250106221929.956999-9-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-01-07 18:15:51 -08:00
..
2023-12-18 11:20:43 -08:00
2021-05-26 09:11:41 -07:00
2023-12-18 11:20:43 -08:00
2020-06-29 18:21:09 -07:00
2020-05-19 15:01:48 -07:00
2024-06-03 11:18:50 +02:00
2024-08-30 07:33:46 -07:00
2025-01-07 18:14:09 -08:00
2021-05-20 10:21:42 -07:00
2024-08-30 07:35:48 -07:00