]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
lib/test_debug_virtual.c: make struct pointer foo static
authorColin Ian King <colin.king@canonical.com>
Wed, 22 Aug 2018 04:57:07 +0000 (21:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Aug 2018 17:52:48 +0000 (10:52 -0700)
commitb15f5f1ae18a70f2db0ec4b4e5fa525420a67270
tree846264b42644693b1c5caa8b13e7dc59fb4170bc
parent9144d75e22cad3c89e6b2ccab551db9ee28d250a
lib/test_debug_virtual.c: make struct pointer foo static

The pointer foo is local to the source and does not need to be
in global scope, so make it static.

Cleans up sparse warning:
symbol 'foo' was not declared. Should it be static?

Link: http://lkml.kernel.org/r/20180624112206.5722-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/test_debug_virtual.c