The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=81758eb56a677a08afda8f40746190fae5f59472
commit 81758eb56a677a08afda8f40746190fae5f59472 Author: Kevin Bowling <[email protected]> AuthorDate: 2026-08-11 19:36:33 +0000 Commit: Kevin Bowling <[email protected]> CommitDate: 2026-08-25 00:41:48 +0000 ixl: Avoid a signed PHY capability shift The PHY capability display examines all 32 bits of the firmware bitmap. Use an unsigned value so examining bit 31 does not shift a signed integer into its sign bit. (cherry picked from commit f7427f890c7f34d0842a35eb9df814adad11a95a) --- sys/dev/ixl/ixl_pf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ixl/ixl_pf_main.c b/sys/dev/ixl/ixl_pf_main.c index b06188545116..380e12c6b9ac 100644 --- a/sys/dev/ixl/ixl_pf_main.c +++ b/sys/dev/ixl/ixl_pf_main.c @@ -3533,7 +3533,7 @@ ixl_sysctl_phy_abilities(SYSCTL_HANDLER_ARGS) if (abilities.phy_type != 0) { sbuf_printf(buf, "<"); for (int i = 0; i < 32; i++) - if ((1 << i) & abilities.phy_type) + if ((1U << i) & abilities.phy_type) sbuf_printf(buf, "%s,", ixl_phy_type_string(i, false)); sbuf_printf(buf, ">"); }
