scripts: removes uses of <asm*/errno.h> in favor of <errno.h>
We can't assume <asm/errno.h> to be available on non-Linux hosts.
Furthermore, errno constants values aren't fixed and passing them
to libc perror(3)/strerror (3) would yield wrong results.
Fix this by using the standard <errno.h> header instead.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 5ec6126 commit 9d192807d3aa2a4a818f3ca9fbc7ca08d388b383
@Ahmad Fatoum Ahmad Fatoum authored on 27 May 2019
Sascha Hauer committed on 28 May 2019
Showing 2 changed files
View
scripts/bareboximd.c
View
scripts/include/linux/err.h