[PATCH] staging: visorchipset: fix sparse warnings about static declaration

2014-08-01 Thread Vincent Bernat
Some functions were prototyped as static but the actual definition wasn't. While this is valid (the function is static because the two declarations don't conflict and the first one is static), this makes sparse unhappy and cause confusion of normal people too. Signed-off-by: Vincent Bernat --- .

Re: [PATCH] staging: visorchipset: fix sparse warnings about static declaration

2014-08-01 Thread Greg Kroah-Hartman
On Fri, Aug 01, 2014 at 10:10:22AM +0200, Vincent Bernat wrote: > Some functions were prototyped as static but the actual definition > wasn't. While this is valid (the function is static because the two > declarations don't conflict and the first one is static), this makes > sparse unhappy and caus

[PATCH] staging: visorchipset: fix sparse warnings about static declaration

2014-08-01 Thread Vincent Bernat
Some functions were prototyped as static but the actual definition wasn't. While this is valid (the function is static because the two declarations don't conflict and the first one is static), this makes sparse unhappy and cause confusion of normal people too. Signed-off-by: Vincent Bernat --- .

[PATCH] staging: visorchipset: fix sparse warnings about static declaration

2014-07-27 Thread Vincent Bernat
Some functions were prototyped as static but the actual definition wasn't. While this is valid (the function is static because the two declarations don't conflict and the first one is static), this makes sparse unhappy and cause confusion of normal people too. Signed-off-by: Vincent Bernat --- .