projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4d6983
)
Input: fix sparse warning in multitouch code
author
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Thu, 25 Oct 2012 06:53:01 +0000
(23:53 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Thu, 25 Oct 2012 07:11:52 +0000
(
00:11
-0700)
This fixes the following sparse warning:
drivers/input/input-mt.c:193:18: warning: Using plain integer as NULL pointer
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input-mt.c
patch
|
blob
|
history
diff --git
a/drivers/input/input-mt.c
b/drivers/input/input-mt.c
index c0ec7d42c3be05ffd574daec1870d44d560ed15a..bf2f30c025892f765288aaa25d296c925490f5ec 100644
(file)
--- a/
drivers/input/input-mt.c
+++ b/
drivers/input/input-mt.c
@@
-190,7
+190,7
@@
void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count)
if (!mt)
return;
- oldest =
0
;
+ oldest =
NULL
;
oldid = mt->trkid;
count = 0;