* [sailus-media-tree:metadata 161/169] drivers/media/pci/intel/ipu6/ipu6-fw-isys.c:664:6: warning: variable 'source' set but not used
@ 2026-09-13 8:06 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-13 8:06 UTC (permalink / raw)
To: Sakari Ailus; +Cc: llvm, oe-kbuild-all, linux-media
tree: git://linuxtv.org/sailus/media_tree.git metadata
head: 357c2e168b861a3df80c68a9c44de9c9c282ec46
commit: 99f62d82955331605ec24226a734233f2d52c6e0 [161/169] media: ipu6: Bridge the gap between streams in V4L2 and IPU6 firmware
config: i386-randconfig-012-20260913 (https://download.01.org/0day-ci/archive/20260913/202609131638.i4iLw29I-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260913/202609131638.i4iLw29I-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609131638.i4iLw29I-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/media/pci/intel/ipu6/ipu6-fw-isys.c:664:6: warning: variable 'source' set but not used [-Wunused-but-set-variable]
664 | int source;
| ^
1 warning generated.
vim +/source +664 drivers/media/pci/intel/ipu6/ipu6-fw-isys.c
33f56ed128438d Antti Laakso 2026-08-27 658
33f56ed128438d Antti Laakso 2026-08-27 659 static void ipu6_isys_csi2_isr(struct ipu6_isys_csi2 *csi2)
33f56ed128438d Antti Laakso 2026-08-27 660 {
33f56ed128438d Antti Laakso 2026-08-27 661 struct ipu6_isys_stream *stream;
33f56ed128438d Antti Laakso 2026-08-27 662 unsigned int i;
33f56ed128438d Antti Laakso 2026-08-27 663 u32 status;
33f56ed128438d Antti Laakso 2026-08-27 @664 int source;
33f56ed128438d Antti Laakso 2026-08-27 665
33f56ed128438d Antti Laakso 2026-08-27 666 ipu6_isys_register_errors(csi2);
33f56ed128438d Antti Laakso 2026-08-27 667
33f56ed128438d Antti Laakso 2026-08-27 668 status = readl(csi2->base + CSI_PORT_REG_BASE_IRQ_CSI_SYNC +
33f56ed128438d Antti Laakso 2026-08-27 669 CSI_PORT_REG_BASE_IRQ_STATUS_OFFSET);
33f56ed128438d Antti Laakso 2026-08-27 670
33f56ed128438d Antti Laakso 2026-08-27 671 writel(status, csi2->base + CSI_PORT_REG_BASE_IRQ_CSI_SYNC +
33f56ed128438d Antti Laakso 2026-08-27 672 CSI_PORT_REG_BASE_IRQ_CLEAR_OFFSET);
33f56ed128438d Antti Laakso 2026-08-27 673
33f56ed128438d Antti Laakso 2026-08-27 674 source = csi2->asd.source;
33f56ed128438d Antti Laakso 2026-08-27 675 for (i = 0; i < NR_OF_CSI2_VC; i++) {
33f56ed128438d Antti Laakso 2026-08-27 676 if (status & IPU_CSI_RX_IRQ_FS_VC(i)) {
99f62d82955331 Sakari Ailus 2026-06-26 677 stream = csi2->streams_by_vc[i];
99f62d82955331 Sakari Ailus 2026-06-26 678 if (stream)
33f56ed128438d Antti Laakso 2026-08-27 679 ipu6_isys_csi2_sof_event_by_stream(stream);
33f56ed128438d Antti Laakso 2026-08-27 680 }
33f56ed128438d Antti Laakso 2026-08-27 681
33f56ed128438d Antti Laakso 2026-08-27 682 if (status & IPU_CSI_RX_IRQ_FE_VC(i)) {
99f62d82955331 Sakari Ailus 2026-06-26 683 stream = csi2->streams_by_vc[i];
99f62d82955331 Sakari Ailus 2026-06-26 684 if (stream)
33f56ed128438d Antti Laakso 2026-08-27 685 ipu6_isys_csi2_eof_event_by_stream(stream);
33f56ed128438d Antti Laakso 2026-08-27 686 }
33f56ed128438d Antti Laakso 2026-08-27 687 }
33f56ed128438d Antti Laakso 2026-08-27 688 }
33f56ed128438d Antti Laakso 2026-08-27 689
:::::: The code at line 664 was first introduced by commit
:::::: 33f56ed128438dd791b9114ad079ab188daa1c09 media: ipu6: Move isys isr handlers to fw file
:::::: TO: Antti Laakso <antti.laakso@linux.intel.com>
:::::: CC: Sakari Ailus <sakari.ailus@linux.intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-13 8:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-13 8:06 [sailus-media-tree:metadata 161/169] drivers/media/pci/intel/ipu6/ipu6-fw-isys.c:664:6: warning: variable 'source' set but not used kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox