Staging: i4l: Return NULL instead of 0.
PATCH 1/1 Staging: i4l: Return NULL instead of 0.
Return NULL instead of 0,if card with given driverId is not found.
Signed-off-by Sandhya Bankar <[email protected]>
--- drivers/staging/i4l/act2000/module.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/i4l/act2000/module.c +1 -1
@@ -499,7 +499,7 @@ act2000_findcard(int driverid)return p; p = p->next; } -return (act2000_card *)0 ; +return NULL ; }/*
Signature · 1 line
1.7.1
Quoted 1 line · Sandhya Bankar
Return NULL instead of 0,if card with given driverId is not found.
Acked-by Julia Lawall <[email protected]>
But please add a space after the comma.
julia
Quoted 29 lines
Signed-off-by Sandhya Bankar <[email protected]>--- drivers/staging/i4l/act2000/module.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/staging/i4l/act2000/module.c +1
-2@@ -499,7 +499,7 @@ act2000_findcard(int driverid)return p; p = p->next; } -return (act2000_card *)0 ; +return NULL ; }/* -- 1.7.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20160917013054.GA14842%40sandhya.
For more options, visit https://groups.google.com/d/optout.