This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/drivers/md
Geert Uytterhoeven 0d03d59d9b md: Fix "strchr" [drivers/md/dm-log-userspace.ko] undefined!
Commit b8313b6da7 ("dm log: remove incorrect
field from userspace table output") added a call to strstr() with a
single-character "needle" string parameter.

Unfortunately some versions of gcc replace such calls to strstr() by calls
to strchr() behind our back.  This causes linking errors if strchr() is
defined as an inline function in <asm/string.h> (e.g. on m68k):

| WARNING: "strchr" [drivers/md/dm-log-userspace.ko] undefined!

Avoid this by explicitly calling strchr() instead.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-09-10 14:55:01 -07:00
..
2009-06-22 10:12:26 +01:00
2009-06-22 10:12:36 +01:00
2009-04-09 00:27:17 +01:00
2009-09-04 20:40:25 +01:00
2009-06-22 10:12:29 +01:00
2009-09-04 20:40:25 +01:00
2009-06-22 10:12:35 +01:00
2009-06-22 10:12:35 +01:00
2009-08-10 12:50:52 +10:00
2009-03-31 14:57:37 +11:00