]> git.baikalelectronics.ru Git - kernel.git/commit
Input: wistron_btns - switch to using kmemdup()
authorJulia Lawall <julia@diku.dk>
Wed, 19 May 2010 17:11:14 +0000 (10:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 19 May 2010 17:14:38 +0000 (10:14 -0700)
commitb961a4e56d57efa95ec7370de65ade98e08f0f69
tree259f14af19298ab2f6dcd5ff7dd3b645259fe975
parent0c3885db0eb98cdcc8630b09acb1f2b3911ceef8
Input: wistron_btns - switch to using kmemdup()

Use kmemdup when some other buffer is immediately copied into the
allocated region.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/wistron_btns.c