summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-05-17 12:04:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-16 11:34:51 +0200
commit38fe49aae205d010ce9a40f8b95cb7772b91cabf (patch)
tree2e015b6fea5c1085e275773bf6f66dfe71e0c7ba /tools/perf/scripts/python/export-to-postgresql.py
parent5f155c4046200f067b1dc3140ea99ef56e4e0b74 (diff)
net: mdiobus: get rid of a BUG_ON()
[ Upstream commit 1dde47a66d4fb181830d6fa000e5ea86907b639e ] We spotted a bug recently during a review where a driver was unregistering a bus that wasn't registered, which would trigger this BUG_ON(). Let's handle that situation more gracefully, and just print a warning and return. Reported-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions