Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 466464 Details for
Bug 603472
>=app-emulation/virtualbox-guest-additions-5.1.12 fails to build with kernel 4.9.0 - error: uninitialized const member in 'union atomic_read(const atomic_t*)::<anonymous>'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
void * cast with uintptr_t
0003-x86-asm-bitops.h.patch (text/plain), 855 bytes, created by
Joakim Tjernlund
on 2017-03-09 19:02:02 UTC
(
hide
)
Description:
void * cast with uintptr_t
Filename:
MIME Type:
Creator:
Joakim Tjernlund
Created:
2017-03-09 19:02:02 UTC
Size:
855 bytes
patch
obsolete
>From 504df062f3b7c7dc91e9efc483eb59cd54aa9c99 Mon Sep 17 00:00:00 2001 >From: Joakim Tjernlund <joakim.tjernlund@infinera.com> >Date: Thu, 9 Mar 2017 15:25:00 +0100 >Subject: [PATCH 3/4] x86: asm/bitops.h > >Replace void * cast with uintptr_t to do pointer arithmetic's >--- > arch/x86/include/asm/bitops.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/arch/x86/include/asm/bitops.h b/arch/x86/include/asm/bitops.h >index 8540227..b561304 100644 >--- a/arch/x86/include/asm/bitops.h >+++ b/arch/x86/include/asm/bitops.h >@@ -50,7 +50,7 @@ > * a mask operation on a byte. > */ > #define IS_IMMEDIATE(nr) (__builtin_constant_p(nr)) >-#define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3)) >+#define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((uintptr_t)(addr) + ((nr)>>3)) > #define CONST_MASK(nr) (1 << ((nr) & 7)) > > /** >-- >2.10.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 603472
:
457128
|
462468
|
464534
|
464536
|
466462
| 466464 |
466466