aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2018-10-19 09:48:56 +0200
committerBoris Brezillon <[email protected]>2018-11-05 22:23:43 +0100
commitc7f6dc60a319edac986486580b2fc31475ceba11 (patch)
tree7d18e42d8f548b855b1f69c059e6616995437f3d /tools/perf/scripts/python/bin/export-to-postgresql-report
parent00142d6ffeb67b22e1f5259c9f3af540ed1d2b62 (diff)
mtd: maps: physmap: Use platform_get_resource() to retrieve iomem resources
Stop manipulating the dev->resource array directly and use the platform_get_resource() helper instead. While at it, fix the loop check so that we never overflow the info->maps and info->mtds array even if the number of resources attached to the platform dev is higher than MAX_RESOURCES. Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Ricardo Ribalda Delgado <[email protected]> Acked-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions