Skip to content

platform/x86/intel/pmc: Fix recent instances of -Wmissing-prototypes

Nathan Chancellor linux-patches platform-driver-x86 1 version In review

Get series with b4
b4 am 20231222-intel-pmc-missing-prototypes-v1-0-3f0d47377d4c@kernel.org change-id 20231222-intel-pmc-missing-prototypes-8fb5014b16b8

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2platform/x86/intel/pmc: Mark arl_d3_fixup() and arl_resume() as staticdrivers/platform/x86/intel/pmc/arl.c+2 -20 replies
2/2platform/x86/intel/pmc: Mark lnl_d3_fixup() and lnl_resume() as staticdrivers/platform/x86/intel/pmc/lnl.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] platform/x86/intel/pmc: Fix recent instances of -Wmissing-prototypes

As reported by Stephen at [1], there are a few instances of -Wmissing-prototypes, which break the build with CONFIG_WERROR=y. This series marks these functions as static because they are not used outside of these translation units.

Feel free to squash these into the original changes if the branch is not set in stone.

[1]: https://lore.kernel.org/all/[email protected]/

---
Nathan Chancellor (2):
platform/x86/intel/pmc: Mark arl_d3_fixup() and arl_resume() as static platform/x86/intel/pmc: Mark lnl_d3_fixup() and lnl_resume() as static

 drivers/platform/x86/intel/pmc/arl.c | 4 ++--
 drivers/platform/x86/intel/pmc/lnl.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

---
base-commit: 119652b855e6c96676406ee9a7f535f4db4e8eff
change-id: 20231222-intel-pmc-missing-prototypes-8fb5014b16b8

Best regards,

Signature · 1 line
Nathan Chancellor <[email protected]>