[PATCH] hp drivers/input stuff: C99 initializers, NULL noise removal, __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@@ -310,7 +310,7 @@ static void hp_sdc_tasklet(unsigned long foo) {
|
||||
* in tasklet/bh context.
|
||||
*/
|
||||
if (curr->act.irqhook)
|
||||
curr->act.irqhook(0, 0, 0, 0);
|
||||
curr->act.irqhook(0, NULL, 0, 0);
|
||||
}
|
||||
curr->actidx = curr->idx;
|
||||
curr->idx++;
|
||||
@@ -525,7 +525,7 @@ actdone:
|
||||
up(curr->act.semaphore);
|
||||
}
|
||||
else if (act & HP_SDC_ACT_CALLBACK) {
|
||||
curr->act.irqhook(0,0,0,0);
|
||||
curr->act.irqhook(0,NULL,0,0);
|
||||
}
|
||||
if (curr->idx >= curr->endidx) { /* This transaction is over. */
|
||||
if (act & HP_SDC_ACT_DEALLOC) kfree(curr);
|
||||
|
Reference in New Issue
Block a user