2015-08-01 21:11 GMT+09:00 Jiri Kosina :
> On Wed, 29 Jul 2015, Dmitry Torokhov wrote:
>
>> > Another and less intrusive fix would be:
>> >
>> > char *name = dev->battery->desc->name;
>> > struct power_supply_desc *psy_desc = dev->battery->desc;
>> >
On Wed, 29 Jul 2015, Dmitry Torokhov wrote:
> > Another and less intrusive fix would be:
> >
> > char *name = dev->battery->desc->name;
> > struct power_supply_desc *psy_desc = dev->battery->desc;
> > power_supply_unregister(dev->battery);
> > kfree(name);
> >
On Wed, 29 Jul 2015, Dmitry Torokhov wrote:
Another and less intrusive fix would be:
char *name = dev-battery-desc-name;
struct power_supply_desc *psy_desc = dev-battery-desc;
power_supply_unregister(dev-battery);
kfree(name);
kfree(psy_desc);
I would much
2015-08-01 21:11 GMT+09:00 Jiri Kosina jkos...@suse.com:
On Wed, 29 Jul 2015, Dmitry Torokhov wrote:
Another and less intrusive fix would be:
char *name = dev-battery-desc-name;
struct power_supply_desc *psy_desc = dev-battery-desc;
power_supply_unregister(dev-battery);
On Thu, Jul 30, 2015 at 08:42:12AM +0900, Krzysztof Kozlowski wrote:
> 2015-07-30 2:46 GMT+09:00 Dmitry Torokhov :
> > On Wed, Jul 29, 2015 at 03:07:04PM +0200, Jiri Kosina wrote:
> >> On Tue, 28 Jul 2015, Krzysztof Kozlowski wrote:
> >>
> >> > During unbinding the driver was dereferencing a
2015-07-30 2:46 GMT+09:00 Dmitry Torokhov :
> On Wed, Jul 29, 2015 at 03:07:04PM +0200, Jiri Kosina wrote:
>> On Tue, 28 Jul 2015, Krzysztof Kozlowski wrote:
>>
>> > During unbinding the driver was dereferencing a pointer to memory
>> > already freed by power_supply_unregister().
>> >
>> > Driver
On Wed, Jul 29, 2015 at 03:07:04PM +0200, Jiri Kosina wrote:
> On Tue, 28 Jul 2015, Krzysztof Kozlowski wrote:
>
> > During unbinding the driver was dereferencing a pointer to memory
> > already freed by power_supply_unregister().
> >
> > Driver was freeing its internal description of battery
On Tue, 28 Jul 2015, Krzysztof Kozlowski wrote:
> During unbinding the driver was dereferencing a pointer to memory
> already freed by power_supply_unregister().
>
> Driver was freeing its internal description of battery through pointers
> stored in power_supply structure. However, because the
On Wed, Jul 29, 2015 at 03:07:04PM +0200, Jiri Kosina wrote:
On Tue, 28 Jul 2015, Krzysztof Kozlowski wrote:
During unbinding the driver was dereferencing a pointer to memory
already freed by power_supply_unregister().
Driver was freeing its internal description of battery through
On Thu, Jul 30, 2015 at 08:42:12AM +0900, Krzysztof Kozlowski wrote:
2015-07-30 2:46 GMT+09:00 Dmitry Torokhov dmitry.torok...@gmail.com:
On Wed, Jul 29, 2015 at 03:07:04PM +0200, Jiri Kosina wrote:
On Tue, 28 Jul 2015, Krzysztof Kozlowski wrote:
During unbinding the driver was
2015-07-30 2:46 GMT+09:00 Dmitry Torokhov dmitry.torok...@gmail.com:
On Wed, Jul 29, 2015 at 03:07:04PM +0200, Jiri Kosina wrote:
On Tue, 28 Jul 2015, Krzysztof Kozlowski wrote:
During unbinding the driver was dereferencing a pointer to memory
already freed by power_supply_unregister().
On Tue, 28 Jul 2015, Krzysztof Kozlowski wrote:
During unbinding the driver was dereferencing a pointer to memory
already freed by power_supply_unregister().
Driver was freeing its internal description of battery through pointers
stored in power_supply structure. However, because the core
During unbinding the driver was dereferencing a pointer to memory
already freed by power_supply_unregister().
Driver was freeing its internal description of battery through pointers
stored in power_supply structure. However, because the core owns the
power supply instance, after calling
During unbinding the driver was dereferencing a pointer to memory
already freed by power_supply_unregister().
Driver was freeing its internal description of battery through pointers
stored in power_supply structure. However, because the core owns the
power supply instance, after calling
14 matches
Mail list logo