Re: [PATCH] acpica: fix -Wnull-pointer-arithmetic warnings

2019-07-24 Thread Qian Cai
;; j...@freebsd.org; Len Brown ; > linux-acpi@vger > .kernel.org; de...@acpica.org; clang-built-linux ps.com>; LKML > Subject: Re: [PATCH] acpica: fix -Wnull-pointer-arithmetic warnings > > On Tue, 2019-07-23 at 20:49 +, Moore, Robert wrote: > > > > Signed-off-by

RE: [PATCH] acpica: fix -Wnull-pointer-arithmetic warnings

2019-07-24 Thread Moore, Robert
: Re: [PATCH] acpica: fix -Wnull-pointer-arithmetic warnings On Tue, 2019-07-23 at 20:49 +, Moore, Robert wrote: > > > Signed-off-by: Qian Cai > > > --- > > > include/acpi/actypes.h | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > >

Re: [PATCH] acpica: fix -Wnull-pointer-arithmetic warnings

2019-07-24 Thread Qian Cai
On Tue, 2019-07-23 at 20:49 +, Moore, Robert wrote: > > > Signed-off-by: Qian Cai > > > --- > > > include/acpi/actypes.h | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > > diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index  > > >

RE: [PATCH] acpica: fix -Wnull-pointer-arithmetic warnings

2019-07-23 Thread Moore, Robert
: Re: [PATCH] acpica: fix -Wnull-pointer-arithmetic warnings > On Jul 17, 2019, at 6:01 PM, Nick Desaulniers wrote: > > On Tue, Jul 16, 2019 at 8:38 PM Qian Cai wrote: >> >> Clang generate quite a few of those warnings. >> >> drivers/acpi/scan.c:759:28: warn

Re: [PATCH] acpica: fix -Wnull-pointer-arithmetic warnings

2019-07-17 Thread Qian Cai
> On Jul 17, 2019, at 6:01 PM, Nick Desaulniers wrote: > > On Tue, Jul 16, 2019 at 8:38 PM Qian Cai wrote: >> >> Clang generate quite a few of those warnings. >> >> drivers/acpi/scan.c:759:28: warning: arithmetic on a null pointer >> treated as a cast from integer to pointer is a GNU

Re: [PATCH] acpica: fix -Wnull-pointer-arithmetic warnings

2019-07-17 Thread Nick Desaulniers
On Tue, Jul 16, 2019 at 8:38 PM Qian Cai wrote: > > Clang generate quite a few of those warnings. > > drivers/acpi/scan.c:759:28: warning: arithmetic on a null pointer > treated as a cast from integer to pointer is a GNU extension > [-Wnull-pointer-arithmetic] > status =