]> git.baikalelectronics.ru Git - kernel.git/commit
WMI: simplify handling of returned WMI blocks in parse_wdg()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 26 Aug 2010 07:15:09 +0000 (00:15 -0700)
committerMatthew Garrett <mjg@redhat.com>
Thu, 21 Oct 2010 13:36:47 +0000 (09:36 -0400)
commitabe4a400b56de1261cb87887bc4afb7b4ad5b46b
treec32dbd4988e1e51bbbff88fa8e20221492b34c06
parent77b83e006cae3b547cdd434d37a28d94de6945fe
WMI: simplify handling of returned WMI blocks in parse_wdg()

There is no reason why we allocate memory and copy data into an
intermediate buffer, it is not like we are working with data coming
from userspace.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/wmi.c