* [patch 08/11] drivers/net/tokenring/3c359.c: squish a warning
@ 2008-05-14 23:20 akpm
2008-05-22 10:04 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2008-05-14 23:20 UTC (permalink / raw)
To: jeff; +Cc: netdev, akpm, greg
From: Andrew Morton <akpm@linux-foundation.org>
When dev_name() is changed to return `const char *':
drivers/net/tokenring/3c359.c: In function 'xl_probe':
drivers/net/tokenring/3c359.c:318: warning: assignment discards qualifiers from pointer target type
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/net/tokenring/3c359.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/net/tokenring/3c359.h~drivers-net-tokenring-3c359c-squish-a-warning drivers/net/tokenring/3c359.h
--- a/drivers/net/tokenring/3c359.h~drivers-net-tokenring-3c359c-squish-a-warning
+++ a/drivers/net/tokenring/3c359.h
@@ -264,7 +264,7 @@ struct xl_private {
u16 asb;
u8 __iomem *xl_mmio;
- char *xl_card_name;
+ const char *xl_card_name;
struct pci_dev *pdev ;
spinlock_t xl_lock ;
_
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [patch 08/11] drivers/net/tokenring/3c359.c: squish a warning
2008-05-14 23:20 [patch 08/11] drivers/net/tokenring/3c359.c: squish a warning akpm
@ 2008-05-22 10:04 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-05-22 10:04 UTC (permalink / raw)
To: akpm; +Cc: netdev, greg
akpm@linux-foundation.org wrote:
> From: Andrew Morton <akpm@linux-foundation.org>
>
> When dev_name() is changed to return `const char *':
>
> drivers/net/tokenring/3c359.c: In function 'xl_probe':
> drivers/net/tokenring/3c359.c:318: warning: assignment discards qualifiers from pointer target type
>
> Cc: Jeff Garzik <jeff@garzik.org>
> Cc: Greg KH <greg@kroah.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
> drivers/net/tokenring/3c359.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-22 10:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-14 23:20 [patch 08/11] drivers/net/tokenring/3c359.c: squish a warning akpm
2008-05-22 10:04 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).