summaryrefslogtreecommitdiffstats
path: root/drivers/clk/ux500
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2014-04-13 20:46:21 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-13 23:10:26 +0200
commite686bd8dc55ebd605b792632c415481fbc952458 (patch)
treefd50e93b4abb666d111d61f6543c20ee6e61557b /drivers/clk/ux500
parentMerge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/pen... (diff)
downloadlinux-e686bd8dc55ebd605b792632c415481fbc952458.tar.xz
linux-e686bd8dc55ebd605b792632c415481fbc952458.zip
cifs: Use min_t() when comparing "size_t" and "unsigned long"
On 32 bit, size_t is "unsigned int", not "unsigned long", causing the following warning when comparing with PAGE_SIZE, which is always "unsigned long": fs/cifs/file.c: In function ‘cifs_readdata_to_iov’: fs/cifs/file.c:2757: warning: comparison of distinct pointer types lacks a cast Introduced by commit 7f25bba819a3 ("cifs_iovec_read: keep iov_iter between the calls of cifs_readdata_to_iov()"), which changed the signedness of "remaining" and the code from min_t() to min(). Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/clk/ux500')
0 files changed, 0 insertions, 0 deletions