objtool warning in ice_free_prof_mask
From: Oleksandr Natalenko
Date: Mon Apr 07 2025 - 02:31:14 EST
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, MSEAttachment:
signature.asc
Description: This is a digitally signed message part.