summaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
authorBartosz Golaszewski2018-10-14 17:20:07 +0200
committerGreg Kroah-Hartman2018-10-16 12:53:27 +0200
commit0571967dfb5d2573c2a06871517d748932a899d1 (patch)
tree9f91e41a844cd43d2dd302132efe287789d89ddd /mm/util.c
parentdriver core: add BUS_ATTR_WO() macro (diff)
downloadkernel-qcow2-linux-0571967dfb5d2573c2a06871517d748932a899d1.tar.gz
kernel-qcow2-linux-0571967dfb5d2573c2a06871517d748932a899d1.tar.xz
kernel-qcow2-linux-0571967dfb5d2573c2a06871517d748932a899d1.zip
devres: constify p in devm_kfree()
Make devm_kfree() signature uniform with that of kfree(). To avoid compiler warnings: cast p to (void *) when calling devres_destroy(). Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions