Re: [PATCH] pci: Return/dmesg errors when reading PCI ROMs

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

 



On Thursday, January 29, 2009 11:12 am Timothy S. Nelson wrote:
>  	This patch makes the ROM reading code return an error to user space if
> the size of the ROM read is equal to 0.
>
>  	The patch also emits dmesg-type warnings if the contents of the ROM are
> invalid, and documents the effects of the "enable" file on ROM reading.
>
>  	The Acked-by indicates that Alex indicated to Timothy by private e-mail
> that his contribution to the patch below is released under the appropriate
> license.
>
> Kernel version: 2.6.27
> Signed-off-by: Timothy S. Nelson <wayland@xxxxxxxxxxxxx>
> Acked-by: Alex Villacis-Lasso <a_villacis@xxxxxxxxxxxxx>

Thanks for being so tenacious here Timothy.  I applied this to my for-linus 
branch since I've heard several reports of people hitting this (I think in 
some cases X tries to read the rom before a driver is bound, which causes 
problems like you describe).

I updated the changelog and some of the documentation text a little though; 
hope it still makes sense to you.

-- 
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux