Re: [PATCH v2 2/2] arm64: Enable CONFIG_64BIT for static analysis

2024-03-13 Thread Tom Rini
On Mon, Mar 04, 2024 at 10:04:29AM +0300, Dan Carpenter wrote: > In the Makefile there is a line that says this: > > # the checker needs the correct machine size > CHECKFLAGS += $(if $(CONFIG_64BIT),-m64,-m32) > > Set CONFIG_64BIT for ARM64 so that we pass -m64 to the static checkers >

Re: [PATCH v2 2/2] arm64: Enable CONFIG_64BIT for static analysis

2024-03-04 Thread Dan Carpenter
On Mon, Mar 04, 2024 at 02:44:12PM +0100, Heinrich Schuchardt wrote: > On 04.03.24 08:04, Dan Carpenter wrote: > > In the Makefile there is a line that says this: > > > > # the checker needs the correct machine size > > CHECKFLAGS += $(if $(CONFIG_64BIT),-m64,-m32) > > > > Set

Re: [PATCH v2 2/2] arm64: Enable CONFIG_64BIT for static analysis

2024-03-04 Thread Tom Rini
On Mon, Mar 04, 2024 at 03:11:04PM +0100, Csókás Bence wrote: > 2024. 03. 04. 14:44 keltezéssel, Heinrich Schuchardt írta> How about other > 64bit architectures (sandbox64, x86_64)? > > I think that could be its own patchset. Yes, a follow-up is fine. > > > Best regards > > > > Heinrich > >

Re: [PATCH v2 2/2] arm64: Enable CONFIG_64BIT for static analysis

2024-03-04 Thread Csókás Bence
2024. 03. 04. 14:44 keltezéssel, Heinrich Schuchardt írta> How about other 64bit architectures (sandbox64, x86_64)? I think that could be its own patchset. Best regards Heinrich Bence P.S., does anyone know why I'm being CC'ed here? Did I participate in this thread at some point? I only

Re: [PATCH v2 2/2] arm64: Enable CONFIG_64BIT for static analysis

2024-03-04 Thread Heinrich Schuchardt
On 04.03.24 08:04, Dan Carpenter wrote: In the Makefile there is a line that says this: # the checker needs the correct machine size CHECKFLAGS += $(if $(CONFIG_64BIT),-m64,-m32) Set CONFIG_64BIT for ARM64 so that we pass -m64 to the static checkers instead of -m32. Signed-off-by:

[PATCH v2 2/2] arm64: Enable CONFIG_64BIT for static analysis

2024-03-03 Thread Dan Carpenter
In the Makefile there is a line that says this: # the checker needs the correct machine size CHECKFLAGS += $(if $(CONFIG_64BIT),-m64,-m32) Set CONFIG_64BIT for ARM64 so that we pass -m64 to the static checkers instead of -m32. Signed-off-by: Dan Carpenter --- v2: split the patch into