commit | 6ff4a8ad4b6eae5171754fb60418bc81834aa09b | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert@linux-m68k.org> | Mon Dec 15 13:21:42 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 15 11:49:09 2014 -0500 |
tree | 901bd100a2583fcef6a3605d335f138f9b5e47ad | |
parent | 50262c8533a31edc9512c36fbd1ac224ddfee242 [diff] |
rds: Fix min() warning in rds_message_inc_copy_to_user() 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@linux-m68k.org> Signed-off-by: David S. Miller <davem@davemloft.net>