public inbox for [email protected]
 help / color / mirror / Atom feed
* [ammarfaizi2-block:axboe/linux-block/for-6.3/io_uring 55/57] io_uring/io_uring.c:2781:8: error: invalid application of 'sizeof' to an incomplete type 'struct io_async_msghdr'
@ 2023-02-21 22:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-21 22:49 UTC (permalink / raw)
  To: Breno Leitao
  Cc: llvm, oe-kbuild-all, Ammar Faizi, GNU/Weeb Mailing List,
	Jens Axboe

tree:   https://github.com/ammarfaizi2/linux-block axboe/linux-block/for-6.3/io_uring
head:   283f3cf5b56df54657cabe38af86cba578e88d5a
commit: b808f80118590c6f1ad17e7bb0dc7502cf02f473 [55/57] io_uring: Add KASAN support for alloc_caches
config: arm-randconfig-r013-20230219 (https://download.01.org/0day-ci/archive/20230222/[email protected]/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project db89896bbbd2251fff457699635acbbedeead27f)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://github.com/ammarfaizi2/linux-block/commit/b808f80118590c6f1ad17e7bb0dc7502cf02f473
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block axboe/linux-block/for-6.3/io_uring
        git checkout b808f80118590c6f1ad17e7bb0dc7502cf02f473
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> io_uring/io_uring.c:2781:8: error: invalid application of 'sizeof' to an incomplete type 'struct io_async_msghdr'
                               sizeof(struct io_async_msghdr));
                               ^     ~~~~~~~~~~~~~~~~~~~~~~~~
   io_uring/io_uring.c:2781:22: note: forward declaration of 'struct io_async_msghdr'
                               sizeof(struct io_async_msghdr));
                                             ^
   1 error generated.


vim +2781 io_uring/io_uring.c

  2777	
  2778		io_alloc_cache_free(&ctx->apoll_cache, io_apoll_cache_free,
  2779				    sizeof(struct async_poll));
  2780		io_alloc_cache_free(&ctx->netmsg_cache, io_netmsg_cache_free,
> 2781				    sizeof(struct io_async_msghdr));
  2782	}
  2783	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-21 22:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-21 22:49 [ammarfaizi2-block:axboe/linux-block/for-6.3/io_uring 55/57] io_uring/io_uring.c:2781:8: error: invalid application of 'sizeof' to an incomplete type 'struct io_async_msghdr' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox