git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50262c8
)
rds: Fix min() warning in rds_message_inc_copy_to_user()
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Mon, 15 Dec 2014 12:21:42 +0000
(13:21 +0100)
committer
David S. Miller
<davem@davemloft.net>
Mon, 15 Dec 2014 16:49:09 +0000
(11:49 -0500)
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>
No differences found