FreeBSD Bugzilla – Attachment 114801 Details for
Bug 156513
[aic7xxx] [patch] missing check of scb.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.18 KB, created by
henning.petersen
on 2011-04-20 08:20:08 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
henning.petersen
Created:
2011-04-20 08:20:08 UTC
Size:
1.18 KB
patch
obsolete
>diff -u -r1.42 aic79xx.c >--- sys/dev/aic7xxx/aic79xx.c 12 Mar 2011 20:36:52 -0000 1.42 >+++ sys/dev/aic7xxx/aic79xx.c 20 Apr 2011 06:56:47 -0000 >@@ -1062,7 +1062,6 @@ > struct scb *scb; > struct ahd_initiator_tinfo *targ_info; > struct ahd_tmode_tstate *tstate; >- struct ahd_transinfo *tinfo; > u_int scbid; > > /* >@@ -1096,7 +1095,6 @@ > devinfo.our_scsiid, > devinfo.target, > &tstate); >- tinfo = &targ_info->curr; > ahd_set_width(ahd, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, > AHD_TRANS_ACTIVE, /*paused*/TRUE); > ahd_set_syncrate(ahd, &devinfo, /*period*/0, >@@ -2262,7 +2260,6 @@ > found = ahd_abort_scbs(ahd, target, 'A', saved_lun, > tag, ROLE_INITIATOR, > CAM_REQ_ABORTED); >- printf("found == 0x%x\n", found); > printerror = 0; > } else if (ahd_sent_msg(ahd, AHDMSG_1B, > MSG_BUS_DEV_RESET, TRUE)) { >@@ -2406,7 +2403,8 @@ > */ > if (printerror != 0 > && (lastphase == P_MESGIN || lastphase == P_MESGOUT) >- && ((ahd->msg_flags & MSG_FLAG_EXPECT_PPR_BUSFREE) != 0)) { >+ && ((ahd->msg_flags & MSG_FLAG_EXPECT_PPR_BUSFREE) != 0) >+ && scb != NULL) { > > ahd_freeze_devq(ahd, scb); > aic_set_transaction_status(scb, CAM_REQUEUE_REQ);
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 156513
: 114801