[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141215.114923.1022314440021305631.davem@davemloft.net>
Date: Mon, 15 Dec 2014 11:49:23 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: geert@...ux-m68k.org
Cc: viro@...iv.linux.org.uk, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rds: Fix min() warning in
rds_message_inc_copy_to_user()
From: Geert Uytterhoeven <geert@...ux-m68k.org>
Date: Mon, 15 Dec 2014 13:21:42 +0100
> net/rds/message.c: In function ‘rds_message_inc_copy_to_user’:
> net/rds/message.c:328: warning: comparison of distinct pointer types lacks a cast
>
> Use min_t(unsigned long, ...) like is done in
> rds_message_copy_from_user().
>
> Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
Also applied, thanks Geert.
Powered by blists - more mailing lists