1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/intel/ixgbe
Jedrzej Jagielski ef3dd59650 ixgbe: Clarify the values of the returning status
Converting s32 functions to regular int in the previous patch of the series
caused triggering smatch warnings about missing error code.

New smatch warnings:
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:2884 ixgbe_get_lcd_t_x550em() warn: missing error code? 'status'
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:3130 ixgbe_enter_lplu_t_x550em() warn: missing error code? 'status'

Old smatch warnings:
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:2890 ixgbe_get_lcd_t_x550em() warn: missing error code? 'status'

Fix it by clearly stating returning error code as 0.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202401041701.6QKTsZmx-lkp@intel.com/
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2024-02-06 13:17:14 -08:00
..
ixgbe.h ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_82598.c ixgbe: Rearrange args to fix reverse Christmas tree 2024-02-06 13:17:14 -08:00
ixgbe_82599.c ixgbe: Rearrange args to fix reverse Christmas tree 2024-02-06 13:17:14 -08:00
ixgbe_common.c ixgbe: Rearrange args to fix reverse Christmas tree 2024-02-06 13:17:14 -08:00
ixgbe_common.h ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_dcb.c ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_dcb.h ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_dcb_82598.c ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_dcb_82598.h ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_dcb_82599.c ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_dcb_82599.h ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_dcb_nl.c intel: remove unused macros 2022-06-30 09:40:55 -07:00
ixgbe_debugfs.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
ixgbe_ethtool.c ixgbe: Rearrange args to fix reverse Christmas tree 2024-02-06 13:17:14 -08:00
ixgbe_fcoe.c intel: legacy: field prep conversion 2023-12-18 11:15:53 -08:00
ixgbe_fcoe.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ixgbe_ipsec.c ixgbe: fill IPsec state validation failure reason 2023-01-26 16:28:48 -08:00
ixgbe_ipsec.h ixgbe: propagate XFRM offload state direction instead of flags 2022-05-06 08:32:52 +02:00
ixgbe_lib.c ixgbe: Fix panic during XDP_TX with > 64 CPUs 2023-04-27 11:54:33 +02:00
ixgbe_main.c ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_mbx.c ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_mbx.h ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_model.h ixgbe: cleanup sparse warnings 2018-05-17 08:24:30 -07:00
ixgbe_phy.c ixgbe: Rearrange args to fix reverse Christmas tree 2024-02-06 13:17:14 -08:00
ixgbe_phy.h ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_ptp.c ixgbe: fix timestamp configuration code 2023-09-13 12:23:46 +01:00
ixgbe_sriov.c ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_sriov.h ixgbe: add the ability for the PF to disable VF link state 2022-03-08 07:41:18 -08:00
ixgbe_sysfs.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ixgbe_txrx_common.h ixgbe, xsk: Terminate Rx side of NAPI when XSK Rx queue gets full 2022-04-15 21:10:45 +02:00
ixgbe_type.h ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_x540.c ixgbe: Rearrange args to fix reverse Christmas tree 2024-02-06 13:17:14 -08:00
ixgbe_x540.h ixgbe: Convert ret val type from s32 to int 2024-02-06 13:17:14 -08:00
ixgbe_x550.c ixgbe: Clarify the values of the returning status 2024-02-06 13:17:14 -08:00
ixgbe_xsk.c net: Tree wide: Replace xdp_do_flush_map() with xdp_do_flush(). 2023-10-03 07:34:51 -07:00
Makefile ixgbe/ixgbevf: fix XFRM_ALGO dependency 2018-10-31 10:53:15 -07:00