| To: | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> |
|---|---|
| Subject: | Re: [PATCH 2/3] [MIPS] fix missing prototypes in asm/fpu.h |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Wed, 16 Jul 2008 09:45:22 +0100 |
| Cc: | linux-mips@linux-mips.org, linux-kernel@vger.kernel.org |
| In-reply-to: | <1216141052-28005-3-git-send-email-dmitri.vorobiev@movial.fi> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1216141052-28005-1-git-send-email-dmitri.vorobiev@movial.fi> <1216141052-28005-3-git-send-email-dmitri.vorobiev@movial.fi> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.18 (2008-05-17) |
On Tue, Jul 15, 2008 at 07:57:31PM +0300, Dmitri Vorobiev wrote: > While building the Malta defconfig, sparse spat the following > warnings: > > >>>>>>>>>>>>>>>>>> > arch/mips/math-emu/kernel_linkage.c:31:6: warning: symbol > 'fpu_emulator_init_fpu' was not declared. Should it be static? > > arch/mips/math-emu/kernel_linkage.c:54:5: warning: symbol > 'fpu_emulator_save_context' was not declared. Should it be > static? > > arch/mips/math-emu/kernel_linkage.c:68:5: warning: symbol > 'fpu_emulator_restore_context' was not declared. Should it be > static? > >>>>>>>>>>>>>>>>>> > > This patch fixes these errors by adding the proper prototypes > to the include/asm-mips/fpu.h header, and actually using this > header in the sparse-spotted source file. I'm not terribly fond of exporting these private prototypes by making their prototypes widely available. I see it's need to make sparse a more productive tool, so I applied the patch though. Thanks, Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 1/3 part 2] [MIPS] make the pcibios_max_latency variable static, Dmitri Vorobiev |
|---|---|
| Next by Date: | Re: [PATCH 3/3] [MIPS] add missing prototypes to asm/page.h, Ralf Baechle |
| Previous by Thread: | [PATCH 2/3] [MIPS] fix missing prototypes in asm/fpu.h, Dmitri Vorobiev |
| Next by Thread: | [PATCH] IP32: Use common SGI button driver, Thomas Bogendoerfer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |