All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-linux-intel-lts:5.10/preempt-rt 10974/15696] drivers/media/i2c/ar0234.c:2102:13: warning: no previous prototype for function 'ar0234_threaded_irq_fn'
@ 2021-09-03  6:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-03  6:02 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2692 bytes --]

Hi Ng,

First bad commit (maybe != root cause):

tree:   https://github.com/intel/linux-intel-lts.git 5.10/preempt-rt
head:   5972e7ec0c623b152e54aa4452a4cdcbfd27558a
commit: 2def42a616c1ceec2eb739c6befb6af42f6ee22c [10974/15696] Fix compile issue
config: arm-randconfig-r011-20210903 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c9948e9254fbb6ea00f66c7b4542311d21e060be)
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/intel/linux-intel-lts/commit/2def42a616c1ceec2eb739c6befb6af42f6ee22c
        git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
        git fetch --no-tags intel-linux-intel-lts 5.10/preempt-rt
        git checkout 2def42a616c1ceec2eb739c6befb6af42f6ee22c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/media/i2c/ar0234.c:1757:6: warning: unused variable 'val' [-Wunused-variable]
           u32 val;
               ^
>> drivers/media/i2c/ar0234.c:2102:13: warning: no previous prototype for function 'ar0234_threaded_irq_fn' [-Wmissing-prototypes]
   irqreturn_t ar0234_threaded_irq_fn(int irq, void *dev_id)
               ^
   drivers/media/i2c/ar0234.c:2102:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   irqreturn_t ar0234_threaded_irq_fn(int irq, void *dev_id)
   ^
   static 
   2 warnings generated.


vim +/ar0234_threaded_irq_fn +2102 drivers/media/i2c/ar0234.c

1aafb1e0df55278 Ng Khai Wen 2021-07-01  2101  
1aafb1e0df55278 Ng Khai Wen 2021-07-01 @2102  irqreturn_t ar0234_threaded_irq_fn(int irq, void *dev_id)
1aafb1e0df55278 Ng Khai Wen 2021-07-01  2103  {
1aafb1e0df55278 Ng Khai Wen 2021-07-01  2104  	return IRQ_HANDLED;
1aafb1e0df55278 Ng Khai Wen 2021-07-01  2105  }
1aafb1e0df55278 Ng Khai Wen 2021-07-01  2106  

:::::: The code at line 2102 was first introduced by commit
:::::: 1aafb1e0df5527884ad5ccb67ec95414df4d85f7 Add IPU driver

:::::: TO: Ng Khai Wen <khai.wen.ng@intel.com>
:::::: CC: Pan, Kris <kris.pan@intel.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37511 bytes --]

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

only message in thread, other threads:[~2021-09-03  6:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03  6:02 [intel-linux-intel-lts:5.10/preempt-rt 10974/15696] drivers/media/i2c/ar0234.c:2102:13: warning: no previous prototype for function 'ar0234_threaded_irq_fn' 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.