* [ti:ti-linux-5.10.y-cicd 14828/22025] drivers/usb/typec/tps6598x.c:441:13: warning: variable 'ret' set but not used
@ 2023-04-07 13:00 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-07 13:00 UTC (permalink / raw)
To: Aswath Govindraju; +Cc: oe-kbuild-all, vigneshr, nm
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-07 13:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-07 13:00 [ti:ti-linux-5.10.y-cicd 14828/22025] drivers/usb/typec/tps6598x.c:441:13: warning: variable 'ret' set but not used 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.