Re: [RFC/RFT v2 0/2] power_supply: Fix NULL pointer dereference from uevent

2015-05-21 Thread Sebastian Reichel
Hi, On Tue, May 19, 2015 at 04:13:00PM +0900, Krzysztof Kozlowski wrote: > Changes since v1: > = > 1. Patch 2: fix invalid member used for container_of(). > 2. Patch 2: Replace WARN with pr_warn() in __power_supply_register() >if parent is missing. > > > Description: > ==

Re: [RFC/RFT v2 0/2] power_supply: Fix NULL pointer dereference from uevent

2015-05-20 Thread Dr. H. Nikolaus Schaller
Am 21.05.2015 um 00:20 schrieb Sebastian Reichel : > Hi, > > On Tue, May 19, 2015 at 10:28:39AM +0200, Dr. H. Nikolaus Schaller wrote: >> Am 19.05.2015 um 09:13 schrieb Krzysztof Kozlowski : >>> Changes since v1: >>> = >>> 1. Patch 2: fix invalid member used for container_of(). >

Re: [RFC/RFT v2 0/2] power_supply: Fix NULL pointer dereference from uevent

2015-05-20 Thread Sebastian Reichel
Hi, On Tue, May 19, 2015 at 10:28:39AM +0200, Dr. H. Nikolaus Schaller wrote: > Am 19.05.2015 um 09:13 schrieb Krzysztof Kozlowski : > > Changes since v1: > > = > > 1. Patch 2: fix invalid member used for container_of(). > > 2. Patch 2: Replace WARN with pr_warn() in __power_supply

Re: [RFC/RFT v2 0/2] power_supply: Fix NULL pointer dereference from uevent

2015-05-19 Thread Dr. H. Nikolaus Schaller
Hi, Am 19.05.2015 um 09:13 schrieb Krzysztof Kozlowski : > Hi, > > > Changes since v1: > = > 1. Patch 2: fix invalid member used for container_of(). > 2. Patch 2: Replace WARN with pr_warn() in __power_supply_register() > if parent is missing. > > > Description: > ==

[RFC/RFT v2 0/2] power_supply: Fix NULL pointer dereference from uevent

2015-05-19 Thread Krzysztof Kozlowski
Hi, Changes since v1: = 1. Patch 2: fix invalid member used for container_of(). 2. Patch 2: Replace WARN with pr_warn() in __power_supply_register() if parent is missing. Description: This is an idea to fix issue in bq27x00 driver (and probably in others) reporte