]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: netconsole: rename body to msg_body
authorBreno Leitao <leitao@debian.org>
Thu, 17 Oct 2024 09:50:19 +0000 (02:50 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 22 Oct 2024 13:44:24 +0000 (15:44 +0200)
commite1fa5d23b2c02f265f3111f4aa0a6b6b47da80a0
treed94368570f1436d3992731fe14a141833515930d
parente1e1ea2e78e8a7f326866b136b820d3ba73a8ba2
net: netconsole: rename body to msg_body

With the introduction of the userdata concept, the term body has become
ambiguous and less intuitive.

To improve clarity, body is renamed to msg_body, making it clear that
the body is not the only content following the header.

In an upcoming patch, the term body_len will also be revised for further
clarity.

The current packet structure is as follows:

release, header, body, [msg_body + userdata]

Here, [msg_body + userdata] collectively forms what is currently
referred to as "body." This renaming helps to distinguish and better
understand each component of the packet.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/netconsole.c