projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5bf24b
)
[PATCH] pata_artop: fix "& (1 >>" typo
author
Alexey Dobriyan
<adobriyan@openvz.org>
Fri, 10 Nov 2006 19:52:46 +0000
(22:52 +0300)
committer
Jeff Garzik
<jeff@garzik.org>
Tue, 14 Nov 2006 14:52:08 +0000
(09:52 -0500)
Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_artop.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/pata_artop.c
b/drivers/ata/pata_artop.c
index 690828eb5226e8d48a3c7f59cb39ab48ba4ae968..96a098020a8f743a6206370c74af03897ce54f36 100644
(file)
--- a/
drivers/ata/pata_artop.c
+++ b/
drivers/ata/pata_artop.c
@@
-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;