Searched hist:"79 bcd34c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/include/uapi/linux/ |
H A D | cec-funcs.h | 79bcd34c Tue Aug 01 06:53:30 CDT 2017 Hans Verkuil <hverkuil@xs4all.nl> 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> 79bcd34c Tue Aug 01 06:53:30 CDT 2017 Hans Verkuil <hverkuil@xs4all.nl> 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>
|