On Wed, Jul 12, 2017 at 08:40:01AM -0700, Chris Brandt wrote:
> The existing code gives an incorrect pointer value.
> The buffer pointer 'buf' was of type unsigned short *, and 'count' was a
> number in bytes. A cast of buf should have been used.
> 
> However, instead of casting, just change the code to use u32 pointers.
> 
> Reported-by: Dan Carpenter <[email protected]>
> Fixes: 8185e51f358a: ("mmc: tmio-mmc: add support for 32bit data port")
> Signed-off-by: Chris Brandt <[email protected]>
> Reviewed-by: Geert Uytterhoeven <[email protected]>

Acked-by: Wolfram Sang <[email protected]>

Attachment: signature.asc
Description: PGP signature

Reply via email to