aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDee-Jay Anthony Logozzo <[email protected]>2021-08-11 23:41:32 +1000
committerGreg Kroah-Hartman <[email protected]>2021-08-12 10:21:50 +0200
commit959aabedcd91ba659e17191f1d3da96ceb1c4147 (patch)
tree2123536b97c732bf26810b5f42bd42c27f66ed77 /tools/perf/scripts/python
parent25ee7e89d45debc195cc8cec2483e07bbccd1472 (diff)
staging: gdm724x: Place macro argument within parentheses
Place the macro arguments within parentheses to avoid precedence issues. This solves the following checkpatch.pl warnings CHECK: Macro argument 'len' may be better as '(len)' to avoid precedence issues +#define ND_NLMSG_S_LEN(len) (len + ND_IFINDEX_LEN) CHECK: Macro argument 'nlh' may be better as '(nlh)' to avoid precedence issues +#define ND_NLMSG_R_LEN(nlh) (nlh->nlmsg_len - ND_IFINDEX_LEN) Signed-off-by: Dee-Jay Anthony Logozzo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions