diff options
author | Christian Eggers <[email protected]> | 2022-01-25 09:16:19 +0100 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2022-01-26 10:02:36 +0100 |
commit | 9161f365c91614e5a3f5c6dcc44c3b1b33bc59c0 (patch) | |
tree | 85a503c1ddf4fcc1b42e03d3ee3d9120373badb0 /net/unix/sysctl_net_unix.c | |
parent | 3e3765875b1b8864898603768fd5c93eeb552211 (diff) |
mtd: rawnand: gpmi: don't leak PM reference in error path
If gpmi_nfc_apply_timings() fails, the PM runtime usage counter must be
dropped.
Reported-by: Pavel Machek <[email protected]>
Fixes: f53d4c109a66 ("mtd: rawnand: gpmi: Add ERR007117 protection for nfc_apply_timings")
Signed-off-by: Christian Eggers <[email protected]>
Cc: [email protected]
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions