artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5ec660
)
qcpdc(4)'s establish routine needs to return the wrapped cookie, not the
author
patrick
<patrick@openbsd.org>
Fri, 16 Dec 2022 18:08:08 +0000
(18:08 +0000)
committer
patrick
<patrick@openbsd.org>
Fri, 16 Dec 2022 18:08:08 +0000
(18:08 +0000)
cookie it received from establishing the interrupt.
sys/dev/fdt/qcpdc.c
patch
|
blob
|
history
diff --git
a/sys/dev/fdt/qcpdc.c
b/sys/dev/fdt/qcpdc.c
index
fb97237
..
c0068c1
100644
(file)
--- a/
sys/dev/fdt/qcpdc.c
+++ b/
sys/dev/fdt/qcpdc.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: qcpdc.c,v 1.
1 2022/11/10 12:12:53
patrick Exp $ */
+/* $OpenBSD: qcpdc.c,v 1.
2 2022/12/16 18:08:08
patrick Exp $ */
/*
* Copyright (c) 2022 Patrick Wildt <patrick@blueri.se>
*
@@
-205,7
+205,7
@@
qcpdc_intr_establish(void *aux, int *cells, int ipl,
HSET4(sc, PDC_INTR_ENABLE(pin), PDC_INTR_ENABLE_BIT(pin));
splx(s);
- return
cookie
;
+ return
ih
;
}
void