projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b29325
)
fsi: sbefifo: Add missing mutex_unlock
author
Eddie James
<eajames@linux.vnet.ibm.com>
Tue, 3 Jul 2018 21:21:29 +0000
(16:21 -0500)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Thu, 12 Jul 2018 01:51:12 +0000
(11:51 +1000)
There was no unlock of the FFDC mutex.
Fixes:
9f4a8a2d7f9d
("fsi/sbefifo: Add driver for the SBE FIFO")
Signed-off-by: Eddie James <eajames@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/fsi/fsi-sbefifo.c
patch
|
blob
|
history
diff --git
a/drivers/fsi/fsi-sbefifo.c
b/drivers/fsi/fsi-sbefifo.c
index
4f076fd
..
a34ff99
100644
(file)
--- a/
drivers/fsi/fsi-sbefifo.c
+++ b/
drivers/fsi/fsi-sbefifo.c
@@
-194,6
+194,7
@@
static void sbefifo_dump_ffdc(struct device *dev, const __be32 *ffdc,
}
dev_warn(dev, "+-------------------------------------------+\n");
}
+ mutex_unlock(&sbefifo_ffdc_mutex);
}
int sbefifo_parse_status(struct device *dev, u16 cmd, __be32 *response,