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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <45EF502C.9090207@walsh.ws>
Date:	Wed, 07 Mar 2007 18:52:12 -0500
From:	Brian Walsh <brian@...sh.ws>
To:	linux-kernel@...r.kernel.org
CC:	Russell King <linux@....linux.org.uk>
Subject: [PATCH] include/asm-arm/arch-ixp4xx:  Consolidate check_signature

The check_signature function is now in linux/include/io.h.  This platform
was missed in the previous consolidation.

Signed-off-by:  Brian Walsh <brian@...sh.ws>


diff -ur a/include/asm-arm/arch-ixp4xx/io.h b/include/asm-arm/arch-ixp4xx/io.h
--- a/include/asm-arm/arch-ixp4xx/io.h	2007-03-07 14:59:47.000000000 -0500
+++ b/include/asm-arm/arch-ixp4xx/io.h	2007-03-07 14:58:54.000000000 -0500
@@ -238,23 +238,6 @@
 #define memcpy_fromio(a,c,l)		_memcpy_fromio((a),(c),(l))
 #define memcpy_toio(c,a,l)		_memcpy_toio((c),(a),(l))

-static inline int
-check_signature(const unsigned char __iomem *bus_addr, const unsigned char
*signature,
-		int length)
-{
-	int retval = 0;
-	do {
-		if (readb(bus_addr) != *signature)
-			goto out;
-		bus_addr++;
-		signature++;
-		length--;
-	} while (length);
-	retval = 1;
-out:
-	return retval;
-}
-
 #endif

 #ifndef CONFIG_PCI
-
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