The patch titled mfd: fix asic3 config array initialisation has been removed from the -mm tree. Its filename was asic3-new-gpio-configuration-code-fix-asic3-config-array-initialisation.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: mfd: fix asic3 config array initialisation From: Philipp Zabel <philipp.zabel@xxxxxxxxx> Our memset length was incorrect. Tested-by: Philipp Zabel <philipp.zabel@xxxxxxxxx> Signed-off-by: Samuel Ortiz <sameo@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/mfd/asic3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/mfd/asic3.c~asic3-new-gpio-configuration-code-fix-asic3-config-array-initialisation drivers/mfd/asic3.c --- a/drivers/mfd/asic3.c~asic3-new-gpio-configuration-code-fix-asic3-config-array-initialisation +++ a/drivers/mfd/asic3.c @@ -477,9 +477,9 @@ static int asic3_gpio_probe(struct platf u16 dir_reg[ASIC3_NUM_GPIO_BANKS]; int i; - memset(alt_reg, 0, ASIC3_NUM_GPIO_BANKS); - memset(out_reg, 0, ASIC3_NUM_GPIO_BANKS); - memset(dir_reg, 0, ASIC3_NUM_GPIO_BANKS); + memzero(alt_reg, ASIC3_NUM_GPIO_BANKS * sizeof(u16)); + memzero(out_reg, ASIC3_NUM_GPIO_BANKS * sizeof(u16)); + memzero(dir_reg, ASIC3_NUM_GPIO_BANKS * sizeof(u16)); /* Enable all GPIOs */ asic3_write_register(asic, ASIC3_GPIO_OFFSET(A, Mask), 0xffff); _ Patches currently in -mm which might be from philipp.zabel@xxxxxxxxx are origin.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html