summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2024-10-17 02:50:20 -0700
committerPaolo Abeni <pabeni@redhat.com>2024-10-22 15:44:24 +0200
commit606994ad2695ca3ffcab3494d7782c45d964c6f7 (patch)
treef6a11a2a7f088213b8caffa032a41d84245711a7 /tools/perf
parente1fa5d23b2c02f265f3111f4aa0a6b6b47da80a0 (diff)
net: netconsole: introduce variable to track body length
This new variable tracks the total length of the data to be sent, encompassing both the message body (msgbody) and userdata, which is collectively called body. By explicitly defining body_len, the code becomes clearer and easier to reason about, simplifying offset calculations and improving overall readability of the function. Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions