On Fri, Sep 28, 2018 at 9:14 AM Bartosz Golaszewski <b...@bgdev.pl> 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 <b...@bgdev.pl> > Reviewed-by: Bjorn Andersson <bjorn.anders...@linaro.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@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