2f4926723a
My thinking was that ulong is the same as size_t everywhere. No, size_t
is uint on 32bit. So the below commit introduced a build warning on
32bit:
.../gdm724x/gdm_tty.c:165:24: warning: comparison of distinct pointer types ('typeof (2048UL) *' (aka 'unsigned long *') and 'typeof (remain) *' (aka 'unsigned int *'))
To fix this, partially revert the commit (remove constants' suffixes)
and switch to min_t() in this case instead.
/me would hope for Z (or alike) suffix for constants.
Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
TODO | ||
gdm_endian.c | ||
gdm_endian.h | ||
gdm_lte.c | ||
gdm_lte.h | ||
gdm_mux.c | ||
gdm_mux.h | ||
gdm_tty.c | ||
gdm_tty.h | ||
gdm_usb.c | ||
gdm_usb.h | ||
hci.h | ||
hci_packet.h | ||
netlink_k.c | ||
netlink_k.h |