]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
sgi-xp: make some symbols static in xpnet.c
authorJason Yan <yanaijie@huawei.com>
Fri, 10 Apr 2020 06:36:17 +0000 (14:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Apr 2020 14:55:23 +0000 (16:55 +0200)
commit2a23537b3df3c452fdb3617b8bda137f1fb2eff3
treec2cc7728f8752014803880d571c9e7b35975046e
parent9e306ba3a9299fc0348d2345e4cfdb39b77a8a27
sgi-xp: make some symbols static in xpnet.c

Fix the following sparse warning:

drivers/misc/sgi-xp/xpnet.c:99:19: warning: symbol 'xpnet_device' was
not declared. Should it be static?
drivers/misc/sgi-xp/xpnet.c:134:22: warning: symbol 'xpnet_dbg_name' was
not declared. Should it be static?
drivers/misc/sgi-xp/xpnet.c:138:15: warning: symbol 'xpnet_dbg_subname'
was not declared. Should it be static?
drivers/misc/sgi-xp/xpnet.c:143:15: warning: symbol 'xpnet' was not
declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200410063618.27143-1-yanaijie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/sgi-xp/xpnet.c