diff options
author | Linus Torvalds <torvalds@woody.osdl.org> | 2006-11-16 22:18:28 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-11-16 22:18:28 -0800 |
commit | 4be703906cffd5902028d20626e636ba21fb0b61 (patch) | |
tree | 23c51cca66244b688c10c3330638064377972743 /arch/x86_64 | |
parent | 4f71c5de19c27f2198105d3b26b398494d5c353b (diff) |
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 'arch/x86_64')
0 files changed, 0 insertions, 0 deletions