emmc: buffer size setting mismatch
authorLong Yu <long.yu@amlogic.com>
Fri, 1 Sep 2017 06:36:37 +0000 (14:36 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 13 Sep 2017 05:15:39 +0000 (22:15 -0700)
PD#150079: emmc: buffer size setting mismatch

1. change the tmp_table size from 16 to 20

driver defect clean up:
#15
#16
#17

Change-Id: Iebd919e760cd0ab975508a6a57e862ff5f683fc0
Signed-off-by: Long Yu <long.yu@amlogic.com>
include/linux/mmc/emmc_partitions.h

index aea6f69..fca52ce 100644 (file)
@@ -16,7 +16,7 @@
 #define        STORE_CACHE                             (1<<1)
 #define        STORE_DATA                              (1<<2)
 
-#define     MAX_PART_NAME_LEN               16
+#define     MAX_PART_NAME_LEN               20
 #define     MAX_MMC_PART_NUM                32
 
 /* MMC Partition Table */