[2/4] cxl: sparse: Make declarations static

Michael Ellerman mpe at ellerman.id.au
Thu Aug 13 11:44:23 AEST 2015


On Fri, 2015-07-08 at 03:18:18 UTC, Daniel Axtens wrote:
> A few declarations were identified by sparse as needing to be static:
> 
> /scratch/dja/linux-capi/drivers/misc/cxl/irq.c:408:6: warning: symbol 'afu_irq_name_free' was not declared. Should it be static?
> /scratch/dja/linux-capi/drivers/misc/cxl/irq.c:467:6: warning: symbol 'afu_register_hwirqs' was not declared. Should it be static?
> /scratch/dja/linux-capi/drivers/misc/cxl/file.c:254:6: warning: symbol 'afu_compat_ioctl' was not declared. Should it be static?
> /scratch/dja/linux-capi/drivers/misc/cxl/file.c:399:30: warning: symbol 'afu_master_fops' was not declared. Should it be static?
> 
> Make them static.
> 
> Signed-off-by: Daniel Axtens <dja at axtens.net>
> Acked-by: Michael Neuling <mikey at neuling.org>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/3d6b040e73387570521d

cheers


More information about the Linuxppc-dev mailing list