aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2024-08-08 03:03:00 +0900
committerMasahiro Yamada <[email protected]>2024-08-12 18:37:27 +0900
commit1472464c6248575bf2d01c7f076b94704bb32c95 (patch)
tree259934ca671f95381035f5389aedb16cb2ec853f /lib/netdev-notifier-error-inject.c
parente332a5aba83500e8d422c90d2a84d8a5f888673e (diff)
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 <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Nicolas Schier <[email protected]> Reviewed-by: Daniel Gomez <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions