]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
media: cec.h: initialize *parent and *port in cec_phys_addr_validate
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 31 Aug 2017 08:12:53 +0000 (04:12 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 23 Sep 2017 18:59:44 +0000 (14:59 -0400)
commit9267d90c564fc4ac7e51b922fa03107bb8c78739
treefb5ee473acecc359fa19f3ecce3ea25808a36d05
parent561b29e4ec8d0aac7e094f70d649ee4abccdda03
media: cec.h: initialize *parent and *port in cec_phys_addr_validate

Make sure these values are set to avoid 'uninitialized variable'
warnings. Hasn't happened yet, but better safe than sorry.

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