summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/aic7xxx/aic7xxx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx.c b/sys/dev/aic7xxx/aic7xxx.c
index e21b9a1..4f78801 100644
--- a/sys/dev/aic7xxx/aic7xxx.c
+++ b/sys/dev/aic7xxx/aic7xxx.c
@@ -3689,6 +3689,8 @@ ahc_fini_scbdata(struct ahc_softc *ahc)
struct scb_data *scb_data;
scb_data = ahc->scb_data;
+ if (scb_data == NULL)
+ return;
switch (scb_data->init_level) {
default:
OpenPOWER on IntegriCloud