Re: [PATCH 1/2] char: hide sparse expensive pointer subtraction warning in specialix.c

2008-02-22 Thread Joe Perches
On Fri, 2008-02-22 at 10:34 -0800, Harvey Harrison wrote: > Andrew, take it or leave it, I just did this to make it easier to look at the > other > sparse issuesbut without this sparse produces > 100 of these warnings for > this > file. > > drivers/char/specialix.c |6 +++--- > 1 files

[PATCH 1/2] char: hide sparse expensive pointer subtraction warning in specialix.c

2008-02-22 Thread Harvey Harrison
The warnings come from two static inlines so the ugliness in hiding them is well contained. drivers/char/specialix.c:238:19: warning: potentially expensive pointer subtraction drivers/char/specialix.c:245:19: warning: potentially expensive pointer subtraction Signed-off-by: Harvey Harrison

[PATCH 1/2] char: hide sparse expensive pointer subtraction warning in specialix.c

2008-02-22 Thread Harvey Harrison
The warnings come from two static inlines so the ugliness in hiding them is well contained. drivers/char/specialix.c:238:19: warning: potentially expensive pointer subtraction drivers/char/specialix.c:245:19: warning: potentially expensive pointer subtraction Signed-off-by: Harvey Harrison

[PATCH 1/2] char: hide sparse expensive pointer subtraction warning in specialix.c

2008-02-22 Thread Harvey Harrison
The warnings come from two static inlines so the ugliness in hiding them is well contained. drivers/char/specialix.c:238:19: warning: potentially expensive pointer subtraction drivers/char/specialix.c:245:19: warning: potentially expensive pointer subtraction Signed-off-by: Harvey Harrison

[PATCH 1/2] char: hide sparse expensive pointer subtraction warning in specialix.c

2008-02-22 Thread Harvey Harrison
The warnings come from two static inlines so the ugliness in hiding them is well contained. drivers/char/specialix.c:238:19: warning: potentially expensive pointer subtraction drivers/char/specialix.c:245:19: warning: potentially expensive pointer subtraction Signed-off-by: Harvey Harrison

Re: [PATCH 1/2] char: hide sparse expensive pointer subtraction warning in specialix.c

2008-02-22 Thread Joe Perches
On Fri, 2008-02-22 at 10:34 -0800, Harvey Harrison wrote: Andrew, take it or leave it, I just did this to make it easier to look at the other sparse issuesbut without this sparse produces 100 of these warnings for this file. drivers/char/specialix.c |6 +++--- 1 files changed,