The patch titled Subject: drivers/leds/leds-pca9633.c: fix kcalloc parameters swapped has been added to the -mm tree. Its filename is drivers-leds-add-driver-for-pca9663-i2c-chip-fix-3.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Axel Lin <axel.lin@xxxxxxxxx> Subject: drivers/leds/leds-pca9633.c: fix kcalloc parameters swapped The first parameter should be "number of elements" and the second parameter should be "element size". Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/leds/leds-pca9633.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/leds/leds-pca9633.c~drivers-leds-add-driver-for-pca9663-i2c-chip-fix-3 drivers/leds/leds-pca9633.c --- a/drivers/leds/leds-pca9633.c~drivers-leds-add-driver-for-pca9663-i2c-chip-fix-3 +++ a/drivers/leds/leds-pca9633.c @@ -110,7 +110,7 @@ static int __devinit pca9633_probe(struc } } - pca9633 = kcalloc(sizeof(*pca9633), 4, GFP_KERNEL); + pca9633 = kcalloc(4, sizeof(*pca9633), GFP_KERNEL); if (!pca9633) return -ENOMEM; _ Subject: Subject: drivers/leds/leds-pca9633.c: fix kcalloc parameters swapped Patches currently in -mm which might be from axel.lin@xxxxxxxxx are origin.patch linux-next.patch platform-drivers-x86-convert-drivers-platform-x86-to-use-module_platform_driver.patch backlight-convert-backlight-i2c-drivers-to-module_i2c_driver.patch backlight-convert-backlight-spi-drivers-to-module_spi_driver.patch backlight-new-backlight-driver-for-lp855x-devices-fix.patch backlight-lp855x_blc-check-platform-data-in-lp855x_probe.patch backlight-lp855x_blc-small-cleanups.patch drivers-leds-add-driver-for-pca9663-i2c-chip-fix-3.patch leds-lm3530-replace-pltfm-with-pdata.patch drivers-leds-leds-pca9633c-remove-unused-adapter-variable.patch drivers-leds-leds-lm3530c-move-the-code-setting-gen_config-to-one-place.patch drivers-leds-leds-lm3530c-move-the-code-setting-gen_config-to-one-place-fix.patch rtc-convert-rtc-spi-drivers-to-module_spi_driver.patch rtc-convert-rtc-i2c-drivers-to-module_i2c_driver.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