Thread (9 messages) 9 messages, 3 authors, 2018-09-28

Re: [PATCH v5 1/4] devres: constify p in devm_kfree()

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2018-09-28 07:28:45
Also in: linux-arch, linux-mm, lkml

On Fri, Sep 28, 2018 at 9:14 AM Bartosz Golaszewski [off-list ref] wrote:
Make devm_kfree() signature uniform with that of kfree(). To avoid
compiler warnings: cast p to (void *) when calling devres_destroy().
Hmm, devres_destroy(), devres_remove(), and find_dr() really should
take const void pointers.  But that requires changing dr_match_t, and
fixing up all users...
Signed-off-by: Bartosz Golaszewski <redacted>
Reviewed-by: Bjorn Andersson <redacted>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help