Skip to content

EDAC/ i5000, i5400: fix snprintf limit

Dan Carpenter linux-edac lkml 1 version Applied

Status from this message: Applied. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 2 repliesApplied

Changes in v2 from the cover letter

* Fix i5000 as well.
* Fix the subject
* Delete some related dead code

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2EDAC/i5000: Fix snprintf() size calculation in calculate_dimm_size()drivers/edac/i5000_edac.c+1 -01 reply
2/2EDAC/i5400: Fix snprintf() limit calculation in calculate_dimm_size()drivers/edac/i5400_edac.c+1 -10 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchQiuxu Zhuo
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] EDAC/ i5000, i5400: fix snprintf limit

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(-)
Signature · 1 line
2.51.0