[PATCH pstore fix v1] pstore: fix use after free

2019-07-05 Thread Norbert Manthey
e of which does and the other doesn't free the record. Make the behaviour deterministic by never consuming and freeing the record when returning failure, allowing the caller to do the cleanup consistently. Signed-off-by: Norbert Manthey --- fs/pstore/inode.c | 3 ++- 1 file changed, 2 i

Re: [PATCH] io_apic: initialize irq with -EINVAL

2018-11-30 Thread Norbert Manthey
On 11/30/18 13:14, Thomas Gleixner wrote: > Norbert, > > On Wed, 28 Nov 2018, Norbert Manthey wrote: > > thanks for the patch. > >> Subject: [PATCH] io_apic: initialize irq with -EINVAL > io_apic is not a proper subsystem prefix. git log should give you a hint: >

[PATCH] io_apic: initialize irq with -EINVAL

2018-11-28 Thread Norbert Manthey
. The path that would allow to return an uninitialized value for the variable irq would require legacy IRQs without the ALLOC flag. Signed-off-by: Norbert Manthey Signed-off-by: David Woodhouse --- arch/x86/kernel/apic/io_apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[build-check v2] scripts: add check_build script

2018-07-04 Thread Norbert Manthey
build commands to a log directory "build_check_logs", so that this data can be retrieved after running the script. Signed-off-by: Norbert Manthey Signed-off-by: David Woodhouse --- v2: fix -j handling, extract number of CPUs from getconf or sysctl scripts/check_buil

[build-check] scripts: add check_build script

2018-07-03 Thread Norbert Manthey
used machine and system setup, the script might take a while to finish. The script logs all the used config files, as well as the output of the build commands to a log directory "build_check_logs", so that this data can be retrieved after running the script. Signed-off-by: Norbert Manth

[less-CONFIG_NET v2 8/8] kvm: drop CONFIG_NET

2018-06-28 Thread Norbert Manthey
In some scenarios, we do not want to use CONFIG_NET even though we want to use CONFIG_KVM. To get this working, and to not pull in more dependencies, we need to disable CONFIG_TASKSTATS as well. Signed-off-by: Norbert Manthey --- arch/x86/kvm/Kconfig | 5 ++--- 1 file changed, 2 insertions

[less-CONFIG_NET v2 7/8] seccomp: drop CONFIG_NET

2018-06-28 Thread Norbert Manthey
activated, BPF will be activated as well, so this additional dependency does not destroy original builds. Signed-off-by: Norbert Manthey --- arch/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/Kconfig b/arch/Kconfig index 1aa5906..8cfb634 100644 --- a/arch/Kconfig

[less-CONFIG_NET v2 4/8] seccomp: include nlattr

2018-06-28 Thread Norbert Manthey
further and cut the only required function off, namely nla_find. This is part of the effort to split CONFIG_SECCOMP_FILTER and CONFIG_NET. Signed-off-by: Norbert Manthey --- lib/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index 90dc552

less-CONFIG_NET v2

2018-06-28 Thread Norbert Manthey
In the first version of this series, I found a compilation error after running make randconfig multiple times. I fixed the error, and rebased the series. Furthermore, this series passed many make randconfig compilations, as well as a compilation test for multiple architectures and configurations.

[build-check] scripts: add check_build script

2018-06-28 Thread Norbert Manthey
used machine and system setup, the script might take a while to finish. The script logs all the used config files, as well as the output of the build commands to a log directory "build_check_logs", so that this data can be retrieved after running the script. Signed-off-by: Norbe

Re: [less-CONFIG_NET 7/7] kvm: drop CONFIG_NET

2018-06-07 Thread Norbert Manthey
better coverage and higher confidence. I'll update the series afterwards. Best, Norbert On 06/07/2018 01:46 PM, Norbert Manthey wrote: > On 06/07/2018 01:20 PM, Paolo Bonzini wrote: >> On 06/06/2018 15:53, Norbert Manthey wrote: >>> In some scenarios, we do not want to use

Re: [less-CONFIG_NET 7/7] kvm: drop CONFIG_NET

2018-06-07 Thread Norbert Manthey
On 06/07/2018 01:20 PM, Paolo Bonzini wrote: > On 06/06/2018 15:53, Norbert Manthey wrote: >> In some scenarios, we do not want to use CONFIG_NET even though we want >> to use CONFIG_KVM. To get this working, and to not pull in more >> dependencies, we need to disable CON

[less-CONFIG_NET 4/7] seccomp: include nlattr

2018-06-06 Thread Norbert Manthey
further and cut the only required function off, namely nla_find. This is part of the effort to split CONFIG_SECCOMP_FILTER and CONFIG_NET. Signed-off-by: Norbert Manthey --- lib/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index ce20696

[less-CONFIG_NET 6/7] seccomp: drop CONFIG_NET

2018-06-06 Thread Norbert Manthey
activated, BPF will be activated as well, so this additional dependency does not destroy original builds. Signed-off-by: Norbert Manthey --- arch/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/Kconfig b/arch/Kconfig index 75dd23a..c7108fd 100644 --- a/arch/Kconfig

[less-CONFIG_NET 7/7] kvm: drop CONFIG_NET

2018-06-06 Thread Norbert Manthey
In some scenarios, we do not want to use CONFIG_NET even though we want to use CONFIG_KVM. To get this working, and to not pull in more dependencies, we need to disable CONFIG_TASKSTATS as well. Signed-off-by: Norbert Manthey --- arch/x86/kvm/Kconfig | 5 ++--- 1 file changed, 2 insertions

Re: [PATCH v2] drm: fix off-by-one in logger

2018-05-23 Thread Norbert Manthey
Dear all, I just noticed that replying to my earlier email thread failed, and that I thereby created a new thread. The original thread is the following one: https://lkml.org/lkml/2018/2/16/274 I am sorry for the confusion! Best, Norbert On 05/23/2018 08:22 AM, Norbert Manthey wrote: >

[PATCH v2] drm: fix off-by-one in logger

2018-05-22 Thread Norbert Manthey
2nd parameter Signed-off-by: Norbert Manthey --- drivers/gpu/drm/amd/display/dc/basics/logger.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/basics/logger.c b/drivers/gpu/drm/amd/display/dc/basics/logger.c index 31bee05..6ba8d0c 100644

[tip:sched/core] sched/fair: Add ';' after label attributes

2018-03-09 Thread tip-bot for Norbert Manthey
Commit-ID: 13a453c241b78934a945b1af572d0533612c9bd1 Gitweb: https://git.kernel.org/tip/13a453c241b78934a945b1af572d0533612c9bd1 Author: Norbert Manthey AuthorDate: Tue, 27 Feb 2018 08:47:40 +0100 Committer: Ingo Molnar CommitDate: Fri, 9 Mar 2018 07:59:13 +0100 sched/fair: Add

[PATCH] sched: label attributes require a ';'

2018-02-26 Thread Norbert Manthey
without an error message. This has been spotted while compiling with goto-cc, the compiler for the CPROVER tool suite. Signed-off-by: Norbert Manthey Signed-off-by: Michael Tautschnig Cc: Ingo Molnar Cc: Peter Zijlstra Cc: linux-kernel@vger.kernel.org Cc: sta...@vger.kernel.org --- kernel/sc

[PATCH] drm: fix off-by-one in logger

2018-02-16 Thread Norbert Manthey
/dc/basics/logger.c:348:4 detected read beyond size of object passed as 2nd parameter Signed-off-by: Norbert Manthey Cc: Alex Deucher Cc: "Christian König" Cc: "David (ChunMing) Zhou" Cc: David Airlie Cc: Harry Wentland Cc: Tony Cheng Cc: Yongqiang Sun Cc: Aric Cyr