From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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'
Date: Fri, 03 Sep 2021 14:02:16 +0800 [thread overview]
Message-ID: <202109031408.WseisbtF-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-09-03 6:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202109031408.WseisbtF-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.