]> git.baikalelectronics.ru Git - kernel.git/commit
soc/qbman: Fix resource leak on portal probing error path
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Wed, 16 Nov 2016 14:40:17 +0000 (16:40 +0200)
committerScott Wood <oss@buserror.net>
Wed, 23 Nov 2016 07:23:41 +0000 (01:23 -0600)
commit1fbf25653b033e1d38adf1ad4d3d779aa63814a1
tree252ec0ff57fd8624b78a3951c2386faa9283e9e5
parent25e37c3cc2e09a6ab23a25ac8263d9b9db001b2b
soc/qbman: Fix resource leak on portal probing error path

In case init_pcfg() returns with error the CI region
must be unmapped too.

Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
drivers/soc/fsl/qbman/bman_portal.c
drivers/soc/fsl/qbman/qman_portal.c