Messages in this thread | | | From | Linus Walleij <> | Date | Wed, 29 Nov 2017 13:51:35 +0100 | Subject | Re: [PATCH 1/3] pinctrl: mcp23s08: Improve unlocking of a mutex in mcp23s08_irq() |
| |
On Mon, Oct 30, 2017 at 4:46 PM, SF Markus Elfring <elfring@users.sourceforge.net> wrote:
> From: Markus Elfring <elfring@users.sourceforge.net> > Date: Mon, 30 Oct 2017 16:03:12 +0100 > > * Add a jump target so that a call of the function "mutex_unlock" is stored > only twice in this function implementation. > > * Replace five calls by goto statements. > > * Adjust five condition checks. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Nice, patch applied.
Yours, Linus Walleij
| |