summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.modfinal
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-08-07 20:03:00 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2024-08-12 11:37:27 +0200
commit1472464c6248575bf2d01c7f076b94704bb32c95 (patch)
tree259934ca671f95381035f5389aedb16cb2ec853f /scripts/Makefile.modfinal
parenttreewide: remove unnecessary <linux/version.h> inclusion (diff)
downloadlinux-1472464c6248575bf2d01c7f076b94704bb32c95.tar.xz
linux-1472464c6248575bf2d01c7f076b94704bb32c95.zip
kbuild: avoid scripts/kallsyms parsing /dev/null
On macOS, as reported by Daniel Gomez, getline() sets ENOTTY to errno if it is requested to read from /dev/null. If this is worth fixing, I would rather pass an empty file to scripts/kallsyms instead of adding the ugly #ifdef __APPLE__. Fixes: c442db3f49f2 ("kbuild: remove PROVIDE() for kallsyms symbols") Reported-by: Daniel Gomez <da.gomez@samsung.com> Closes: https://lore.kernel.org/all/20240807-macos-build-support-v1-12-4cd1ded85694@samsung.com/ Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu> Reviewed-by: Daniel Gomez <da.gomez@samsung.com>
Diffstat (limited to 'scripts/Makefile.modfinal')
0 files changed, 0 insertions, 0 deletions