[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202601170715.97Vdjz1i-lkp@intel.com>
Date: Sat, 17 Jan 2026 07:33:13 +0800
From: kernel test robot <lkp@...el.com>
To: Eric Sandeen <sandeen@...hat.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Christian Brauner <brauner@...nel.org>
Subject: drivers/base/devtmpfs.c:88:30: sparse: sparse: symbol
'devtmpfs_context_ops' was not declared. Should it be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b62ce2547fe8a8ba15857bb974bcad250c5420d6
commit: cb0e0a8bf4e1e1c8cd6d11ccaa355a23e1853566 devtmpfs: replace ->mount with ->get_tree in public instance
date: 12 months ago
config: x86_64-randconfig-121-20260116 (https://download.01.org/0day-ci/archive/20260117/202601170715.97Vdjz1i-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260117/202601170715.97Vdjz1i-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601170715.97Vdjz1i-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/base/devtmpfs.c:88:30: sparse: sparse: symbol 'devtmpfs_context_ops' was not declared. Should it be static?
vim +/devtmpfs_context_ops +88 drivers/base/devtmpfs.c
86
87 /* Ops are filled in during init depending on underlying shmem or ramfs type */
> 88 struct fs_context_operations devtmpfs_context_ops = {};
89
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists