aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2017-05-12 08:47:57 -0700
committerLinus Walleij <[email protected]>2017-05-22 17:36:13 +0200
commit664b7c4728821767e0228ee161bab87db2be58f1 (patch)
tree8b8d6507cbdd45754772a91f4b612bd171ad6d4a /tools/perf/util/scripting-engines/trace-event-python.c
parent020e0b1c8f19f1fc3bce23beeccd80c574ca0e49 (diff)
pinctrl: core: Fix warning by removing bogus code
Andre Przywara <[email protected]> noticed that we can get the following warning with -EPROBE_DEFER: "WARNING: CPU: 1 PID: 89 at drivers/base/dd.c:349 driver_probe_device+0x2ac/0x2e8" Let's fix the issue by removing the indices as suggested by Tejun Heo <[email protected]>. All we have to do here is kill the radix tree. I probably ended up with the indices after grepping for removal of all entries using radix_tree_for_each_slot() and the first match found was gmap_radix_tree_free(). Anyways, no need for indices here, and we can just do remove all the entries using radix_tree_for_each_slot() along how the item_kill_tree() test case does. Fixes: c7059c5ac70a ("pinctrl: core: Add generic pinctrl functions for managing groups") Fixes: a76edc89b100 ("pinctrl: core: Add generic pinctrl functions for managing groups") Reported-by: Andre Przywara <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> Reviewed-by: Andre Przywara <[email protected]> Tested-by: Andre Przywara <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions