summaryrefslogtreecommitdiff
path: root/net/phonet/Makefile
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2016-02-22 13:40:32 +0530
committerFelipe Balbi <balbi@kernel.org>2016-03-04 15:14:45 +0200
commit9bbe91a1ea4cae20ff9f8f175c92e1e49b4296d9 (patch)
treec470423f4f31eb7f972978079a786bdda0150973 /net/phonet/Makefile
parent1479cb698ac07d5dc4cc2b7de3588d38484267e9 (diff)
usb: dwc2: Use kmem_cache_free()
Here, free memory is allocated using kmem_cache_zalloc. So, use kmem_cache_free instead of kfree. This is done using Coccinelle and semantic patch used is as follows: //<smpl> @@ expression x,E,c; @@ x = \(kmem_cache_alloc\|kmem_cache_zalloc\|kmem_cache_alloc_node\)(c,...) ... when != x = E when != &x ?-kfree(x) +kmem_cache_free(c,x) //</smpl> Acked-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'net/phonet/Makefile')
0 files changed, 0 insertions, 0 deletions