Re: [PATCH net-next] wan: make driver strings const

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Wednesday, September 1, 2010 - 7:19 pm

From: David Miller <davem@davemloft.net>
Date: Wed, 01 Sep 2010 18:20:14 -0700 (PDT)


You may have "compile tested", but you certainly didn't watch out
for new warnings:

drivers/net/wan/cycx_drv.c: In function 'cycx_setup':
drivers/net/wan/cycx_drv.c:141:2: warning: passing argument 1 of 'get_option_index' discards qualifiers from pointer target type
drivers/net/wan/cycx_drv.c:76:12: note: expected 'long int *' but argument is of type 'const long int *'
drivers/net/wan/cycx_drv.c:151:2: warning: passing argument 1 of 'get_option_index' discards qualifiers from pointer target type
drivers/net/wan/cycx_drv.c:76:12: note: expected 'long int *' but argument is of type 'const long int *'

I've reverted your patch.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH net-next] wan: make driver strings const, Stephen Hemminger, (Wed Sep 1, 6:15 pm)
Re: [PATCH net-next] wan: make driver strings const, David Miller, (Wed Sep 1, 6:20 pm)
Re: [PATCH net-next] wan: make driver strings const, David Miller, (Wed Sep 1, 7:19 pm)
[PATCH net-next] wan: make driver strings const, Stephen Hemminger, (Thu Sep 2, 5:29 pm)
Re: [PATCH net-next] wan: make driver strings const, David Miller, (Mon Sep 6, 1:32 pm)