]> git.baikalelectronics.ru Git - kernel.git/commit
ideapad: uninitialized data in ideapad_acpi_add()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Jun 2012 16:28:50 +0000 (19:28 +0300)
committerMatthew Garrett <mjg@redhat.com>
Tue, 26 Jun 2012 18:43:45 +0000 (14:43 -0400)
commit1b17e141f710cbcd9fc64d442ce296c39f855fb8
tree7e2f256a627966eca82c532aef92d6f32198608d
parent730aaee5c2b17f911a6899a934dded7eb0c4ec2c
ideapad: uninitialized data in ideapad_acpi_add()

We only initialize the high bits of "cfg".  It probably doesn't cause
a problem given that this is platform specific code and doesn't have to
worry about endianness etc.  But it's sort of messy.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/ideapad-laptop.c