commit | b2176a9ce6b397fd39d320eb1ceb9ef9dae6895d | [log] [tgz] |
---|---|---|
author | Alexey Kardashevskiy <aik@ozlabs.ru> | Wed Jan 27 19:36:37 2021 +1100 |
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | Thu Jan 28 14:22:49 2021 +1100 |
tree | 91035b9985c34e2ceea8634424dbaf8662372b7f | |
parent | b7ea243afd3917b9dfc58fda046138fba0aa9b1e [diff] |
helpers: Define MIN() We already have MAX() defined, add MIN() to the common helpers header. Using the common helper also fixes a bug in tpmdrivers's MIN() where it was reverted. Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> --- Changes: v2: * updated the comment about a fixed bug