projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
413059f
)
[PARISC] Minor iosapic.c cleanup
author
Grant Grundler
<grundler@parisc-linux.org>
Sat, 22 Oct 2005 02:47:04 +0000
(22:47 -0400)
committer
Kyle McMartin
<kyle@parisc-linux.org>
Sat, 22 Oct 2005 02:47:04 +0000
(22:47 -0400)
minor cleanup: qualify constant with "UL"
Acked-by: "Hmamouche, Youssef" <youssef@ece.utexas.edu>
Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
drivers/parisc/iosapic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/parisc/iosapic.c
b/drivers/parisc/iosapic.c
index 7a57c1b8373f04438a996f05242c8070651c481b..a39fbfef789a9ad6783d4da67f47eef6b4eb2d68 100644
(file)
--- a/
drivers/parisc/iosapic.c
+++ b/
drivers/parisc/iosapic.c
@@
-244,7
+244,7
@@
static struct irt_entry *iosapic_alloc_irt(int num_entries)
* 4-byte alignment on 32-bit kernels
*/
a = (unsigned long)kmalloc(sizeof(struct irt_entry) * num_entries + 8, GFP_KERNEL);
- a = (a + 7
) & ~7
;
+ a = (a + 7
UL) & ~7UL
;
return (struct irt_entry *)a;
}