Re: [PATCH socfpga-nex] staging: fpga manager: socfpga_fpga_ops can be static

From: One Thousand Gnomes
Date: Thu Dec 11 2014 - 15:46:05 EST


On Thu, 11 Dec 2014 09:43:24 +0800
kbuild test robot <fengguang.wu@xxxxxxxxx> wrote:

> drivers/staging/fpga/socfpga.c:655:25: sparse: symbol 'socfpga_fpga_ops' was not declared. Should it be static?
>
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>

Ought to be const as well by the look of it - we don't want function
pointers in patchable memory spaces.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/