summaryrefslogtreecommitdiffstats
path: root/mm/migrate_device.c
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-11-16 18:26:34 +0000
committerAndrew Morton <akpm@linux-foundation.org>2022-11-22 18:50:43 -0800
commit50c697215a8cc22f0e58c88f06f2716c05a26e85 (patch)
treea3f0e2ab73ff1a53f7be042d915a353525de87c9 /mm/migrate_device.c
parentdb8e0998c35af67bceee91cad8acf3f6f330782f (diff)
downloadlinux-50c697215a8cc22f0e58c88f06f2716c05a26e85.tar.gz
linux-50c697215a8cc22f0e58c88f06f2716c05a26e85.tar.bz2
linux-50c697215a8cc22f0e58c88f06f2716c05a26e85.zip
kbuild: fix -Wimplicit-function-declaration in license_is_gpl_compatible
Add missing <linux/string.h> include for strcmp. Clang 16 makes -Wimplicit-function-declaration an error by default. Unfortunately, out of tree modules may use this in configure scripts, which means failure might cause silent miscompilation or misconfiguration. For more information, see LWN.net [0] or LLVM's Discourse [1], gentoo-dev@ [2], or the (new) c-std-porting mailing list [3]. [0] https://lwn.net/Articles/913505/ [1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213 [2] https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 [3] hosted at lists.linux.dev. [akpm@linux-foundation.org: remember "linux/"] Link: https://lkml.kernel.org/r/20221116182634.2823136-1-sam@gentoo.org Signed-off-by: Sam James <sam@gentoo.org> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/migrate_device.c')
0 files changed, 0 insertions, 0 deletions