Messages in this thread | | | Date | Sat, 28 Oct 2017 10:04:11 -0700 | From | Jakub Kicinski <> | Subject | Re: [PATCH] nfp: Improve unlocking of a mutex in area_cache_get() |
| |
On Sat, 28 Oct 2017 17:18:56 +0200, SF Markus Elfring wrote: > From: Markus Elfring <elfring@users.sourceforge.net> > Date: Sat, 28 Oct 2017 17:12:10 +0200 > > Add a jump target so that a call of the function "mutex_unlock" is stored > only once at the end of this function implementation. > Replace four calls by goto statements. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
| |