Messages in this thread | | | From | Dmitri Vorobiev <> | Subject | x86: fix a couple of sparse warnings | Date | Mon, 28 Apr 2008 03:15:57 +0400 |
| |
Hi Ingo, Peter, Thomas,
Here is a couple of patches that fix sparse warnings produced while compiling defconfig for i386:
<<<<<
arch/x86/kernel/reboot.c:32:5: warning: symbol 'reboot_force' was not declared. Should it be static?
arch/x86/kernel/pci-dma.c:17:5: warning: symbol 'iommu_sac_force' was not declared. Should it be static?
<<<<<
These patches were compile-tested using defconfig for both i386 and x86_64. Also, a runtime test was successfully performed by booting i386 and x86_64 boxes up to the shell prompt.
Patches apply cleanly to current x86.git.
Please consider.
Thanks, Dmitri Vorobiev
| |