From d5686a61d64a7c7424d6d4c93ac60cf5e324f3ad Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Mon, 22 May 2017 13:48:52 -0400 Subject: buildman: Fix bloat option when 'new' only drops functions In the case where a new build only decreases sizes and does not increase any size we still want to report what functions have been dropped when doing a bloat comparison. Cc: Simon Glass Signed-off-by: Tom Rini Reviewed-by: Simon Glass diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py index b0ea57e..acb0810 100644 --- a/tools/buildman/builder.py +++ b/tools/buildman/builder.py @@ -847,7 +847,7 @@ class Builder: delta.reverse() args = [add, -remove, grow, -shrink, up, -down, up - down] - if max(args) == 0: + if max(args) == 0 and min(args) == 0: return args = [self.ColourNum(x) for x in args] indent = ' ' * 15 -- cgit v0.10.2