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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 22 Oct 2023 00:04:36 +0800
From: kernel test robot <lkp@...el.com>
To: Jiri Pirko <jiri@...nulli.us>, netdev@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev
Subject: Re: [patch net-next v3 08/10] netlink: specs: devlink: add the
 remaining command to generate complete split_ops

Hi Jiri,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Jiri-Pirko/genetlink-don-t-merge-dumpit-split-op-for-different-cmds-into-single-iter/20231021-192916
base:   net-next/main
patch link:    https://lore.kernel.org/r/20231021112711.660606-9-jiri%40resnulli.us
patch subject: [patch net-next v3 08/10] netlink: specs: devlink: add the remaining command to generate complete split_ops
reproduce: (https://download.01.org/0day-ci/archive/20231021/202310212326.u0Z0O9Hx-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310212326.u0Z0O9Hx-lkp@intel.com/

# many are suggestions rather than must-fix

WARNING:BRACES: braces {} are not necessary for single statement blocks
#4155: FILE: tools/net/ynl/generated/devlink-user.c:1244:
+		if (type == DEVLINK_ATTR_RELOAD_STATS_ENTRY) {
+			n_reload_stats_entry++;
+		}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#4222: FILE: tools/net/ynl/generated/devlink-user.c:1311:
+		if (type == DEVLINK_ATTR_DPIPE_MATCH) {
+			n_dpipe_match++;
+		}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#4272: FILE: tools/net/ynl/generated/devlink-user.c:1361:
+		if (type == DEVLINK_ATTR_DPIPE_ACTION) {
+			n_dpipe_action++;
+		}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#4322: FILE: tools/net/ynl/generated/devlink-user.c:1411:
+		if (type == DEVLINK_ATTR_DPIPE_MATCH_VALUE) {
+			n_dpipe_match_value++;
+		}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#4372: FILE: tools/net/ynl/generated/devlink-user.c:1461:
+		if (type == DEVLINK_ATTR_DPIPE_ACTION_VALUE) {
+			n_dpipe_action_value++;
+		}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#4422: FILE: tools/net/ynl/generated/devlink-user.c:1511:
+		if (type == DEVLINK_ATTR_DPIPE_FIELD) {
+			n_dpipe_field++;
+		}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#4471: FILE: tools/net/ynl/generated/devlink-user.c:1560:
+		if (type == DEVLINK_ATTR_RESOURCE) {
+			n_resource++;
+		}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#4754: FILE: tools/net/ynl/generated/devlink-user.c:1843:
+		if (type == DEVLINK_ATTR_RELOAD_ACTION_INFO) {
+			n_reload_action_info++;
+		}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#4803: FILE: tools/net/ynl/generated/devlink-user.c:1892:
+		if (type == DEVLINK_ATTR_DPIPE_TABLE) {
+			n_dpipe_table++;
+		}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#4852: FILE: tools/net/ynl/generated/devlink-user.c:1941:
+		if (type == DEVLINK_ATTR_DPIPE_ENTRY) {
+			n_dpipe_entry++;
+		}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#4901: FILE: tools/net/ynl/generated/devlink-user.c:1990:
+		if (type == DEVLINK_ATTR_DPIPE_HEADER) {
+			n_dpipe_header++;
+		}

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#9828: FILE: tools/net/ynl/generated/devlink-user.h:999:
+	struct devlink_sb_get_rsp obj __attribute__ ((aligned (8)));

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#9991: FILE: tools/net/ynl/generated/devlink-user.h:1129:
+	struct devlink_sb_pool_get_rsp obj __attribute__ ((aligned (8)));

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#10218: FILE: tools/net/ynl/generated/devlink-user.h:1356:
+	struct devlink_sb_port_pool_get_rsp obj __attribute__ ((aligned (8)));

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#10458: FILE: tools/net/ynl/generated/devlink-user.h:1596:
+	struct devlink_sb_tc_pool_bind_get_rsp obj __attribute__ ((aligned (8)));

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#11435: FILE: tools/net/ynl/generated/devlink-user.h:2573:
+	struct devlink_param_get_rsp obj __attribute__ ((aligned (8)));

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#11641: FILE: tools/net/ynl/generated/devlink-user.h:2779:
+	struct devlink_region_get_rsp obj __attribute__ ((aligned (8)));

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#11928: FILE: tools/net/ynl/generated/devlink-user.h:3066:
+	struct devlink_region_read_rsp_dump obj __attribute__ ((aligned (8)));

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#12011: FILE: tools/net/ynl/generated/devlink-user.h:3149:
+	struct devlink_port_param_get_rsp obj __attribute__ ((aligned (8)));

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#12144: FILE: tools/net/ynl/generated/devlink-user.h:3282:
+	struct devlink_info_get_rsp obj __attribute__ ((aligned (8)));

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#12294: FILE: tools/net/ynl/generated/devlink-user.h:3426:
+	struct devlink_health_reporter_get_rsp obj __attribute__ ((aligned (8)));

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#12719: FILE: tools/net/ynl/generated/devlink-user.h:3739:
+	struct devlink_health_reporter_dump_get_rsp_dump obj __attribute__ ((aligned (8)));

-- 
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