Replace sdev_id(cmd->device) with scmd_id(cmd). [patch too large for list, and is completely obvious] - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html