Alexey Dobriyan 1a58be6277 lib: memscan() fixlet
Generic version doesn't trucate second argument to char.

Older brother memchr() does as do s390, sparc and i386 assembly versions.

Fortunately, no code passes c >= 256.

Link: https://lkml.kernel.org/r/YLv4cCf0t5UPdyK+@localhost.localdomain
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-07-01 11:06:05 -07:00
..
2021-06-29 10:53:46 -07:00
2020-08-09 14:10:26 -07:00
2021-07-01 11:06:05 -07:00
2021-04-14 16:30:30 +03:00
2021-05-06 19:24:12 -07:00
2021-05-05 12:39:29 -07:00
2018-08-16 12:14:42 -07:00
2021-01-21 14:06:00 -07:00
2021-06-05 08:58:12 -07:00
2021-01-03 20:05:18 -05:00
2014-04-30 19:49:37 +01:00
2020-10-20 14:39:37 -07:00
2021-04-14 16:30:30 +03:00
2021-02-26 09:41:05 -08:00
2018-10-16 13:45:44 +02:00
2021-05-06 19:24:12 -07:00
2020-06-15 18:22:43 -07:00
2019-07-11 15:17:41 -07:00
2021-07-01 11:06:05 -07:00
2020-12-15 22:46:16 -08:00
2018-10-15 16:31:29 -04:00
2020-12-15 22:46:16 -08:00
2021-04-28 10:01:40 -07:00
2021-02-26 09:41:05 -08:00
2021-02-26 09:41:05 -08:00