arch/parisc/kernel/drivers.c:745:19-20: Unneeded semicolon

From: kernel test robot
Date: Mon Jan 22 2024 - 07:23:56 EST


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@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401222059.Wli6OGT0-lkp@xxxxxxxxx/

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