lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1175018047.16728.24.camel@dyn9047017100.beaverton.ibm.com>
Date:	Tue, 27 Mar 2007 09:54:07 -0800
From:	Badari Pulavarty <pbadari@...il.com>
To:	Andrew Morton <akpm@...ux-foundation.org>,
	dbrownell@...rs.sourceforge.net
Cc:	lkml <linux-kernel@...r.kernel.org>
Subject: Re: 2.6.21-rc5-mm1

On Mon, 2007-03-26 at 20:57 -0800, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc5/2.6.21-rc5-mm1/
> 
> 

  CC [M]  drivers/parport/parport_pc.o
In file included from drivers/parport/parport_pc.c:66:
include/asm/parport.h:18: error: conflicting types for
‘parport_pc_probe_port’
include/linux/parport_pc.h:234: error: previous declaration of
‘parport_pc_probe_port’ was here
drivers/parport/parport_pc.c:2379: error: conflicting types for
‘parport_pc_probe_port’
drivers/parport/parport_pc.c:2152: error: previous definition of
‘parport_pc_probe_port’ was here
drivers/parport/parport_pc.c: In function ‘sio_ite_8872_probe’:
drivers/parport/parport_pc.c:2509: warning: passing argument 5 of
‘parport_pc_probe_port’ from incompatible pointer type
drivers/parport/parport_pc.c: In function ‘sio_via_probe’:
drivers/parport/parport_pc.c:2692: warning: passing argument 5 of
‘parport_pc_probe_port’ from incompatible pointer type
drivers/parport/parport_pc.c: In function ‘parport_pc_pci_probe’:
drivers/parport/parport_pc.c:2990: warning: passing argument 5 of
‘parport_pc_probe_port’ from incompatible pointer type
drivers/parport/parport_pc.c: In function ‘parport_pc_pnp_probe’:
drivers/parport/parport_pc.c:3098: warning: passing argument 5 of
‘parport_pc_probe_port’ from incompatible pointer type
make[2]: *** [drivers/parport/parport_pc.o] Error 1
make[1]: *** [drivers/parport] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....


Patch that is causing the problem in -mm:
parport-dev-driver-model-support.patch


Here is the fix.

Thanks,
Badari

Signed-off-by: Badari Pulavarty <pbadari@...ibm.com>
---
 include/asm-powerpc/parport.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.21-rc5/include/asm-powerpc/parport.h
===================================================================
--- linux-2.6.21-rc5.orig/include/asm-powerpc/parport.h	2007-03-27 09:47:13.000000000 -0700
+++ linux-2.6.21-rc5/include/asm-powerpc/parport.h	2007-03-27 09:47:54.000000000 -0700
@@ -15,7 +15,7 @@
 extern struct parport *parport_pc_probe_port (unsigned long int base,
                                               unsigned long int base_hi,
                                               int irq, int dma,
-                                              struct pci_dev *dev);
+                                              struct device *dev);
 
 static int __devinit parport_pc_find_nonpci_ports (int autoirq, int autodma)
 {


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ