]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: cec-funcs.h: cec_ops_report_features: set *dev_features to NULL
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 1 Aug 2017 11:53:30 +0000 (07:53 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 9 Aug 2017 13:36:13 +0000 (09:36 -0400)
commit79bcd34ccfe009ad21d16100ae2aef9b378a512d
treeb230654ad71b90bdf9465a91863f90e290fb6179
parent079c6eaf80d9fb6d9cea7ad71e590c8425c1b0fe
media: cec-funcs.h: cec_ops_report_features: set *dev_features to NULL

gcc can get confused by this code and it thinks dev_features can be
returned uninitialized. So initialize to NULL at the beginning to shut up
the warning.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
include/uapi/linux/cec-funcs.h