summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>2019-04-03 15:47:18 +0200
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2019-04-05 11:48:07 +0200
commite43c426a777eb2554d8a29d31311debe897badd9 (patch)
treedee35eea41fa1846af810fddf4b00048fce22a9a /scripts/gdb/linux/proc.py
parent8c2ffd9174779014c3fe1f96d9dc3641d9175f00 (diff)
platform/chrome: cros_ec_debugfs: Remove dev_warn when console log is not supported
If the debugfs interface is enabled, every time a CrOS device is instantiated a warning like this can appear for every probed device. "device does not support reading the console log" The warning message adds nothing, rather it is source of confusion as this is expected on some cases. For example, on Samus, that has a cros-ec and a cros-pd instance the message appears twice, and I suspect this will happen also on those devices that has a non-standard EC. If the command is not supported just return silently and don't print the warning, otherwise the code will already print an error. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by: Guenter Roeck <groeck@chromium.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions