Re: [PATCH v2 00/10] Add initial support for -fsanitize={ubsan,asan}

2019-09-04 Thread Sascha Hauer
On Tue, Aug 27, 2019 at 05:09:08PM +0200, Ahmad Fatoum wrote: > This series adds undefined behavior and address sanitizer support to > barebox. Both are fully functional on sandbox, where they are also used > to implement dump_stack() now. > > I haven't yet read about how Kernel AddressSanitizer

Re: [PATCH v2 00/10] Add initial support for -fsanitize={ubsan,asan}

2019-09-04 Thread Ahmad Fatoum
On 9/4/19 8:53 AM, Sascha Hauer wrote: > On Tue, Aug 27, 2019 at 05:09:08PM +0200, Ahmad Fatoum wrote: >> This series adds undefined behavior and address sanitizer support to >> barebox. Both are fully functional on sandbox, where they are also used >> to implement dump_stack() now. >> >> I

[PATCH] video/stm: fix return value handling for of_get_display_timings()

2019-09-04 Thread Uwe Kleine-König
of_get_display_timings() returns NULL on failure, not an error pointer. Fixes: 16fd24847d7a ("video: stmfb: Add device tree support") Signed-off-by: Uwe Kleine-König --- drivers/video/stm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/stm.c

[PATCH v4 2/2] mips: bootm: Cast elf entry into unsigned long

2019-09-04 Thread Clement Leger
Since elf entry type is now a u64 to accomodate both type of elf files (64 and 32 bits), we need to cast it to the pointer length before casting it to the pointer type. Signed-off-by: Clement Leger --- arch/mips/lib/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 1/2] elf: add 64 bits elf loading support

2019-09-04 Thread Clement Leger
From: Clement Leger This patch add elf64 loading support to the elf loader. Since elf32 and elf64 uses completely different types, to avoid copying all the code and simply replace elf32 with elf64, use a macro which will return the appropriate field for each type of header. This macro generates

[PATCH] libfile: fix typos

2019-09-04 Thread Michael Tretter
Signed-off-by: Michael Tretter --- lib/libfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libfile.c b/lib/libfile.c index f6c588d737..3f3ec21fdb 100644 --- a/lib/libfile.c +++ b/lib/libfile.c @@ -242,9 +242,9 @@ EXPORT_SYMBOL(read_file_2); * * This function