netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* objtool warning in ice_free_prof_mask
@ 2025-04-07  6:20 Oleksandr Natalenko
  2025-04-07  9:03 ` Przemek Kitszel
  0 siblings, 1 reply; 6+ messages in thread
From: Oleksandr Natalenko @ 2025-04-07  6:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: netdev, intel-wired-lan, Paolo Abeni, Jakub Kicinski,
	Eric Dumazet, David S. Miller, Andrew Lunn, Przemek Kitszel,
	Tony Nguyen, Peter Zijlstra, Josh Poimboeuf

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

Hello.

With v6.15-rc1, CONFIG_OBJTOOL_WERROR=y and gcc 14.2.1 the following happens:

```
drivers/net/ethernet/intel/ice/ice.o: error: objtool: ice_free_prof_mask.isra.0() falls through to next function ice_free_flow_profs.cold()
drivers/net/ethernet/intel/ice/ice.o: error: objtool: ice_free_prof_mask.isra.0.cold() is missing an ELF size annotation
```

If I mark ice_write_prof_mask_reg() as noinline, this warning disappears.

Any idea what's going wrong?

Thank you.

-- 
Oleksandr Natalenko, MSE

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-04-08  0:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-07  6:20 objtool warning in ice_free_prof_mask Oleksandr Natalenko
2025-04-07  9:03 ` Przemek Kitszel
2025-04-07  9:21   ` Oleksandr Natalenko
2025-04-07 21:42     ` Josh Poimboeuf
2025-04-07 21:49       ` Oleksandr Natalenko
2025-04-08  0:14         ` [Intel-wired-lan] " Josh Poimboeuf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).