On Friday 27 May 2016 21:57:29 Antonio Quartulli wrote: [...]
Do you think it makes more sense to keep the declaration and whitelist the function in your test ?
Yes, this is the right thing(tm) to do. I've already whitelisted it for the unused-symbol check :)
Otherwise sparse and smatch will scream that the non-static function has no declaration.
net/batman-adv/gateway_client.c:363:23: warning: symbol 'batadv_gw_node_get' was not declared. Should it be static?
Kind regards, Sven