OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c8e90d
)
irqchip/gic-v3-its: Fix misuse of GENMASK macro
author
Joe Perches
<joe@perches.com>
Wed, 10 Jul 2019 05:04:18 +0000
(22:04 -0700)
committer
Thomas Gleixner
<tglx@linutronix.de>
Wed, 10 Jul 2019 09:04:17 +0000
(11:04 +0200)
Arguments are supposed to be ordered high then low.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Link:
https://lkml.kernel.org/r/ab5deb4fc3cd604cb620054770b7d00016d736bc.1562734889.git.joe@perches.com
drivers/irqchip/irq-gic-v3-its.c
patch
|
blob
|
history
diff --git
a/drivers/irqchip/irq-gic-v3-its.c
b/drivers/irqchip/irq-gic-v3-its.c
index
3550080
..
730fbe0
100644
(file)
--- a/
drivers/irqchip/irq-gic-v3-its.c
+++ b/
drivers/irqchip/irq-gic-v3-its.c
@@
-185,7
+185,7
@@
static struct its_collection *dev_event_to_col(struct its_device *its_dev,
static struct its_collection *valid_col(struct its_collection *col)
{
- if (WARN_ON_ONCE(col->target_address & GENMASK_ULL(
0, 15
)))
+ if (WARN_ON_ONCE(col->target_address & GENMASK_ULL(
15, 0
)))
return NULL;
return col;