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

Dan Carpenter posted 2 patches 1 week, 3 days ago
drivers/edac/i5000_edac.c | 1 +
drivers/edac/i5400_edac.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
[PATCH v2 0/2] EDAC/ i5000, i5400: fix snprintf limit
Posted by Dan Carpenter 1 week, 3 days ago
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