public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [ambarus:hyperbus 1/7] drivers/mtd/hyperbus/hyperbus-sfdp.c:343:18: warning: no previous prototype for function 'hyperbus_sfdp_probe'
@ 2024-02-13 19:22 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-13 19:22 UTC (permalink / raw)
  To: Takahiro Kuwano; +Cc: llvm, oe-kbuild-all, Tudor Ambarus

tree:   https://github.com/ambarus/linux-0day hyperbus
head:   a15251683a61e8502ebc06584861bf9f5d84823b
commit: b6d1b619a848f5a304ae59ed71a414058e8d3013 [1/7] mtd: hyperbus: Introduce SFDP probe
config: arm-randconfig-004-20240213 (https://download.01.org/0day-ci/archive/20240214/202402140306.TBxeImg6-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240214/202402140306.TBxeImg6-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/202402140306.TBxeImg6-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/mtd/hyperbus/hyperbus-sfdp.c:6:
   In file included from include/linux/mtd/gen_probe.h:10:
   include/linux/mtd/flashchip.h:77:2: error: unknown type name 'wait_queue_head_t'
           wait_queue_head_t wq; /* Wait on here when we're waiting for the chip
           ^
>> drivers/mtd/hyperbus/hyperbus-sfdp.c:343:18: warning: no previous prototype for function 'hyperbus_sfdp_probe' [-Wmissing-prototypes]
   struct mtd_info *hyperbus_sfdp_probe(struct map_info *map)
                    ^
   drivers/mtd/hyperbus/hyperbus-sfdp.c:343:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   struct mtd_info *hyperbus_sfdp_probe(struct map_info *map)
   ^
   static 
   1 warning and 1 error generated.


vim +/hyperbus_sfdp_probe +343 drivers/mtd/hyperbus/hyperbus-sfdp.c

   342	
 > 343	struct mtd_info *hyperbus_sfdp_probe(struct map_info *map)

-- 
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-02-13 19:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-13 19:22 [ambarus:hyperbus 1/7] drivers/mtd/hyperbus/hyperbus-sfdp.c:343:18: warning: no previous prototype for function 'hyperbus_sfdp_probe' 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