summaryrefslogtreecommitdiff
path: root/arch/x86_64/lib/getuser.S
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 /arch/x86_64/lib/getuser.S
parent4f71c5de19c27f2198105d3b26b398494d5c353b (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/lib/getuser.S')
0 files changed, 0 insertions, 0 deletions