x86: fix a couple of sparse warnings

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dmitri Vorobiev
Date: Sunday, April 27, 2008 - 4:15 pm

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
x86: fix a couple of sparse warnings, Dmitri Vorobiev, (Sun Apr 27, 4:15 pm)
[PATCH 1/2] x86: iommu_sac_force can become static, Dmitri Vorobiev, (Sun Apr 27, 4:15 pm)
[PATCH 2/2] x86: add proper header for reboot_force, Dmitri Vorobiev, (Sun Apr 27, 4:15 pm)
Re: x86: fix a couple of sparse warnings, Ingo Molnar, (Mon Apr 28, 5:38 am)
Re: x86: fix a couple of sparse warnings, Adrian Bunk, (Mon Apr 28, 6:37 am)
Re: x86: fix a couple of sparse warnings, Dmitri Vorobiev, (Mon Apr 28, 6:43 am)
Re: x86: fix a couple of sparse warnings, Adrian Bunk, (Mon Apr 28, 6:59 am)
Re: x86: fix a couple of sparse warnings, Ingo Molnar, (Mon Apr 28, 8:01 am)
Re: x86: fix a couple of sparse warnings, Adrian Bunk, (Mon Apr 28, 11:56 am)
Re: x86: fix a couple of sparse warnings, Sam Ravnborg, (Mon Apr 28, 12:13 pm)