Re: [PATCH] power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG

2019-04-18 Thread Andrey Smirnov
On Wed, Apr 17, 2019 at 7:35 PM Sebastian Reichel wrote: > > Hi, > > On Fri, Apr 05, 2019 at 12:30:20AM -0700, Andrey Smirnov wrote: > > Fix a similar endless event loop as was done in commit 8dcf32175b4e > > ("i2c: prevent endless uevent loop with CONFIG_I2C_DEBUG_CORE"): > > > > The culprit is

Re: [PATCH] power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG

2019-04-17 Thread Sebastian Reichel
Hi, On Fri, Apr 05, 2019 at 12:30:20AM -0700, Andrey Smirnov wrote: > Fix a similar endless event loop as was done in commit 8dcf32175b4e > ("i2c: prevent endless uevent loop with CONFIG_I2C_DEBUG_CORE"): > > The culprit is the dev_dbg printk in the i2c uevent handler. If > this is activated

[PATCH] power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG

2019-04-05 Thread Andrey Smirnov
Fix a similar endless event loop as was done in commit 8dcf32175b4e ("i2c: prevent endless uevent loop with CONFIG_I2C_DEBUG_CORE"): The culprit is the dev_dbg printk in the i2c uevent handler. If this is activated (for instance by CONFIG_I2C_DEBUG_CORE) it results in an endless loop with sy