summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2023-03-05 23:52:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-21 17:00:52 +0300
commit22358b9c418c101cdba1dc3aa819eabb724b43eb (patch)
treebc315797bc26eca69a2139b874f1f4494eaba5ad /mm
parenta7620312a082584b4043de91f4169bc4d0f05268 (diff)
downloadlinux-22358b9c418c101cdba1dc3aa819eabb724b43eb.tar.xz
power: supply: Ratelimit no data debug output
[ Upstream commit 155c45a25679f571c2ae57d10db843a9dfc63430 ] Reduce the amount of output this dev_dbg() statement emits into logs, otherwise if system software polls the sysfs entry for data and keeps getting -ENODATA, it could end up filling the logs up. This does in fact make systemd journald choke, since during boot the sysfs power supply entries are polled and if journald starts at the same time, the journal is just being repeatedly filled up, and the system stops on trying to start journald without booting any further. Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions