[PATCH] riscv: make unexported items static

Conor Dooley conor at kernel.org
Wed Nov 22 03:16:42 PST 2023


On Wed, Nov 22, 2023 at 09:02:55AM +0000, Ben Dooks wrote:
> The relocation_hashtable and used_buckets_list are not used
> outside of the module.c file and therefore should be made
> static to avoid the follwoing sdparse warnings:
> 
> arch/riscv/kernel/module.c:48:19: warning: symbol 'relocation_hashtable' was not declared. Should it be static?
> arch/riscv/kernel/module.c:50:18: warning: symbol 'used_buckets_list' was not declared. Should it be static?
> 
> Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>

Reviewed-by: Conor Dooley <conor.dooley at microchip.com>

Cheers,
Conor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20231122/813e875e/attachment.sig>


More information about the linux-riscv mailing list