Commit 594315ad authored by Andrew Morton's avatar Andrew Morton Committed by Jeff Garzik

[PATCH] 3c515 warning fix

drivers/net/3c515.c: In function `__check_rx_copybreak':
drivers/net/3c515.c:406: warning: return discards qualifiers from pointer target type
drivers/net/3c515.c: At top level:
drivers/net/3c515.c:406: warning: initialization discards qualifiers from pointer target type
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
parent e5a7596e
...@@ -34,7 +34,7 @@ DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " becker@scyld.com and others\n"; ...@@ -34,7 +34,7 @@ DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " becker@scyld.com and others\n";
/* "Knobs" that adjust features and parameters. */ /* "Knobs" that adjust features and parameters. */
/* Set the copy breakpoint for the copy-only-tiny-frames scheme. /* Set the copy breakpoint for the copy-only-tiny-frames scheme.
Setting to > 1512 effectively disables this feature. */ Setting to > 1512 effectively disables this feature. */
static const int rx_copybreak = 200; static int rx_copybreak = 200;
/* Allow setting MTU to a larger size, bypassing the normal ethernet setup. */ /* Allow setting MTU to a larger size, bypassing the normal ethernet setup. */
static const int mtu = 1500; static const int mtu = 1500;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment