Skip to content

drivers/ata/ahci.c warning: comparison between ‘enum <anonymous>’ and ‘enum <anonymous>’

René Bolldorf lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drivers/ata/ahci_platform.c Section mismatchdrivers/ata/ahci_platform.c+1 -10 replies
2/5arch/x86/kernel/head_32.S Warning: shift count out of range (32 is not between 0 and 31)arch/x86/kernel/head_32.S+1 -13 replies
3/5arch/x86/pci/legacy.c Section mismatcharch/x86/pci/legacy.c+1 -10 replies
4/5drivers/pci/pci.c Section mismatchdrivers/pci/pci.c+1 -14 replies
5/5drivers/video/vesafb.c Section mismatchdrivers/video/vesafb.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] drivers/ata/ahci.c warning: comparison between ‘enum <anonymous>’ and ‘enum <anonymous>’
drivers/ata/ahci.c +1 -1
index 108f2c6..f17b114 100644
@@ -998,7 +998,7 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 
 	VPRINTK("ENTER\n");
 
-	WARN_ON(ATA_MAX_QUEUE > AHCI_MAX_CMDS);
+	WARN_ON(ATA_MAX_QUEUE >= AHCI_MAX_CMDS);
 
 	if (!printed_version++)
 		dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n");