aboutsummaryrefslogtreecommitdiffstats
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2016-02-17 17:42:28 +0000
committerMark Brown <[email protected]>2016-02-17 19:17:10 +0000
commitc8dab77a1f92095674e4d7fcb151cac4630e10f9 (patch)
tree7a885620fd52ee47c0cd2a99d98843f3c5d1d975 /lib/assoc_array.c
parentspi: core: Use %zu for printing 'size_t' type (diff)
downloadkernel-c8dab77a1f92095674e4d7fcb151cac4630e10f9.tar.gz
kernel-c8dab77a1f92095674e4d7fcb151cac4630e10f9.zip
spi: core: Use min_t(size_t,..)
Use min_t(size_t,..) in order to avoid the following build warning on ARM64: include/linux/kernel.h:754:17: warning: comparison of distinct pointer types lacks a cast (void) (&_min1 == &_min2); \ ^ drivers/spi/spi.c:2304:17: note: in expansion of macro 'min' xfers[0].len = min(maxsize, xfer[0].len); Suggested-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Martin Sperl <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions