Re: [PATCH] rt28xx: Make PCI_{MAP,UNMAP}_SINGLE type-safe

Greg KH
2010-04-28T17:50:07Z

On Mon, Mar 29, 2010 at 01:24:45AM +0100, Ben Hutchings wrote:
> To avoid recurrence of bugs such as <http://bugs.debian.org/575726>,
> change the type of the first parameter to linux_pci_{map,unmap}_single()
> from void * to struct rt_rtmp_adapter *. Also do not define the macros
> PCI_{MAP,UNMAP}_SINGLE() when building the rt2870sta driver; they are
> not used and if they were that would be a bug.
>
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

In the future, please do not sign your emails, it just makes it harder
to apply them :(

thanks,

greg k-h