Re: [PATCH] pata_jmicron: fix disabled port handling in jmicron_pre_reset()

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

 



Tejun Heo wrote:
> There are two bugs in disabled port handling.
> 
> * test in PORT_PATA0 is reversed
> * ->prereset should return -ENOENT for disabled ports not 0
> 
> The first bug makes the PATA channel considered disabled but the
> second bug saves the day by returning 0.  The net result is that cable
> is always left at ATA_CBL_UNKNOWN.  This results in false 80c
> configuration and thus transfer errors.
> 
> This patch fixes both bugs.
> 
> Signed-off-by: Tejun Heo <htejun@xxxxxxxxx>

Jeff, this wasn't pushed to Linus.  Can you please put this into
#upstream-fixes?

Thanks.

-- 
tejun
-
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