]> git.hungrycats.org Git - linux/commit
media: uapi/linux/cec.h: cec_msg_set_reply_to: zero flags
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 7 Aug 2024 07:22:10 +0000 (09:22 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 8 Aug 2024 13:23:21 +0000 (15:23 +0200)
commit599f6899051cb70c4e0aa9fd591b9ee220cb6f14
treea4c91f41461d9b5bfbac00ede88f24173c60a998
parente7311aa47a6ac355558bc65512aa7c381f8506ec
media: uapi/linux/cec.h: cec_msg_set_reply_to: zero flags

The cec_msg_set_reply_to() helper function never zeroed the
struct cec_msg flags field, this can cause unexpected behavior
if flags was uninitialized to begin with.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 0dbacebede1e ("[media] cec: move the CEC framework out of staging and to media")
Cc: <stable@vger.kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
include/uapi/linux/cec.h