Patch "[media] blackfin: check devm_pinctrl_get() for errors" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
[media] blackfin: check devm_pinctrl_get() for errors
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
blackfin-check-devm_pinctrl_get-for-errors.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
c9205e18b41a6ef5ad73e1c4b86a78b2ea3ccb9bMon Sep 17 00:00:00 2001
From: Dan Carpenter <[email protected]>
Date: Thu, 14 Jul 2016 07:18:14 -0300
Subject: [media] blackfin: check devm_pinctrl_get() for errors
From: Dan Carpenter <[email protected]>
commit c9205e18b41a6ef5ad73e1c4b86a78b2ea3ccb9b upstream.
devm_pinctrl_get() can fail so we should check for that.
--- drivers/media/platform/blackfin/ppi.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/media/platform/blackfin/ppi.c +2 -0
@@ -214,6 +214,8 @@ static int ppi_set_params(struct ppi_ifif (params->dlen >24 || params->dlen <=0 )return -EINVAL ; pctrl =devm_pinctrl_get (ppi->dev); +if (IS_ERR (pctrl)) +return PTR_ERR (pctrl); pstate =pinctrl_lookup_state (pctrl, pin_state[(params->dlen +7 ) /8 -1 ]);if (pinctrl_select_state (pctrl, pstate))
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/blackfin-check-devm_pinctrl_get-for-errors.patch queue-4.4/ieee802154-atusb-do-not-use-the-stack-for-buffers-to-make-them-dma-able.patch