Thank you for your contribution! Sashiko AI review found more severe issue(s) in other patches of this series. This mail is only an FYI, in case you want to address the nit picks below when you respin. Low priority / nit picks for your consideration: - [Low] The rationale in the commit message for "ixgbe: use int instead of u32 for error code variables" is factually wrong, and it reads as… -- ixgbe: use int instead of u32 for error code variables This commit changes ten local variables in ixgbe_main.c, ixgbe_phy.c and ixgbe_x550.c from u32 to int, because they hold negative errno return values. The commit message says there is no functional change.
> Storing them in an unsigned > u32 silently wraps the value: -EIO (0xFFFFFFF7) stored in u32 becomes a > large positive number, so any "if (status)" truthiness check still works > by accident, but comparisons against specific negative error codes or > propagation up the call stack produce wrong results.
[Severity: Low] Is the hex value here correct? EIO is 5, so -EIO as a 32-bit value is 0xFFFFFFFB. 0xFFFFFFF7 is -9, which is -EBADF. Does the rest of this paragraph match the code being changed? Each changed variable is returned from a function declared to return int. Converting from u32 back to int gives the original negative errno. Equality checks such as status == -EIO also still work, because -EIO is converted to unsigned for the comparison. Only a relational check such as status < 0 would give a wrong result. None of the ten functions touched here does a relational comparison on these variables. For example, ixgbe_resume() only tests err for truth and returns it: err = pci_enable_device_mem(pdev); if (err) { e_dev_err("Cannot enable PCI device from suspend\n"); return err; } ... if (!err) netif_device_attach(netdev); rtnl_unlock(); return err; The other functions follow the same if (status) / return status pattern. That appears to contradict the later statement:
> No functional change.
Could the rationale be limited to type correctness and readability, so that it doesn't read as though an existing runtime bug is being fixed?
-- Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/2026…%40intel.com