From: Daniel Baluta <redacted>
Make cgw_list static to remove the following sparse warning:
net/can/gw.c:69:1: warning: symbol 'cgw_list' was not declared.
Should it be static?
Signed-off-by: Daniel Baluta <redacted>
---
net/can/gw.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: Oliver Hartkopp <socketcan@hartkopp.net> Date: 2012-03-26 05:04:40
On 26.03.2012 01:05, dbaluta@ixiacom.com wrote:
From: Daniel Baluta <redacted>
Make cgw_list static to remove the following sparse warning:
net/can/gw.c:69:1: warning: symbol 'cgw_list' was not declared.
Should it be static?
Signed-off-by: Daniel Baluta <redacted>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Hello Daniel,
cgw_list is indeed only a local structure. Don't know why i didn't declare it
to be static. If it silences a sparse warning the better :-)
Thanks,
Oliver
From: Marc Kleine-Budde <mkl@pengutronix.de> Date: 2012-03-26 08:19:17
On 03/26/2012 01:05 AM, dbaluta@ixiacom.com wrote:
From: Daniel Baluta <redacted>
Make cgw_list static to remove the following sparse warning:
net/can/gw.c:69:1: warning: symbol 'cgw_list' was not declared.
Should it be static?
Signed-off-by: Daniel Baluta <redacted>
Thanks, applied to can-next.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
From: Oliver Hartkopp <socketcan@hartkopp.net> Date: 2012-04-03 16:00:45
On 26.03.2012 10:19, Marc Kleine-Budde wrote:
On 03/26/2012 01:05 AM, dbaluta@ixiacom.com wrote:
quoted
From: Daniel Baluta <redacted>
Make cgw_list static to remove the following sparse warning:
net/can/gw.c:69:1: warning: symbol 'cgw_list' was not declared.
Should it be static?
Signed-off-by: Daniel Baluta <redacted>
Thanks, applied to can-next.
Hi Marc,
it looks like that this patch is still sitting in can-next.
What about a pull request for Daves net-tree for 3.4-rc1 ?
Regards,
Oliver