linux-edac.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@linaro.org>
To: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Aristeu Rozanski <arozansk@redhat.com>,
	Borislav Petkov <bp@alien8.de>,
	linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org,
	Tony Luck <tony.luck@intel.com>
Subject: [PATCH v2 0/2] EDAC/ i5000, i5400: fix snprintf limit
Date: Tue, 9 Dec 2025 17:36:53 +0300	[thread overview]
Message-ID: <cover.1765290801.git.dan.carpenter@linaro.org> (raw)


These fixes don't affect runtime since the buffer is large enough but
the size limits used for snprintf() limits aren't caculated correct.

Changes since v1:
* Fix i5000 as well.
* Fix the subject
* Delete some related dead code

Dan Carpenter (2):
  EDAC/i5000: Fix snprintf() size calculation in calculate_dimm_size()
  EDAC/i5400: Fix snprintf() limit calculation in calculate_dimm_size()

 drivers/edac/i5000_edac.c | 1 +
 drivers/edac/i5400_edac.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
2.51.0


             reply	other threads:[~2025-12-09 14:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-09 14:36 Dan Carpenter [this message]
2025-12-09 14:36 ` [PATCH v2 1/2] EDAC/i5000: Fix snprintf() size calculation in calculate_dimm_size() Dan Carpenter
2025-12-10  1:26   ` Zhuo, Qiuxu
2025-12-09 14:37 ` [PATCH v2 2/2] EDAC/i5400: Fix snprintf() limit " Dan Carpenter

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=cover.1765290801.git.dan.carpenter@linaro.org \
    --to=dan.carpenter@linaro.org \
    --cc=arozansk@redhat.com \
    --cc=bp@alien8.de \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=tony.luck@intel.com \
    /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).