Skip to content

Commit

Permalink
[PATCH] pata_artop: fix "& (1 >>" typo
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Alexey Dobriyan authored and Jeff Garzik committed Nov 14, 2006
1 parent b5bf24b commit 3f9dd27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/pata_artop.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static int artop6260_pre_reset(struct ata_port *ap)
return -ENOENT;

pci_read_config_byte(pdev, 0x49, &tmp);
if (tmp & (1 >> ap->port_no))
if (tmp & (1 << ap->port_no))
ap->cbl = ATA_CBL_PATA40;
else
ap->cbl = ATA_CBL_PATA80;
Expand Down

0 comments on commit 3f9dd27

Please sign in to comment.