git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
input
/
evbug.c
diff --git
a/drivers/input/evbug.c
b/drivers/input/evbug.c
index
07358fb
..
d782893
100644
(file)
--- a/
drivers/input/evbug.c
+++ b/
drivers/input/evbug.c
@@
-49,8
+49,9
@@
static struct input_handle *evbug_connect(struct input_handler *handler, struct
{
struct input_handle *handle;
{
struct input_handle *handle;
- if (!(handle = k
z
alloc(sizeof(struct input_handle), GFP_KERNEL)))
+ if (!(handle = k
m
alloc(sizeof(struct input_handle), GFP_KERNEL)))
return NULL;
return NULL;
+ memset(handle, 0, sizeof(struct input_handle));
handle->dev = dev;
handle->handler = handler;
handle->dev = dev;
handle->handler = handler;