[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202404262254.lEmMOMMd-lkp@intel.com>
Date: Fri, 26 Apr 2024 22:24:52 +0800
From: kernel test robot <lkp@...el.com>
To: Liam Howlett <liam.howlett@...cle.com>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>,
"Liam R. Howlett" <Liam.Howlett@...cle.com>
Subject: lib/maple_tree.c:336:20: error: unused function 'mte_has_null'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c942a0cd3603e34dd2d7237e064d9318cb7f9654
commit: 6e7ba8b5e2380f941dda8a1025d70c5ce5b38982 maple_tree: mte_set_full() and mte_clear_full() clang-analyzer clean up
date: 1 year, 5 months ago
config: x86_64-sof-customedconfig-amd-defconfig (https://download.01.org/0day-ci/archive/20240426/202404262254.lEmMOMMd-lkp@intel.com/config)
compiler: clang version 18.1.4 (https://github.com/llvm/llvm-project e6c3289804a67ea0bb6a86fadbe454dd93b8d855)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240426/202404262254.lEmMOMMd-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/202404262254.lEmMOMMd-lkp@intel.com/
All errors (new ones prefixed by >>):
lib/maple_tree.c:326:21: error: unused function 'mte_set_full' [-Werror,-Wunused-function]
326 | static inline void *mte_set_full(const struct maple_enode *node)
| ^~~~~~~~~~~~
lib/maple_tree.c:331:21: error: unused function 'mte_clear_full' [-Werror,-Wunused-function]
331 | static inline void *mte_clear_full(const struct maple_enode *node)
| ^~~~~~~~~~~~~~
>> lib/maple_tree.c:336:20: error: unused function 'mte_has_null' [-Werror,-Wunused-function]
336 | static inline bool mte_has_null(const struct maple_enode *node)
| ^~~~~~~~~~~~
3 errors generated.
vim +/mte_has_null +336 lib/maple_tree.c
335
> 336 static inline bool mte_has_null(const struct maple_enode *node)
337 {
338 return (unsigned long)node & MAPLE_ENODE_NULL;
339 }
340
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists