]> git.baikalelectronics.ru Git - kernel.git/commit
dj: memory scribble in logi_dj
authorAlan Cox <alan@linux.intel.com>
Tue, 4 Sep 2012 14:10:08 +0000 (15:10 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 6 Sep 2012 02:37:08 +0000 (19:37 -0700)
commit4a01fd3f0e161b3211907ce21d5a3a29f029cb84
tree226d9bab2d98deed4484e9db0a1e5c800076ed1a
parent198f787bd81be4eef5276cc33a9630ddf1c08d93
dj: memory scribble in logi_dj

Allocate a structure not a pointer to it !

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hid/hid-logitech-dj.c