summaryrefslogtreecommitdiff
path: root/drivers/video/cg3.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.osdl.org>2006-11-16 22:18:28 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-11-16 22:18:28 -0800
commit4be703906cffd5902028d20626e636ba21fb0b61 (patch)
tree23c51cca66244b688c10c3330638064377972743 /drivers/video/cg3.c
parent4f71c5de19c27f2198105d3b26b398494d5c353b (diff)
downloadlinux-3.10-4be703906cffd5902028d20626e636ba21fb0b61.tar.gz
linux-3.10-4be703906cffd5902028d20626e636ba21fb0b61.tar.bz2
linux-3.10-4be703906cffd5902028d20626e636ba21fb0b61.zip
Fix generic fb_ddc i2c edid probe msg
Benh points out that the msgs[0].flags entry never got initialized, and since it's an automatic stack allocation, it could have any random value, which is bad. Rewrite the initializer to explicitly initialize all fields of the small i2c_msg structure array we generate. Just to keep it all obvious, let's handle msgs[1].buf in the same initializer while we're at it, instead of initializing that one separately later. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/cg3.c')
0 files changed, 0 insertions, 0 deletions