Re: [PATCH] ARM: Enable CONFIG_64BIT for static analysis

2024-02-22 Thread Dan Carpenter
On Thu, Feb 22, 2024 at 08:16:19AM -0500, Tom Rini wrote: > > That we have 'config 64BIT' in arch/{mips,riscv}/Kconfig as well is a > leftover of thinking this is like the Linux Kernel where there's no > top-level arch/Kconfig file, can you please move the two existing config > 64BIT entries to ar

Re: [PATCH] ARM: Enable CONFIG_64BIT for static analysis

2024-02-22 Thread Tom Rini
On Thu, Feb 22, 2024 at 09:47:58AM +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) > > So set CONFIG_64BIT so that we don't pass -m32 to the static checker. > >

[PATCH] ARM: Enable CONFIG_64BIT for static analysis

2024-02-21 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) So set CONFIG_64BIT so that we don't pass -m32 to the static checker. Signed-off-by: Dan Carpenter --- arch/arm/Kconfig | 4 1 file changed, 4