summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAleksandr Loktionov <aleksandr.loktionov@intel.com>2025-09-10 09:01:08 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2025-09-19 18:42:08 +0300
commita460f96709bb0dab9a527e2e6126ce0b2fcd02fe (patch)
tree4d7d7c8835f5f88c8affa43f79d50b010498d8ef /include
parentc4f7a6672f9019c9509c656c76dcbe804fb66e0c (diff)
downloadlinux-a460f96709bb0dab9a527e2e6126ce0b2fcd02fe.tar.xz
ixgbevf: fix proper type for error code in ixgbevf_resume()
The variable 'err' in ixgbevf_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: Jedrzej Jagielski <jedrzej.jagielski@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions