Thread (2 messages) 2 messages, 2 authors, 2016-06-17
DORMANTno replies

Re: [PATCH] ata: sata_mv: fix mis-conversion in mv_write_cached_reg()

From: Tejun Heo <tj@kernel.org>
Date: 2016-06-17 16:15:52
Also in: linux-arm-kernel

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 <redacted>
Applied to libata/for-4.7-fixes.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help