Files
twx-linux/include/linux
David Laight 7ed91c5560 minmax: allow comparisons of 'int' against 'unsigned char/short'
commit 4ead534fba upstream.

Since 'unsigned char/short' get promoted to 'signed int' it is safe to
compare them against an 'int' value.

Link: https://lkml.kernel.org/r/8732ef5f809c47c28a7be47c938b28d4@AcuMS.aculab.com
Signed-off-by: David Laight <david.laight@aculab.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit 4ead534fba)
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-27 10:46:15 +02:00
..
2023-07-23 13:46:54 +02:00
2024-01-25 14:52:51 -08:00
2022-08-17 14:23:11 +02:00
2022-10-26 12:35:12 +02:00
2024-07-05 09:14:50 +02:00
2023-12-20 15:17:37 +01:00
2023-03-30 12:47:50 +02:00
2024-04-10 16:19:07 +02:00
2024-07-05 09:14:12 +02:00
2022-08-17 14:24:08 +02:00
2024-04-10 16:18:55 +02:00
2022-07-12 16:35:08 +02:00
2023-11-20 11:08:16 +01:00
2024-04-10 16:18:40 +02:00
2024-04-10 16:19:00 +02:00
2023-08-26 14:23:39 +02:00
2024-01-25 14:52:33 -08:00
2024-02-23 08:54:47 +01:00
2024-06-16 13:39:27 +02:00
2023-11-28 16:56:21 +00:00
2023-10-19 23:05:33 +02:00
2023-10-19 23:05:33 +02:00
2022-07-12 16:35:08 +02:00
2024-07-05 09:14:11 +02:00
2023-12-13 18:36:35 +01:00
2022-07-29 17:25:32 +02:00