u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@linaro.org>
To: Tom Rini <trini@konsulko.com>
Cc: "Rayagonda Kokatanur" <rayagonda.kokatanur@broadcom.com>,
	"Simon Glass" <sjg@chromium.org>, "Andrew Davis" <afd@ti.com>,
	"Linus Walleij" <linus.walleij@linaro.org>,
	"Bin Meng" <bmeng@tinylab.org>,
	"Sumit Garg" <sumit.garg@linaro.org>,
	"Fabio Estevam" <festevam@denx.de>,
	"Andre Przywara" <andre.przywara@arm.com>,
	"Alper Nebi Yasak" <alpernebiyasak@gmail.com>,
	"Yang Xiwen" <forbidden405@outlook.com>,
	=?iso-8859-1?B?Q3Pza+Fz?= Bence <csokas.bence@prolan.hu>,
	"Peng Fan" <peng.fan@nxp.com>,
	u-boot@lists.denx.de
Subject: [PATCH v2 0/2] arm64: Enable CONFIG_64BIT for static analysis
Date: Mon, 4 Mar 2024 10:03:55 +0300	[thread overview]
Message-ID: <1cb3255b-5ed7-443b-8a02-6e998126d417@moroto.mountain> (raw)

The makefiles currently pass -m32 to Smatch static checker when I'm
building on arm64.  Also the arch is set to "arm" and Smatch thinks
"arm" is 32 bits and "arm64" is 64 bits.  With this patchset we pass
-m64 and Smatch works correctly.

Changes since v1:
Break up the patch into two patches.

Dan Carpenter (2):
  Kconfig: move CONFIG_32/64BIT to arch/Kconfig
  ARM: Enable CONFIG_64BIT for static analysis

 arch/Kconfig       | 6 ++++++
 arch/arm/Kconfig   | 1 +
 arch/mips/Kconfig  | 6 ------
 arch/riscv/Kconfig | 6 ------
 4 files changed, 7 insertions(+), 12 deletions(-)

-- 
2.43.0


             reply	other threads:[~2024-03-04  7:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-04  7:03 Dan Carpenter [this message]
2024-03-04  7:04 ` [PATCH v2 1/2] Kconfig: move CONFIG_32/64BIT to arch/Kconfig Dan Carpenter
2024-03-04 14:16   ` Tom Rini
2024-03-14  0:38   ` Tom Rini
2024-03-04  7:04 ` [PATCH v2 2/2] arm64: Enable CONFIG_64BIT for static analysis Dan Carpenter
2024-03-04 13:44   ` Heinrich Schuchardt
2024-03-04 14:11     ` Csókás Bence
2024-03-04 14:16       ` Tom Rini
2024-03-04 14:27     ` Dan Carpenter
2024-03-14  0:38   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1cb3255b-5ed7-443b-8a02-6e998126d417@moroto.mountain \
    --to=dan.carpenter@linaro.org \
    --cc=afd@ti.com \
    --cc=alpernebiyasak@gmail.com \
    --cc=andre.przywara@arm.com \
    --cc=bmeng@tinylab.org \
    --cc=csokas.bence@prolan.hu \
    --cc=festevam@denx.de \
    --cc=forbidden405@outlook.com \
    --cc=linus.walleij@linaro.org \
    --cc=peng.fan@nxp.com \
    --cc=rayagonda.kokatanur@broadcom.com \
    --cc=sjg@chromium.org \
    --cc=sumit.garg@linaro.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).