llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [axboe-block:rw_iter /14] include/linux/nsc_gpio.h:34:36: warning: declaration of 'struct kiocb' will not be visible outside of this function
@ 2024-04-04 17:30 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-04 17:30 UTC (permalink / raw)
  To: Jens Axboe; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git rw_iter
head:   dc20900c9c15e7ca1961fe2d1eb50cc6938c5e78
commit: fe9c21429562ac632f44a86feb722e07aaa1c91e [/14] char: convert drivers to use ->read_iter() and ->write_iter()
config: i386-randconfig-002-20240404 (https://download.01.org/0day-ci/archive/20240405/202404050123.YcqUnDFc-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240405/202404050123.YcqUnDFc-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/oe-kbuild-all/202404050123.YcqUnDFc-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/leds/leds-net48xx.c:16:
>> include/linux/nsc_gpio.h:34:36: warning: declaration of 'struct kiocb' will not be visible outside of this function [-Wvisibility]
      34 | ssize_t nsc_gpio_write_iter(struct kiocb *iocb, struct iov_iter *from);
         |                                    ^
   include/linux/nsc_gpio.h:35:35: warning: declaration of 'struct kiocb' will not be visible outside of this function [-Wvisibility]
      35 | ssize_t nsc_gpio_read_iter(struct kiocb *iocb, struct iov_iter *to);
         |                                   ^
   2 warnings generated.


vim +34 include/linux/nsc_gpio.h

    33	
  > 34	ssize_t nsc_gpio_write_iter(struct kiocb *iocb, struct iov_iter *from);

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

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

only message in thread, other threads:[~2024-04-04 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-04 17:30 [axboe-block:rw_iter /14] include/linux/nsc_gpio.h:34:36: warning: declaration of 'struct kiocb' will not be visible outside of this function 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;
as well as URLs for NNTP newsgroup(s).