Re: [PATCH 5.2 10/20] media: radio-raremono: change devm_k*alloc to k*alloc

2019-08-05 Thread Luke Nowakowski-Krijger
Hi there, On Fri, Aug 02, 2019 at 03:04:25AM -0700, Joe Perches wrote: > On Fri, 2019-08-02 at 11:40 +0200, Greg Kroah-Hartman wrote: > > From: Luke Nowakowski-Krijger > > > > commit c666355e60ddb4748ead3bdd983e3f7f2224aaf0 upstream. > > > > Change devm_k*alloc to k*alloc to manually allocate

Re: [PATCH 5.2 10/20] media: radio-raremono: change devm_k*alloc to k*alloc

2019-08-02 Thread Joe Perches
On Fri, 2019-08-02 at 11:40 +0200, Greg Kroah-Hartman wrote: > From: Luke Nowakowski-Krijger > > commit c666355e60ddb4748ead3bdd983e3f7f2224aaf0 upstream. > > Change devm_k*alloc to k*alloc to manually allocate memory > > The manual allocation and freeing of memory is necessary because when > t

[PATCH 5.2 10/20] media: radio-raremono: change devm_k*alloc to k*alloc

2019-08-02 Thread Greg Kroah-Hartman
From: Luke Nowakowski-Krijger commit c666355e60ddb4748ead3bdd983e3f7f2224aaf0 upstream. Change devm_k*alloc to k*alloc to manually allocate memory The manual allocation and freeing of memory is necessary because when the USB radio is disconnected, the memory associated with devm_k*alloc is free