All of lore.kernel.org
 help / color / mirror / Atom feed
* [frank-w-bpi-r2-4.14:7.2-main 214/214] drivers/net/ethernet/mediatek/mtk_eth_dbg.c:1003:4-5: Unneeded semicolon
@ 2026-09-26  1:50 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-26  1:50 UTC (permalink / raw)
  To: Frank Wunderlich; +Cc: oe-kbuild-all

tree:   https://github.com/frank-w/BPI-R2-4.14 7.2-main
head:   27e8d41a42f73cb2b271df0e897e25224889f6d0
commit: ec42a170885c381733f406d05265ccea08e9dca0 [214/214] net: mediatek: add proprietary debugfs
config: sparc64-randconfig-r2104-20260925 (https://download.01.org/0day-ci/archive/20260926/202609260328.5En1DMgN-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 15.2.0

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/202609260328.5En1DMgN-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> drivers/net/ethernet/mediatek/mtk_eth_dbg.c:1003:4-5: Unneeded semicolon

vim +1003 drivers/net/ethernet/mediatek/mtk_eth_dbg.c

   990	
   991	static void dump_each_port(struct seq_file *seq, struct mtk_eth *eth, u32 base)
   992	{
   993		u32 pkt_cnt = 0;
   994		int i = 0;
   995	
   996		for (i = 0; i < 7; i++) {
   997			if (mtk_is_netsys_v3_or_greater(eth)) {
   998				if ((base == 0x402C) && (i == 6))
   999					base = 0x408C;
  1000				else if ((base == 0x408C) && (i == 6))
  1001					base = 0x402C;
  1002				else {
> 1003				};
  1004			}
  1005			pkt_cnt = mt7530_mdio_r32(eth, (base) + (i * 0x100));
  1006			seq_printf(seq, "%8u ", pkt_cnt);
  1007		}
  1008		seq_puts(seq, "\n");
  1009	}
  1010	

--
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-26  1:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-26  1:50 [frank-w-bpi-r2-4.14:7.2-main 214/214] drivers/net/ethernet/mediatek/mtk_eth_dbg.c:1003:4-5: Unneeded semicolon 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.