* Re: linux-next: Tree for August 10 (acpi/apei)
[not found] <20100810135601.4777e310.sfr@canb.auug.org.au>
@ 2010-08-10 17:02 ` Randy Dunlap
2010-08-11 1:32 ` Huang Ying
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2010-08-10 17:02 UTC (permalink / raw)
To: Stephen Rothwell, linux-acpi, Huang Ying; +Cc: linux-next, LKML
On Tue, 10 Aug 2010 13:56:01 +1000 Stephen Rothwell wrote:
> Hi all,
>
> As the merge window is open, please do not add 2.6.37 material to your
> linux-next included trees until after 2.6.36-rc1.
>
> Changes since 20100809:
on 32-bit i386:
drivers/acpi/apei/erst-dbg.c:106: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'ssize_t'
erst-dbg.c:(.text+0xede6d): undefined reference to `__get_user_X'
For the __get_user_X() call, in erst-dbg.c::erst_dbg_ioctl():
case APEI_ERST_CLEAR_RECORD:
rc = get_user(record_id, (u64 __user *)arg);
-> arch/x86/include/asm/uaccess.h:
#ifdef CONFIG_X86_32
#define __get_user_8(__ret_gu, __val_gu, ptr) \
__get_user_x(X, __ret_gu, __val_gu, ptr)
#else
#define __get_user_8(__ret_gu, __val_gu, ptr) \
__get_user_x(8, __ret_gu, __val_gu, ptr)
#endif
so is __get_user_8() not supported on X86_32?
or is this something else?
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: Tree for August 10 (acpi/apei)
2010-08-10 17:02 ` linux-next: Tree for August 10 (acpi/apei) Randy Dunlap
@ 2010-08-11 1:32 ` Huang Ying
0 siblings, 0 replies; 2+ messages in thread
From: Huang Ying @ 2010-08-11 1:32 UTC (permalink / raw)
To: Randy Dunlap
Cc: Stephen Rothwell, linux-acpi@vger.kernel.org,
linux-next@vger.kernel.org, LKML
On Wed, 2010-08-11 at 01:02 +0800, Randy Dunlap wrote:
> On Tue, 10 Aug 2010 13:56:01 +1000 Stephen Rothwell wrote:
>
> > Hi all,
> >
> > As the merge window is open, please do not add 2.6.37 material to your
> > linux-next included trees until after 2.6.36-rc1.
> >
> > Changes since 20100809:
>
>
> on 32-bit i386:
>
> drivers/acpi/apei/erst-dbg.c:106: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'ssize_t'
> erst-dbg.c:(.text+0xede6d): undefined reference to `__get_user_X'
>
> For the __get_user_X() call, in erst-dbg.c::erst_dbg_ioctl():
>
> case APEI_ERST_CLEAR_RECORD:
> rc = get_user(record_id, (u64 __user *)arg);
>
> -> arch/x86/include/asm/uaccess.h:
>
> #ifdef CONFIG_X86_32
> #define __get_user_8(__ret_gu, __val_gu, ptr) \
> __get_user_x(X, __ret_gu, __val_gu, ptr)
> #else
> #define __get_user_8(__ret_gu, __val_gu, ptr) \
> __get_user_x(8, __ret_gu, __val_gu, ptr)
> #endif
>
>
> so is __get_user_8() not supported on X86_32?
> or is this something else?
Will fix that via replacing get_user with copy_from_user for u64.
Best Regards,
Huang Ying
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-11 1:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20100810135601.4777e310.sfr@canb.auug.org.au>
2010-08-10 17:02 ` linux-next: Tree for August 10 (acpi/apei) Randy Dunlap
2010-08-11 1:32 ` Huang Ying
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox