]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:22 +0000 (10:39 -0700)
commit1607e7b7045c1dbd5072c6aabde7d9159ca39356
tree4488cdc5285ec0150d9a767e46f0bb71f3f26987
parent9304b81bd45689d9fac80ce689a36841aefeba33
dj: memory scribble in logi_dj

commit 8a55ade76551e3927b4e41ee9e7751875d18bc25 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-logitech-dj.c