summaryrefslogtreecommitdiff
path: root/src/lib/clog2.c
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2011-05-11 15:57:07 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-03-09 20:32:58 +0100
commit5807555f9a0afb94ad92535dd2933ee4dbd25088 (patch)
tree99f59cec4323f9a819c484d63efffb3f7ab2950d /src/lib/clog2.c
parentdfab0f69ae9af22a96f68364fb1c0d95798a21c9 (diff)
Don't try to compute I/O for empty sub buses.
I am not sure if the sub bus being 0 is a problem, or if the assumption there has to be at least one non empty link is just wrong. It certainly does not hurt to add a small consistency check in either case. Change-Id: I098446deef96a8baae26a7ca1ddd96e626a06dc5 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/693 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/lib/clog2.c')
0 files changed, 0 insertions, 0 deletions