public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Philip.Blundell@pobox.com, tim@cyberelk.net, akpm <akpm@osdl.org>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] parport: fix __setup function arg.
Date: Mon, 15 Nov 2004 11:42:23 -0800	[thread overview]
Message-ID: <4199069F.2060606@osdl.org> (raw)

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

fix function args warning:
drivers/parport/parport_pc.c:3317: warning: initialization from
incompatible pointer type

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

diffstat:=
   drivers/parport/parport_pc.c |    2 +-
   1 files changed, 1 insertion(+), 1 deletion(-)

-- 


[-- Attachment #2: parport_setup_const.patch --]
[-- Type: text/x-patch, Size: 570 bytes --]

diff -Naurp ./drivers/parport/parport_pc.c~parport_setup ./drivers/parport/parport_pc.c
--- ./drivers/parport/parport_pc.c~parport_setup	2004-11-15 09:18:58.423426672 -0800
+++ ./drivers/parport/parport_pc.c	2004-11-15 10:00:05.360395248 -0800
@@ -3154,7 +3154,7 @@ static int __init parport_parse_dma(cons
 				     PARPORT_DMA_NONE, PARPORT_DMA_NOFIFO);
 }
 
-static int __init parport_init_mode_setup(const char *str) {
+static int __init parport_init_mode_setup(char *str) {
 
 	printk(KERN_DEBUG "parport_pc.c: Specified parameter parport_init_mode=%s\n", str);
 


                 reply	other threads:[~2004-11-15 19:57 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=4199069F.2060606@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=Philip.Blundell@pobox.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tim@cyberelk.net \
    /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