Hi Krzysztof & Jiri, On Tue, Mar 24, 2015 at 12:02:41PM +0100, Jiri Kosina wrote: > On Mon, 23 Mar 2015, Krzysztof Kozlowski wrote: > > > Do not call power_supply_powers() if power_supply_register() failed > > earlier. This fixes possible NULL pointer dereference by > > power_supply_powers() in such case. > > > > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx> > > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > > > > --- > > > > The patch was prepared on top of next-20150323. It depends on changes in > > power supply core (battery-2.6.git) so probably it should be applied to > > the battery tree. > > Acked-by: Jiri Kosina <jkosina@xxxxxxx> > > for the merge through battery-2.6.git. Thanks. Thanks, pulled. -- Sebastian
Attachment:
signature.asc
Description: Digital signature