Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1184543 > unrolled thread
| Started by | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| First post | 2015-07-15 11:50 +0200 |
| Last post | 2015-07-15 11:50 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 1/2] gpio: altera: use of_mm_gpiochip_remove() to fix memory leak Linus Walleij <linus.walleij@linaro.org> - 2015-07-15 11:50 +0200
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Date | 2015-07-15 11:50 +0200 |
| Subject | Re: [PATCH 1/2] gpio: altera: use of_mm_gpiochip_remove() to fix memory leak |
| Message-ID | <pMrua-3G9-3@gated-at.bofh.it> |
On Wed, Jun 17, 2015 at 1:59 PM, Masahiro Yamada <yamada.masahiro@socionext.com> wrote: > This driver calls of_mm_gpiochip_add() to add a memory mapped gpio > chip. So, of_mm_gpiochip_remove() should be used when removing it. > > The direct call of gpiochip_remove() misses unmapping the register > and freeing the label. > > Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Patch applied with the ACKs. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web