lkml.org 
[lkml]   [2004]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.10-rc2-mm2
On Thu, Nov 18, 2004 at 02:15:38AM -0800, Andrew Morton wrote:
> +parport_pc-config_pci=n-build-fix.patch
> parport build fix

This patch resolves the following warning by removing a const qualifier
conflicting with __setup's expected function type.

drivers/parport/parport_pc.c:3323: warning: initialization from incompatible pointer type


Index: mm2-2.6.10-rc2/drivers/parport/parport_pc.c
===================================================================
--- mm2-2.6.10-rc2.orig/drivers/parport/parport_pc.c 2004-11-18 02:55:03.000000000 -0800
+++ mm2-2.6.10-rc2/drivers/parport/parport_pc.c 2004-11-18 03:56:11.208617728 -0800
@@ -3155,8 +3155,8 @@
}

#ifdef CONFIG_PCI
-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);

if (!strcmp (str, "spp"))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.119 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site