FreeBSD Bugzilla – Attachment 259480 Details for
Bug 286045
[iicbus] panic page fault on start by devd in L635: sc->intr_handler(sc->intr_ctx, sc->intr_buf, actual);
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v2
file_286045.txt (text/plain), 770 bytes, created by
Dave Cottlehuber
on 2025-04-11 23:37:17 UTC
(
hide
)
Description:
v2
Filename:
MIME Type:
Creator:
Dave Cottlehuber
Created:
2025-04-11 23:37:17 UTC
Size:
770 bytes
patch
obsolete
>From 2f8ea6473c2ece8387691a950b8f9e9ec7b8f8bf Mon Sep 17 00:00:00 2001 >From: Dave Cottlehuber <dch@FreeBSD.org> >Date: Fri, 11 Apr 2025 22:24:07 +0000 >Subject: [PATCH] iichid: panic > >--- > sys/dev/iicbus/iichid.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/sys/dev/iicbus/iichid.c b/sys/dev/iicbus/iichid.c >index b86858791a4d5c4ef790ce4ca0761a2af85a5142..88706ecf460c6f3ca6e8e317a28df220bdad0b97 100644 >--- a/sys/dev/iicbus/iichid.c >+++ b/sys/dev/iicbus/iichid.c >@@ -631,7 +631,7 @@ iichid_intr(void *context) > THREAD_NO_SLEEPING(); > if (error == 0) { > if (sc->power_on) { >- if (actual != 0) >+ if ((actual != 0) && (sc->intr_handler != NULL)) > sc->intr_handler(sc->intr_ctx, sc->intr_buf, > actual); > else
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 286045
:
259478
|
259479
| 259480