Re: [PATCH v1] tmpfs: Unsigned expression compared with zero

From: kernel test robot
Date: Thu Nov 21 2024 - 22:31:52 EST


Hi guanjing,

kernel test robot noticed the following build warnings:

[auto build test WARNING on brauner-vfs/vfs.all]
[also build test WARNING on linus/master next-20241121]
[cannot apply to v6.12]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/guanjing/tmpfs-Unsigned-expression-compared-with-zero/20241121-152806
base: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link: https://lore.kernel.org/r/20241120105150.24008-1-guanjing%40cmss.chinamobile.com
patch subject: [PATCH v1] tmpfs: Unsigned expression compared with zero
config: arc-randconfig-001-20241122 (https://download.01.org/0day-ci/archive/20241122/202411221128.qSNFAkty-lkp@xxxxxxxxx/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241122/202411221128.qSNFAkty-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411221128.qSNFAkty-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> fs/unicode/utf8-core.c:225: warning: Function parameter or struct member 'version_str' not described in 'utf8_parse_version'


vim +225 fs/unicode/utf8-core.c

9d53690f0d4e56 Gabriel Krisman Bertazi 2019-04-25 216
142fa60f61f938 André Almeida 2024-10-21 217 /**
142fa60f61f938 André Almeida 2024-10-21 218 * utf8_parse_version - Parse a UTF-8 version number from a string
142fa60f61f938 André Almeida 2024-10-21 219 *
142fa60f61f938 André Almeida 2024-10-21 220 * @version: input string
142fa60f61f938 André Almeida 2024-10-21 221 *
fd9b2236cc1a2d guanjing 2024-11-20 222 * Returns 0 on success, negative code on error
142fa60f61f938 André Almeida 2024-10-21 223 */
fd9b2236cc1a2d guanjing 2024-11-20 224 int utf8_parse_version(char *version_str, unsigned int *version)
142fa60f61f938 André Almeida 2024-10-21 @225 {

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki