lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: Mon, 22 Jan 2024 20:20:25 +0800
From: kernel test robot <lkp@...el.com>
To: Helge Deller <deller@....de>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: arch/parisc/kernel/drivers.c:745:19-20: Unneeded semicolon

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6613476e225e090cc9aad49be7fa504e290dd33d
commit: ac9fb7d2b71d8353603534a5e5cc92f54fd7e219 parisc: drivers: Fix kdoc warnings
date:   7 months ago
config: parisc-randconfig-r062-20240122 (https://download.01.org/0day-ci/archive/20240122/202401222059.Wli6OGT0-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 13.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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401222059.Wli6OGT0-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> arch/parisc/kernel/drivers.c:745:19-20: Unneeded semicolon

vim +745 arch/parisc/kernel/drivers.c

   720	
   721	/**
   722	 * parse_tree_node - returns a device entry in the iotree
   723	 * @parent: the parent node in the tree
   724	 * @index: the current BC index
   725	 * @modpath: the hardware_path struct to match a device against
   726	 * @return: The corresponding device if found, NULL otherwise.
   727	 *
   728	 * Checks all the children of @parent for a matching @id.  If none
   729	 * found, it returns NULL.
   730	 */
   731	static struct device *
   732	parse_tree_node(struct device *parent, int index, struct hardware_path *modpath)
   733	{
   734		struct parse_tree_data d = {
   735			.index          = index,
   736			.modpath        = modpath,
   737		};
   738	
   739		struct recurse_struct recurse_data = {
   740			.obj	= &d,
   741			.fn	= check_parent,
   742		};
   743	
   744		if (device_for_each_child(parent, &recurse_data, descend_children))
 > 745			{ /* nothing */ };
   746	
   747		return d.dev;
   748	}
   749	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ