[dpdk-test-report] |WARNING| pw54597 [PATCH 03/29] net/sfc/base: fix shift by more bits than field width

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jun 13 15:54:00 CEST 2019


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/54597

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'sensor_mask[page]'
#44: FILE: drivers/net/sfc/base/mcdi_mon.c:76:
+		if (~(sensor_mask[page]) &
+		    (1U << (sensor % (sizeof (sensor_mask[page]) * 8))))

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#45: FILE: drivers/net/sfc/base/mcdi_mon.c:77:
+		    (1U << (sensor % (sizeof (sensor_mask[page]) * 8))))

total: 0 errors, 1 warnings, 1 checks, 9 lines checked


More information about the test-report mailing list