All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/platform/x86/amd/pmc.c compile error in 6.0.6
@ 2022-10-29 22:51 Jaak Ristioja
  2022-10-30  7:23 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Jaak Ristioja @ 2022-10-29 22:51 UTC (permalink / raw)
  To: stable; +Cc: Greg Kroah-Hartman

Hello,

The following error popped up when compiling Linux kernel version 6.0.6:

drivers/platform/x86/amd/pmc.c: In function 'amd_pmc_verify_czn_rtc':
drivers/platform/x86/amd/pmc.c:640:22: error: implicit declaration of 
function 'amd_pmc_get_smu_version' [-Werror=implicit-function-declaration]
   640 |                 rc = amd_pmc_get_smu_version(pdev);
       |                      ^~~~~~~~~~~~~~~~~~~~~~~

This function call was introduced backported with commit e9847175b266 
with the subject line "platform/x86/amd: pmc: Read SMU version during 
suspend on Cezanne systems".

Please note that amd_pmc_get_smu_version() is defined in an #ifdef 
CONFIG_DEBUG_FS block, but the new function call is compiled regardless 
of CONFIG_DEBUG_FS, causing the aforementioned error when building 
without the Debug Filesystem.


Best regards,
Jaak Ristioja

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

end of thread, other threads:[~2022-10-30 14:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-29 22:51 drivers/platform/x86/amd/pmc.c compile error in 6.0.6 Jaak Ristioja
2022-10-30  7:23 ` Greg Kroah-Hartman
2022-10-30 13:44   ` Jaak Ristioja
2022-10-30 14:20     ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.