]> Pileus Git - ~andy/linux/blobdiff - drivers/scsi/scsi_scan.c
[PATCH] SCSI GFP fixes
[~andy/linux] / drivers / scsi / scsi_scan.c
index 287d197a7c17f8527668ee162361b9552f04d948..cca772624ae701ea8278ce770c10c8617e710c5e 100644 (file)
@@ -801,7 +801,7 @@ static int scsi_probe_and_add_lun(struct scsi_target *starget,
        if (!sreq)
                goto out_free_sdev;
        result = kmalloc(256, GFP_ATOMIC |
-                       (shost->unchecked_isa_dma) ? __GFP_DMA : 0);
+                       ((shost->unchecked_isa_dma) ? __GFP_DMA : 0));
        if (!result)
                goto out_free_sreq;