linux/drivers/net/ethernet/intel/iavf
Aleksandr Loktionov c4f7a6672f iavf: fix proper type for error code in iavf_resume()
The variable 'err' in iavf_resume() is used to store the return value
of different functions, which return an int. Currently, 'err' is
declared as u32, which is semantically incorrect and misleading.

In the Linux kernel, u32 is typically reserved for fixed-width data
used in hardware interfaces or protocol structures. Using it for a
generic error code may confuse reviewers or developers into thinking
the value is hardware-related or size-constrained.

Replace u32 with int to reflect the actual usage and improve code
clarity and semantic correctness.

No functional change.

Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2025-09-19 08:42:08 -07:00
..
iavf.h iavf: convert to NAPI IRQ affinity API 2025-06-09 09:56:18 -07:00
iavf_adminq.c iavf: use libie adminq descriptors 2025-07-24 09:28:26 -07:00
iavf_adminq.h iavf: use libie adminq descriptors 2025-07-24 09:28:26 -07:00
iavf_adminq_cmd.h iavf: use libie adminq descriptors 2025-07-24 09:28:26 -07:00
iavf_adv_rss.c
iavf_adv_rss.h
iavf_alloc.h
iavf_common.c iavf: use libie_aq_str 2025-07-24 09:43:40 -07:00
iavf_devids.h
iavf_ethtool.c eth: iavf: migrate to new RXFH callbacks 2025-06-16 18:14:53 -07:00
iavf_fdir.c iavf: add support for offloading tc U32 cls filters 2024-08-13 14:51:29 -07:00
iavf_fdir.h iavf: add support for offloading tc U32 cls filters 2024-08-13 14:51:29 -07:00
iavf_main.c iavf: fix proper type for error code in iavf_resume() 2025-09-19 08:42:08 -07:00
iavf_osdep.h
iavf_prototype.h iavf: use libie_aq_str 2025-07-24 09:43:40 -07:00
iavf_ptp.c iavf: add support for Rx timestamps to hotpath 2025-02-14 10:58:08 -08:00
iavf_ptp.h iavf: add support for Rx timestamps to hotpath 2025-02-14 10:58:08 -08:00
iavf_register.h
iavf_status.h
iavf_trace.h iavf: define Rx descriptors as qwords 2025-02-14 10:58:08 -08:00
iavf_txrx.c iavf: access ->pp through netmem_desc instead of page 2025-07-23 17:46:55 -07:00
iavf_txrx.h net: intel: move RSS packet classifier types to libie 2025-06-09 09:56:18 -07:00
iavf_type.h iavf: use libie adminq descriptors 2025-07-24 09:28:26 -07:00
iavf_types.h iavf: negotiate PTP capabilities 2025-02-14 10:58:07 -08:00
iavf_virtchnl.c iavf: use libie_aq_str 2025-07-24 09:43:40 -07:00
Makefile iavf: add initial framework for registering PTP clock 2025-02-14 10:58:07 -08:00