* [PATCH] i386 boot: fix inl() function
@ 2012-01-31 16:48 hchunhui
2012-01-31 19:13 ` [tip:x86/boot] x86, boot: Fix port argument to " tip-bot for hchunhui@mail.ustc.edu.cn
2012-01-31 20:16 ` tip-bot for He Chunhui
0 siblings, 2 replies; 3+ messages in thread
From: hchunhui @ 2012-01-31 16:48 UTC (permalink / raw)
To: hpa; +Cc: linux-kernel
"u32 port" in inl() should be "u16 port".
Signed-off-by: He Chunhui <hchunhui@mail.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));
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip:x86/boot] x86, boot: Fix port argument to inl() function
2012-01-31 16:48 [PATCH] i386 boot: fix inl() function hchunhui
@ 2012-01-31 19:13 ` tip-bot for hchunhui@mail.ustc.edu.cn
2012-01-31 20:16 ` tip-bot for He Chunhui
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for hchunhui@mail.ustc.edu.cn @ 2012-01-31 19:13 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, tglx, hpa, hchunhui
Commit-ID: b19c3206aa872e0562d67ad46bf3b3a59be956a7
Gitweb: http://git.kernel.org/tip/b19c3206aa872e0562d67ad46bf3b3a59be956a7
Author: hchunhui@mail.ustc.edu.cn <hchunhui@mail.ustc.edu.cn>
AuthorDate: Wed, 1 Feb 2012 00:48:28 +0800
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Tue, 31 Jan 2012 10:08:17 -0800
x86, boot: Fix port argument to inl() function
"u32 port" in inl() should be "u16 port".
[ hpa: it's a bug, but it doesn't produce incorrect code, so no need
to put this into urgent or stable. ]
Signed-off-by: He Chunhui <hchunhui@mail.ustc.edu.cn>
Link: http://lkml.kernel.org/r/32892299.2931391328028508117.JavaMail.coremail@mailweb
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
---
arch/x86/boot/boot.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/boot/boot.h b/arch/x86/boot/boot.h
index c7093bd..18997e5 100644
--- a/arch/x86/boot/boot.h
+++ b/arch/x86/boot/boot.h
@@ -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));
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [tip:x86/boot] x86, boot: Fix port argument to inl() function
2012-01-31 16:48 [PATCH] i386 boot: fix inl() function hchunhui
2012-01-31 19:13 ` [tip:x86/boot] x86, boot: Fix port argument to " tip-bot for hchunhui@mail.ustc.edu.cn
@ 2012-01-31 20:16 ` tip-bot for He Chunhui
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for He Chunhui @ 2012-01-31 20:16 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, tglx, hpa, hchunhui
Commit-ID: 35f1790e6c6a7e4cae57b616cf36444d27fa6b28
Gitweb: http://git.kernel.org/tip/35f1790e6c6a7e4cae57b616cf36444d27fa6b28
Author: He Chunhui <hchunhui@mail.ustc.edu.cn>
AuthorDate: Wed, 1 Feb 2012 00:48:28 +0800
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Tue, 31 Jan 2012 12:05:54 -0800
x86, boot: Fix port argument to inl() function
"u32 port" in inl() should be "u16 port".
[ hpa: it's a bug, but it doesn't produce incorrect code, so no need
to put this into urgent or stable. ]
Signed-off-by: He Chunhui <hchunhui@mail.ustc.edu.cn>
Link: http://lkml.kernel.org/r/32892299.2931391328028508117.JavaMail.coremail@mailweb
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
---
arch/x86/boot/boot.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/boot/boot.h b/arch/x86/boot/boot.h
index c7093bd..18997e5 100644
--- a/arch/x86/boot/boot.h
+++ b/arch/x86/boot/boot.h
@@ -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));
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-31 20:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-31 16:48 [PATCH] i386 boot: fix inl() function hchunhui
2012-01-31 19:13 ` [tip:x86/boot] x86, boot: Fix port argument to " tip-bot for hchunhui@mail.ustc.edu.cn
2012-01-31 20:16 ` tip-bot for He Chunhui
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).