Re: [PATCH] pata_artop: fix "& (1 >>" typo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 10, 2006 at 10:52:46PM +0300, Alexey Dobriyan wrote:
> Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxxx>

Acked-by: Alan Cox <alan@xxxxxxxxxx>

> ---
> 
>  drivers/ata/pata_artop.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/drivers/ata/pata_artop.c
> +++ b/drivers/ata/pata_artop.c
> @@ -92,7 +92,7 @@ static int artop6260_pre_reset(struct at
>  		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;

-- 
    "People who choose variable names like htlbpagek SHOULD be sent to
             produce a street map of R'Lyeh.  On site."
			-- Al Viro
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux