platform/x86/amd/pmc: Fix implicit declaration error on i386
Subsystems (2)
PATCH 1/1 platform/x86/amd/pmc: Fix implicit declaration error on i386
Add depended header file to fix error on i386 due to implicit declaration of function ‘writeq’.
--- drivers/platform/x86/amd/pmc/mp2_stb.c | 1 + 1 file changed, 1 insertion(+)
drivers/platform/x86/amd/pmc/mp2_stb.c +1 -0
@@ -11,6 +11,7 @@#include <linux/debugfs.h> #include <linux/device.h> #include <linux/io.h> +#include <linux/io-64-nonatomic-lo-hi.h> #include <linux/iopoll.h> #include <linux/pci.h> #include <linux/sizes.h>
Signature · 1 line
2.25.1
Quoted 9 lines · Basavaraj Natikar
Add depended header file to fix error on i386 due to implicit declaration of function ‘writeq’.
Fixes 2dc77993cb5e ("platform/x86/amd/pmc: Add AMD MP2 STB functionality")Reported-by kernel test robot <[email protected]>Suggested-by Andy Shevchenko <[email protected]>Signed-off-by Basavaraj Natikar <[email protected]>---
LGTM
Quoted 15 lines
drivers/platform/x86/amd/pmc/mp2_stb.c | 1 + 1 file changed, 1 insertion(+)drivers/platform/x86/amd/pmc/mp2_stb.c +1
-0@@ -11,6 +11,7 @@#include <linux/debugfs.h> #include <linux/device.h> #include <linux/io.h> +#include <linux/io-64-nonatomic-lo-hi.h> #include <linux/iopoll.h> #include <linux/pci.h> #include <linux/sizes.h>
Signature · 2 lines
Sathyanarayanan Kuppuswamy Linux Kernel Developer
Hi,
Quoted 8 lines · Basavaraj Natikar
Add depended header file to fix error on i386 due to implicit declaration of function ‘writeq’.
Fixes 2dc77993cb5e ("platform/x86/amd/pmc: Add AMD MP2 STB functionality")Reported-by kernel test robot <[email protected]>Suggested-by Andy Shevchenko <[email protected]>Signed-off-by Basavaraj Natikar <[email protected]>
Thank you for your patch, I've applied this patch to my review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans
Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while.
Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window.
Regards,
Hans
Quoted 16 lines
--- drivers/platform/x86/amd/pmc/mp2_stb.c | 1 + 1 file changed, 1 insertion(+)drivers/platform/x86/amd/pmc/mp2_stb.c +1
-0@@ -11,6 +11,7 @@#include <linux/debugfs.h> #include <linux/device.h> #include <linux/io.h> +#include <linux/io-64-nonatomic-lo-hi.h> #include <linux/iopoll.h> #include <linux/pci.h> #include <linux/sizes.h>