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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <32892299.2931391328028508117.JavaMail.coremail@mailweb>
Date:	Wed, 1 Feb 2012 00:48:28 +0800 (CST)
From:	hchunhui@...l.ustc.edu.cn
To:	hpa@...or.com
Cc:	linux-kernel@...r.kernel.org
Subject: [PATCH] i386 boot: fix inl() function


"u32 port" in inl() should be "u16 port".

Signed-off-by: He Chunhui <hchunhui@...l.ustc.edu.cn>
--- linux-3.3-rc1/arch/x86/boot/boot.h.orig	2012-01-31 23:49:15.858738690 +0800
+++ linux-3.3-rc1/arch/x86/boot/boot.h	2012-01-31 23:49:46.002072974 +0800
@@ -67,7 +67,7 @@ static inline void outl(u32 v, u16 port)
 {
 	asm volatile("outl %0,%1" : : "a" (v), "dN" (port));
 }
-static inline u32 inl(u32 port)
+static inline u32 inl(u16 port)
 {
 	u32 v;
 	asm volatile("inl %1,%0" : "=a" (v) : "dN" (port));
--
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