diff options
author | Linus Torvalds <torvalds@woody.osdl.org> | 2006-11-17 07:18:28 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-11-17 07:18:28 +0100 |
commit | 4be703906cffd5902028d20626e636ba21fb0b61 (patch) | |
tree | 23c51cca66244b688c10c3330638064377972743 /arch/x86_64 | |
parent | [PATCH] Fix radeon DDC regression (diff) | |
download | linux-4be703906cffd5902028d20626e636ba21fb0b61.tar.xz linux-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 'arch/x86_64')
0 files changed, 0 insertions, 0 deletions