Skip to contentSkip to conversation

(7/27) *really* dumb typo in aacraid (cast to pointer to structure that doesn't exist ;-)

PATCH New Al Viro 1 participant 1 message Feb 2, 2005

Subsystems (2)
lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 (7/27) *really* dumb typo in aacraid (cast to pointer to structure that doesn't exist ;-)

spot the typo... It's harmless, in a sense that code compiles right,
but...

----

drivers/scsi/aacraid/aachba.c +1 -1
diff -urN RC11-rc2-bk10-rme9652/drivers/scsi/aacraid/aachba.c RC11-rc2-bk10-aacraid/drivers/scsi/aacraid/aachba.c
@@ -1047,7 +1047,7 @@
 			COMMAND_COMPLETE << 8 | SAM_STAT_GOOD;
 	else {
 		struct scsi_device *sdev = cmd->device;
-		struct aac_dev *dev = (struct aav_dev *)sdev->host->hostdata;
+		struct aac_dev *dev = (struct aac_dev *)sdev->host->hostdata;
 		u32 cid = ID_LUN_TO_CONTAINER(sdev->id, sdev->lun);
 		printk(KERN_WARNING 
 		     "synchronize_callback: synchronize failed, status = %d\n",