From 1cbfa0c0f50a8dd8d2cfab1090465d3765c43dcb Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 25 Jul 2012 08:01:38 +0000 Subject: [PATCH] laguna: fix eeprom read buffer size during platform configuration Increase the size of the buffer used for eeprom reads during the platform configuration of the Gateworks laguna. The model name read in is 16 bytes but the original buffer was only 8 bytes. Signed-off-by: David Acker SVN-Revision: 32833 --- target/linux/cns3xxx/patches-3.3/100-laguna_support.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/cns3xxx/patches-3.3/100-laguna_support.patch b/target/linux/cns3xxx/patches-3.3/100-laguna_support.patch index 0137ae0d80..64b7adb7e0 100644 --- a/target/linux/cns3xxx/patches-3.3/100-laguna_support.patch +++ b/target/linux/cns3xxx/patches-3.3/100-laguna_support.patch @@ -490,7 +490,7 @@ + +static void at24_setup(struct memory_accessor *mem_acc, void *context) +{ -+ char buf[8]; ++ char buf[16]; + + at24_mem_acc = mem_acc; + -- 2.25.1