From: kernel test robot <lkp@intel.com>
To: Michal Simek <monstr@monstr.eu>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org,
Hyun Kwon <hyun.kwon@xilinx.com>,
Wendy Liang <wendy.liang@xilinx.com>
Subject: [xilinx-xlnx:xlnx_rebase_v5.15_LTS 504/1197] drivers/uio/uio_xilinx_ai_engine.c:39:13: warning: variable 'irq' set but not used
Date: Sun, 26 Jun 2022 16:59:52 +0800 [thread overview]
Message-ID: <202206261647.mUkf8FqJ-lkp@intel.com> (raw)
Hi Michal,
FYI, the error/warning still remains.
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head: 1e67f149fb5eb4f5eb4e0d4f69194eac6d2497d7
commit: b5ba2242e583191fd0b0c75c614c87ae02a06cf3 [504/1197] uio: Add the UIO driver for AI engine
config: mips-allmodconfig
compiler: mips-linux-gcc (GCC) 11.3.0
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
# https://github.com/Xilinx/linux-xlnx/commit/b5ba2242e583191fd0b0c75c614c87ae02a06cf3
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS
git checkout b5ba2242e583191fd0b0c75c614c87ae02a06cf3
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/gpu/drm/xlnx/ drivers/media/platform/xilinx/ drivers/phy/xilinx/ drivers/staging/ drivers/uio/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/uio/uio_xilinx_ai_engine.c: In function 'xilinx_ai_engine_debugfs_write':
>> drivers/uio/uio_xilinx_ai_engine.c:39:13: warning: variable 'irq' set but not used [-Wunused-but-set-variable]
39 | int irq, ret;
| ^~~
vim +/irq +39 drivers/uio/uio_xilinx_ai_engine.c
33
34 static ssize_t xilinx_ai_engine_debugfs_write(struct file *f,
35 const char __user *buf,
36 size_t size, loff_t *pos)
37 {
38 struct irq_domain *irq_sim_domain = file_inode(f)->i_private;
> 39 int irq, ret;
40
41 irq = irq_find_mapping(irq_sim_domain, 1);
42 ret = irq_set_irqchip_state(1, IRQCHIP_STATE_PENDING, true);
43 if (ret)
44 return ret;
45
46 return size;
47 }
48
--
0-DAY CI Kernel Test Service
https://01.org/lkp
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
reply other threads:[~2022-06-26 9:01 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=202206261647.mUkf8FqJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=hyun.kwon@xilinx.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=monstr@monstr.eu \
--cc=wendy.liang@xilinx.com \
/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 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).