[PATCH] ata: sata_mv: fix mis-conversion in mv_write_cached_reg()
Tejun Heo
tj at kernel.org
Fri Jun 17 09:15:52 PDT 2016
On Tue, Jun 07, 2016 at 05:49:09PM +0100, Ben Dooks wrote:
> Fix the signed issue in mv_write_cached_reg() where the laddr
> is assigned from a (long)addr instead of (unsigned long)addr.
>
> Fixes the following warnings:
>
> drivers/ata/sata_mv.c:989:26: warning: cast removes address space of expression
> drivers/ata/sata_mv.c:989:26: warning: cast removes address space of expression
> drivers/ata/sata_mv.c:989:26: warning: cast removes address space of expression
> drivers/ata/sata_mv.c:989:26: warning: cast removes address space of expression
>
> Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
Applied to libata/for-4.7-fixes.
Thanks.
--
tejun
More information about the linux-arm-kernel
mailing list