netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: netdev <netdev@oss.sgi.com>, jgarzik <jgarzik@pobox.com>
Subject: [PATCH] 3c515: fix module_param type
Date: Mon, 17 Jan 2005 21:07:00 -0800	[thread overview]
Message-ID: <41EC9974.1090209@osdl.org> (raw)

[-- 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;

                 reply	other threads:[~2005-01-18  5:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41EC9974.1090209@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=jgarzik@pobox.com \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).