Re: [PATCH] pata_hpt3x2n: fix writing to wrong register in hpt3x2n_bmdma_stop()

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

 



On 2/8/22 05:32, Sergey Shtylyov wrote:
> The driver's bmdma_stop() method writes to the wrong PCI config register
> (0x52 intead of 0x54) when trying to clear the state machine on secondary
> channel -- "luckily", the write falls on a read-only part of the primary
> channel MISC. control 1 register, so no collateral damage is done...
> 
> Alan Cox fixed the HPT37x driver in commit 6929da4427b4 ("[PATCH] hpt37x:
> Two important bug fixes") but forgot to check the HPT3x2N driver which has
> the same bug. :-/
> 
> Signed-off-by: Sergey Shtylyov <s.shtylyov@xxxxxx>

Applied to for-5.18 with commit message fixed. Please check. Thanks !


-- 
Damien Le Moal
Western Digital Research



[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