RE: [PATCH] libata: fix DMA to stack in reading devslp_timing parameters

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

 



Hi David,

> Fix this by using ap->sector_buf instead of a stack buffer.
> 
> ---
> I'm somewhat ignorant, but it looks like this is kind of thing is what
> ap->sector_buf is *for*, right? And in ata_dev_configure() nobody else
> is likely to be using it?

Your fix is fine with me, thanks. I didn't notice this warning since
CONFIG_DMA_API_DEBUG was not set here.

Regards,
Shane

��.n��������+%������w��{.n�����{��'^�)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[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