Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1215830
| From | Linus Torvalds <torvalds@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] thermal: power_allocator: allocate with kcalloc what you free with kfree |
| Date | 2015-08-29 20:00 +0200 |
| Message-ID | <q2SA2-zz-7@gated-at.bofh.it> (permalink) |
| References | <q1r8R-68b-9@gated-at.bofh.it> <q27B8-lg-13@gated-at.bofh.it> <q2NqG-1GH-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Aug 29, 2015 at 5:27 AM, Javi Merino <javi.merino@arm.com> wrote:
>
> cf736ea6f902 ("thermal: power_allocator: do not use devm*
> interfaces") was merged for 4.2-rc8. It leaves an allocation of
> memory with devm_kcalloc() that is then freed with kfree(). The
> patch at the top of the thread[0][1] fixes this. Can you either
> merge this patch or revert cf736ea6f902 for 4.2?
Applied the patch. Thanks,
Linus
--
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 linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] thermal: power_allocator: allocate with kcalloc what you free with kfree Javi Merino <javi.merino@arm.com> - 2015-08-25 20:30 +0200
Re: [PATCH] thermal: power_allocator: allocate with kcalloc what you free with kfree Javi Merino <javi.merino@arm.com> - 2015-08-27 17:50 +0200
Re: [PATCH] thermal: power_allocator: allocate with kcalloc what you free with kfree Javi Merino <javi.merino@arm.com> - 2015-08-29 14:30 +0200
Re: [PATCH] thermal: power_allocator: allocate with kcalloc what you free with kfree Linus Torvalds <torvalds@linux-foundation.org> - 2015-08-29 20:00 +0200
csiph-web