CC: [email protected] BCC: [email protected] CC: [email protected] TO: Konstantin Komarov <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 56e337f2cf1326323844927a04e9dbce9a244835 commit: 6e5be40d32fb1907285277c02e74493ed43d77fe fs/ntfs3: Add NTFS3 in fs/Kconfig and fs/Makefile date: 7 months ago :::::: branch date: 29 hours ago :::::: commit date: 7 months ago compiler: arc-elf-gcc (GCC) 11.2.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> cppcheck possible warnings: (new ones prefixed by >>, may not real problems) In file included from fs/ntfs3/fsntfs.c: >> fs/ntfs3/ntfs_fs.h:1004:2: warning: Non-boolean value returned from function >> returning bool [returnNonBoolInBooleanFunction] return ni->ni_flags & NI_FLAG_DEDUPLICATED; ^ >> fs/ntfs3/fsntfs.c:1289:2: warning: Possible null pointer dereference: nb >> [nullPointer] nb->nbufs = 0; ^ fs/ntfs3/fsntfs.c:2049:31: note: Calling function 'ntfs_read_run_nb', 6th argument 'NULL' value is 0 sizeof(d_security), NULL); ^ fs/ntfs3/fsntfs.c:1289:2: note: Null pointer dereference nb->nbufs = 0; ^ vim +1004 fs/ntfs3/ntfs_fs.h 4534a70b7056fd4 Konstantin Komarov 2021-08-13 1001 4534a70b7056fd4 Konstantin Komarov 2021-08-13 1002 static inline bool is_dedup(const struct ntfs_inode *ni) 4534a70b7056fd4 Konstantin Komarov 2021-08-13 1003 { 4534a70b7056fd4 Konstantin Komarov 2021-08-13 @1004 return ni->ni_flags & NI_FLAG_DEDUPLICATED; 4534a70b7056fd4 Konstantin Komarov 2021-08-13 1005 } 4534a70b7056fd4 Konstantin Komarov 2021-08-13 1006 :::::: The code at line 1004 was first introduced by commit :::::: 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e fs/ntfs3: Add headers and misc files :::::: TO: Konstantin Komarov <[email protected]> :::::: CC: Konstantin Komarov <[email protected]> --- 0-DAY CI Kernel Test Service https://lists.01.org/hyperkitty/list/[email protected] _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
