From a8d6aa08dd3e004df6a6e63a61698d834a191ad3 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 13 Oct 2010 10:44:39 +0800 Subject: [PATCH] mfd: Fix off-by-one value range checking for tps6507x If bytes == (TPS6507X_MAX_REGISTER + 1), we have a buffer overflow when doing memcpy(&msg[1], src, bytes). Signed-off-by: Axel Lin Signed-off-by: Samuel Ortiz --- Reading git-format-patch failed