From: David Miller <[EMAIL PROTECTED]>
Date: Thu, 29 Mar 2007 19:03:17 -0700 (PDT)

> From: Andrew Morton <[EMAIL PROTECTED]>
> Date: Thu, 29 Mar 2007 18:37:30 -0700
> 
> > drivers/net/3c523.c: In function 'elmc_send_packet':
> > drivers/net/3c523.c:1148: warning: passing argument 2 of 
> > 'skb_copy_from_linear_data' discards qualifiers from pointer target type
> > drivers/net/ni52.c: In function 'ni52_send_packet':
> > drivers/net/ni52.c:1185: warning: passing argument 2 of 
> > 'skb_copy_from_linear_data' discards qualifiers from pointer target type
> 
> We should probably mark the "to" argument to skb_copy_from_linear_data()
> as const, I'll take care of that.
> 
> Thanks for the report.

My bad, what's going on in the first case is the driver
has "volatile disease".  I'll add back the (char *) cast
that was in the original memcpy().
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to