Skip to contentSkip to conversation

linux-next: build warnings after merge of the drivers-x86 tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Dec 22, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the drivers-x86 tree, today's linux-next build (x86_64 allmodconfig) produced these warnings:

drivers/platform/x86/intel/pmc/arl.c:680:6: warning: no previous prototype for 'arl_d3_fixup' [-Wmissing-prototypes]
680 | void arl_d3_fixup(void)

      |      ^~~~~~~~~~~~
drivers/platform/x86/intel/pmc/arl.c:685:5: warning: no previous prototype for 'arl_resume' [-Wmissing-prototypes]
  685 | int arl_resume(struct pmc_dev *pmcdev)
      |     ^~~~~~~~~~
drivers/platform/x86/intel/pmc/lnl.c:503:6: warning: no previous prototype for 'lnl_d3_fixup' [-Wmissing-prototypes]
  503 | void lnl_d3_fixup(void)
      |      ^~~~~~~~~~~~
drivers/platform/x86/intel/pmc/lnl.c:509:5: warning: no previous prototype for 'lnl_resume' [-Wmissing-prototypes]
  509 | int lnl_resume(struct pmc_dev *pmcdev)
      |     ^~~~~~~~~~

Introduced by commits

f34dcf397286 ("platform/x86/intel/pmc: Add Arrow Lake S support to intel_pmc_core driver") 119652b855e6 ("platform/x86/intel/pmc: Add Lunar Lake M support to intel_pmc_core driver")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi All,

Quoted 18 lines · Stephen Rothwell

Hi all,

After merging the drivers-x86 tree, today's linux-next build (x86_64 allmodconfig) produced these warnings:

drivers/platform/x86/intel/pmc/arl.c:680:6: warning: no previous prototype for 'arl_d3_fixup' [-Wmissing-prototypes]
680 | void arl_d3_fixup(void)

      |      ^~~~~~~~~~~~
drivers/platform/x86/intel/pmc/arl.c:685:5: warning: no previous prototype for 'arl_resume' [-Wmissing-prototypes]
  685 | int arl_resume(struct pmc_dev *pmcdev)
      |     ^~~~~~~~~~
drivers/platform/x86/intel/pmc/lnl.c:503:6: warning: no previous prototype for 'lnl_d3_fixup' [-Wmissing-prototypes]
  503 | void lnl_d3_fixup(void)
      |      ^~~~~~~~~~~~
drivers/platform/x86/intel/pmc/lnl.c:509:5: warning: no previous prototype for 'lnl_resume' [-Wmissing-prototypes]
  509 | int lnl_resume(struct pmc_dev *pmcdev)
      |     ^~~~~~~~~~
Quoted 4 lines

Introduced by commits

f34dcf397286 ("platform/x86/intel/pmc: Add Arrow Lake S support to intel_pmc_core driver") 119652b855e6 ("platform/x86/intel/pmc: Add Lunar Lake M support to intel_pmc_core driver")

Ravji, can you please submit some fixes for these ?

Please split out the fixes into one per file, then I'll squash them into the original commits.

Stephen, thank you for reporting these.

Regards,

Hans