netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 3c515: fix module_param type
@ 2005-01-18  5:07 Randy.Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2005-01-18  5:07 UTC (permalink / raw)
  To: netdev, jgarzik

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

3c515: correct module_param data type (remove "const");

drivers/net/3c515.c:406: warning: return discards qualifiers from 
pointer target type
drivers/net/3c515.c:406: warning: initialization discards qualifiers 
from pointer target type

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>

diffstat:=
  drivers/net/3c515.c |    2 +-
  1 files changed, 1 insertion(+), 1 deletion(-)

---

[-- Attachment #2: 3c515_modprm.patch --]
[-- Type: text/x-patch, Size: 1004 bytes --]


3c515: correct module_param data type (remove "const");

drivers/net/3c515.c:406: warning: return discards qualifiers from pointer target type
drivers/net/3c515.c:406: warning: initialization discards qualifiers from pointer target type

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>

diffstat:=
 drivers/net/3c515.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp ./drivers/net/3c515.c~3c515_modprm ./drivers/net/3c515.c
--- ./drivers/net/3c515.c~3c515_modprm	2005-01-10 13:28:51.000000000 -0800
+++ ./drivers/net/3c515.c	2005-01-17 16:17:33.468358720 -0800
@@ -34,7 +34,7 @@ DRV_NAME ".c:v" DRV_VERSION " " DRV_RELD
 /* "Knobs" that adjust features and parameters. */
 /* Set the copy breakpoint for the copy-only-tiny-frames scheme.
    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. */
 static const int mtu = 1500;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-18  5:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-18  5:07 [PATCH] 3c515: fix module_param type Randy.Dunlap

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).