]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
docs: networking: can: change bcm_msg_head frames member to support flexible array
authorAlex Tran <alex.t.tran@gmail.com>
Thu, 4 Sep 2025 03:17:09 +0000 (20:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2025 14:37:36 +0000 (16:37 +0200)
commitf56cfc744a53def5fd2ae0fe898091a44b746519
tree1621df03257264862e1feb6721c5bc1e66e7d2f0
parentebfd979282d08ab2e6dfc4a05dfa7fc09648b465
docs: networking: can: change bcm_msg_head frames member to support flexible array

[ Upstream commit 641427d5bf90af0625081bf27555418b101274cd ]

The documentation of the 'bcm_msg_head' struct does not match how
it is defined in 'bcm.h'. Changed the frames member to a flexible array,
matching the definition in the header file.

See commit 94dfc73e7cf4 ("treewide: uapi: Replace zero-length arrays with
flexible-array members")

Signed-off-by: Alex Tran <alex.t.tran@gmail.com>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://patch.msgid.link/20250904031709.1426895-1-alex.t.tran@gmail.com
Fixes: 94dfc73e7cf4 ("treewide: uapi: Replace zero-length arrays with flexible-array members")
Link: https://bugzilla.kernel.org/show_bug.cgi?id=217783
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/networking/can.rst