]> git.itanic.dy.fi Git - linux-stable/commit
media: vde: Use struct_size()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 7 Oct 2023 13:50:02 +0000 (15:50 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 23 Nov 2023 12:33:38 +0000 (13:33 +0100)
commitaebe6f055d9f0e82a61ffb7c5c45f6c3af54b76b
tree3fba0d06bbde7cb972cd6bd34b1c3e184e66ee1a
parent26846dda3eca07cbb8dd481421ae52b31ef232d5
media: vde: Use struct_size()

Use struct_size() which is much more common than this offsetof().

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/nvidia/tegra-vde/v4l2.c