Home
last modified time | relevance | path

Searched hist:"8 c9e880bb98cba546ffaf97b85c5111f0aa86f79" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/usb/
H A Dusb-skeleton.cdiff 8c9e880bb98cba546ffaf97b85c5111f0aa86f79 Wed Sep 22 23:20:37 CEST 2021 Philipp Hortmann <philipp.g.hortmann@gmail.com> usb: usb-skeleton: Update min() to min_t()

This patch fixes the checkpatch.pl warning:
WARNING: min() should probably be min_t(size_t, count, MAX_TRANSFER)
+ size_t writesize = min(count, (size_t)MAX_TRANSFER);

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20210922212037.GA8110@matrix-ESPRIMO-P710
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>