summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2022-03-03 21:06:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-20 10:34:18 +0300
commit05d1824a7fb43ab9adb1eb82404954af81d8c984 (patch)
tree39cb5dcd3bb07b4ca9f1d897cf96821577fb6bbc /scripts
parentf5e13d700a4d40ccde3d36e383f9247dcb3c1d2d (diff)
downloadlinux-05d1824a7fb43ab9adb1eb82404954af81d8c984.tar.xz
memory: renesas-rpc-if: fix platform-device leak in error path
commit b452dbf24d7d9a990d70118462925f6ee287d135 upstream. Make sure to free the flash platform device in the event that registration fails during probe. Fixes: ca7d8b980b67 ("memory: add Renesas RPC-IF driver") Cc: stable@vger.kernel.org # 5.8 Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://lore.kernel.org/r/20220303180632.3194-1-johan@kernel.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions