All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android17-6.18 4/4] fuse_test.c:1400:9: warning: argument 1 null where non-null expected
@ 2026-07-30  4:09 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-07-30  4:09 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence bisect report"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: cros-kernel-buildreports@googlegroups.com

tree:   https://android.googlesource.com/kernel/common android17-6.18
head:   5e9654c516d84286a1589d22470d9c4c04ed8507
commit: be926e6761d28d105ba672242e81e911e0d7e5e0 [4/4] ANDROID: fuse-bpf: fuse-bpf v1.3
:::::: branch date: 5 hours ago
:::::: commit date: 4 months ago
config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260730/202607300651.2HBiyC2w-lkp@intel.com/config)
compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260730/202607300651.2HBiyC2w-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@intel.com>
| Closes: https://lore.kernel.org/r/202607300651.2HBiyC2w-lkp@intel.com/

All warnings (new ones prefixed by >>):

   fuse_test.c: In function 'readdir_perms_test':
>> fuse_test.c:1400:9: warning: argument 1 null where non-null expected [-Wnonnull]
    1400 |         closedir(dir);
         |         ^~~~~~~~~~~~~
   In file included from test_fuse.h:13,
                    from fuse_test.c:7:
   /usr/aarch64-linux-gnu/include/dirent.h:134:12: note: in a call to function 'closedir' declared 'nonnull'
     134 | extern int closedir (DIR *__dirp) __nonnull ((1));
         |            ^~~~~~~~
   fuse_test.c: In function 'inotify_test':
>> fuse_test.c:1455:9: warning: 'dir.s' may be used uninitialized [-Wmaybe-uninitialized]
    1455 |         free(dir.s);
         |         ^~~~~~~~~~~
   fuse_test.c:1429:18: note: 'dir.s' was declared here
    1429 |         struct s dir;
         |                  ^~~
   In file included from test_fuse.h:11:
   fuse_test.c: In function 'bpf_test_revalidate_handle_backing_fd':
>> fuse_test.c:1889:27: warning: 'read' writing 11 bytes into a region of size 9 overflows the destination [-Wstringop-overflow=]
    1889 |                 TESTEQUAL(read(dst_content_fd, content_buffer, strlen(content)),
   test_framework.h:137:56: note: in definition of macro '_CALL_TO'
     137 |                                   (_type) (long long) (a),              \
         |                                                        ^
   test_framework.h:153:25: note: in expansion of macro 'TESTOPERATOR'
     153 | #define TESTEQUAL(a, b) TESTOPERATOR(a, b, _eq)
         |                         ^~~~~~~~~~~~
   fuse_test.c:1889:17: note: in expansion of macro 'TESTEQUAL'
    1889 |                 TESTEQUAL(read(dst_content_fd, content_buffer, strlen(content)),
         |                 ^~~~~~~~~
   fuse_test.c:1874:22: note: destination object 'content_buffer' of size 9
    1874 |                 char content_buffer[9] = {0};
         |                      ^~~~~~~~~~~~~~
   In file included from ../../kselftest.h:55,
                    from test_framework.h:26:
   /usr/aarch64-linux-gnu/include/unistd.h:371:16: note: in a call to function 'read' declared with attribute 'access (write_only, 2, 3)'
     371 | extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur
         |                ^~~~

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [android-common:android17-6.18 4/4] fuse_test.c:1400:9: warning: argument 1 null where non-null expected
@ 2026-07-30  4:58 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-07-30  4:58 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android17-6.18
head:   5e9654c516d84286a1589d22470d9c4c04ed8507
commit: be926e6761d28d105ba672242e81e911e0d7e5e0 [4/4] ANDROID: fuse-bpf: fuse-bpf v1.3
config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260730/202607300651.2HBiyC2w-lkp@intel.com/config)
compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260730/202607300651.2HBiyC2w-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@intel.com>
| Closes: https://lore.kernel.org/r/202607300651.2HBiyC2w-lkp@intel.com/

All warnings (new ones prefixed by >>):

   fuse_test.c: In function 'readdir_perms_test':
>> fuse_test.c:1400:9: warning: argument 1 null where non-null expected [-Wnonnull]
    1400 |         closedir(dir);
         |         ^~~~~~~~~~~~~
   In file included from test_fuse.h:13,
                    from fuse_test.c:7:
   /usr/aarch64-linux-gnu/include/dirent.h:134:12: note: in a call to function 'closedir' declared 'nonnull'
     134 | extern int closedir (DIR *__dirp) __nonnull ((1));
         |            ^~~~~~~~
   fuse_test.c: In function 'inotify_test':
>> fuse_test.c:1455:9: warning: 'dir.s' may be used uninitialized [-Wmaybe-uninitialized]
    1455 |         free(dir.s);
         |         ^~~~~~~~~~~
   fuse_test.c:1429:18: note: 'dir.s' was declared here
    1429 |         struct s dir;
         |                  ^~~
   In file included from test_fuse.h:11:
   fuse_test.c: In function 'bpf_test_revalidate_handle_backing_fd':
>> fuse_test.c:1889:27: warning: 'read' writing 11 bytes into a region of size 9 overflows the destination [-Wstringop-overflow=]
    1889 |                 TESTEQUAL(read(dst_content_fd, content_buffer, strlen(content)),
   test_framework.h:137:56: note: in definition of macro '_CALL_TO'
     137 |                                   (_type) (long long) (a),              \
         |                                                        ^
   test_framework.h:153:25: note: in expansion of macro 'TESTOPERATOR'
     153 | #define TESTEQUAL(a, b) TESTOPERATOR(a, b, _eq)
         |                         ^~~~~~~~~~~~
   fuse_test.c:1889:17: note: in expansion of macro 'TESTEQUAL'
    1889 |                 TESTEQUAL(read(dst_content_fd, content_buffer, strlen(content)),
         |                 ^~~~~~~~~
   fuse_test.c:1874:22: note: destination object 'content_buffer' of size 9
    1874 |                 char content_buffer[9] = {0};
         |                      ^~~~~~~~~~~~~~
   In file included from ../../kselftest.h:55,
                    from test_framework.h:26:
   /usr/aarch64-linux-gnu/include/unistd.h:371:16: note: in a call to function 'read' declared with attribute 'access (write_only, 2, 3)'
     371 | extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur
         |                ^~~~

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-30  4:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-30  4:09 [android-common:android17-6.18 4/4] fuse_test.c:1400:9: warning: argument 1 null where non-null expected kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-07-30  4:58 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.