The patch titled Subject: fb: hx8357: Remove useless error message has been added to the -mm tree. Its filename is fb-backlight-add-the-himax-hx-8357b-lcd-controller-remove-useless-error-message.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: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx> Subject: fb: hx8357: Remove useless error message In case of a failing allocation, a dump stack will be printed anyway, so the dev_err is redundant. Signed-off-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx> Cc: Jingoo Han <jg1.han@xxxxxxxxxxx> Cc: Richard Purdie <rpurdie@xxxxxxxxx> Cc: Florian Tobias Schandinat <FlorianSchandinat@xxxxxx> Cc: Joe Perches <joe@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/backlight/hx8357.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -puN drivers/video/backlight/hx8357.c~fb-backlight-add-the-himax-hx-8357b-lcd-controller-remove-useless-error-message drivers/video/backlight/hx8357.c --- a/drivers/video/backlight/hx8357.c~fb-backlight-add-the-himax-hx-8357b-lcd-controller-remove-useless-error-message +++ a/drivers/video/backlight/hx8357.c @@ -96,10 +96,8 @@ static int hx8357_spi_write_then_read(st local_txbuf = kcalloc(txlen, sizeof(*local_txbuf), GFP_KERNEL); - if (!local_txbuf) { - dev_err(&lcdev->dev, "Couldn't allocate data buffer.\n"); + if (!local_txbuf) return -ENOMEM; - } for (i = 0; i < txlen; i++) { local_txbuf[i] = txbuf[i]; _ Patches currently in -mm which might be from maxime.ripard@xxxxxxxxxxxxxxxxxx are linux-next.patch fb-backlight-add-the-himax-hx-8357b-lcd-controller.patch fb-backlight-add-the-himax-hx-8357b-lcd-controller-change-parameters-of-the-write-function-to-u8.patch fb-backlight-add-the-himax-hx-8357b-lcd-controller-fix-inverted-parameters-for-kcalloc.patch fb-backlight-add-the-himax-hx-8357b-lcd-controller-remove-useless-error-message.patch fb-backlight-add-the-himax-hx-8357b-lcd-controller-remove-trailing-period.patch fb-backlight-add-the-himax-hx-8357b-lcd-controller-use-static-arrays-for-lcd-configuration.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