Skip to contentSkip to conversation

Brown Paper Bag for 2.1.18m

PATCH Matthew Wilcox 1 participant 1 message Oct 22, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Joel Soete noticed this brown paper bag bug in the 2.1.18m release. Please apply this patch on top of 2.1.18m.

Index: drivers/scsi/sym53c8xx_2/sym_glue.c
===================================================================
RCS file: /var/cvs/linux-2.6/drivers/scsi/sym53c8xx_2/sym_glue.c,v retrieving revision 1.69

drivers/scsi/sym53c8xx_2/sym_glue.c +1 -1
diff -u -p -r1.69 sym_glue.c
@@ -2308,7 +2308,7 @@ static void sym2_set_qas(struct scsi_tar
 	struct sym_hcb *np = ((struct host_data *)shost->hostdata)->ncb;
 	struct sym_tcb *tp = &np->target[starget->id];
 
-	if (starget)
+	if (qas)
 		tp->tinfo.goal.options |= PPR_OPT_QAS | PPR_OPT_DT;
 	else
 		tp->tinfo.goal.options &= ~PPR_OPT_QAS;
Signature · 6 lines
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain