]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
devtmpfs: make 'devtmpfs_context_ops' static
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 16 Jan 2026 15:07:45 +0000 (15:07 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Jan 2026 15:44:31 +0000 (16:44 +0100)
commit99aa03f98ce56804f2e8936f9dabf8c4f117a661
treea74df3f19f307f7d76cfe610b8a39d048b4bd920
parent9d4502fef00fa7a798d3c0806d4da4466a7ffc6f
devtmpfs: make 'devtmpfs_context_ops' static

The 'devtmpfs_context_ops' object is not exported outside the
devtmpfs.c file nor defined anywhere for use outside. Make this
static to remove the following sparse warning:

drivers/base/devtmpfs.c:88:30: warning: symbol 'devtmpfs_context_ops' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Link: https://patch.msgid.link/20260116150745.1330145-1-ben.dooks@codethink.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/devtmpfs.c