From: kernel test robot <lkp@intel.com>
To: Aswath Govindraju <a-govindraju@ti.com>
Cc: oe-kbuild-all@lists.linux.dev, vigneshr@ti.com, nm@ti.com
Subject: [ti:ti-linux-5.10.y-cicd 14828/22025] drivers/usb/typec/tps6598x.c:441:13: warning: variable 'ret' set but not used
Date: Fri, 7 Apr 2023 21:00:48 +0800 [thread overview]
Message-ID: <202304072030.scFj65p5-lkp@intel.com> (raw)
Hi Aswath,
FYI, the error/warning still remains.
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-linux-5.10.y-cicd
head: 991c5ce91e43cb620f534dc9fe7b0ad21f4f4388
commit: f29b24e22ea9fd8b14b3c02f0bb6d40791fcd93b [14828/22025] usb: typec: tps6598x: Add support for polling interrupts status when interrupt line is not connected
config: x86_64-randconfig-r026-20230403 (https://download.01.org/0day-ci/archive/20230407/202304072030.scFj65p5-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-linux-5.10.y-cicd
git checkout f29b24e22ea9fd8b14b3c02f0bb6d40791fcd93b
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/usb/typec/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304072030.scFj65p5-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/usb/typec/tps6598x.c: In function 'tps6598x_interrupt':
>> drivers/usb/typec/tps6598x.c:441:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
441 | int ret;
| ^~~
vim +/ret +441 drivers/usb/typec/tps6598x.c
437
438 static irqreturn_t tps6598x_interrupt(int irq, void *data)
439 {
440 struct tps6598x *tps = data;
> 441 int ret;
442
443 ret = tps6598x_handle_interrupt_status(tps);
444 return IRQ_HANDLED;
445 }
446
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-04-07 13: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=202304072030.scFj65p5-lkp@intel.com \
--to=lkp@intel.com \
--cc=a-govindraju@ti.com \
--cc=nm@ti.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=vigneshr@ti.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 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.