artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b39b43
)
drm/amd/display: fix incorrrect valid irq check
author
jsg
<jsg@openbsd.org>
Mon, 19 Jul 2021 10:47:20 +0000
(10:47 +0000)
committer
jsg
<jsg@openbsd.org>
Mon, 19 Jul 2021 10:47:20 +0000
(10:47 +0000)
From Guchun Chen
b13574fa83ac55a9c3aa7f075ef5db62b444f7b5
in linux 5.10.y/5.10.51
e38ca7e422791a4d1c01e56dbf7f9982db0ed365
in mainline linux
sys/dev/pci/drm/amd/display/dc/irq_types.h
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/dc/irq_types.h
b/sys/dev/pci/drm/amd/display/dc/irq_types.h
index
d0ccd81
..
ad3e562
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/dc/irq_types.h
+++ b/
sys/dev/pci/drm/amd/display/dc/irq_types.h
@@
-163,7
+163,7
@@
enum irq_type
};
#define DAL_VALID_IRQ_SRC_NUM(src) \
- ((src) <
=
DAL_IRQ_SOURCES_NUMBER && (src) > DC_IRQ_SOURCE_INVALID)
+ ((src) < DAL_IRQ_SOURCES_NUMBER && (src) > DC_IRQ_SOURCE_INVALID)
/* Number of Page Flip IRQ Sources. */
#define DAL_PFLIP_IRQ_SRC_NUM \