diff options
author | Mark Brown <broonie@linaro.org> | 2014-01-15 11:46:35 +0000 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-15 11:46:35 +0000 |
commit | 598911b42c940158caa1169092a804903bde845e (patch) | |
tree | 15487a73d3854488ef679ee920c48fe1a90c28b3 /lib/assoc_array.c | |
parent | 1eb72f0b98fe7ea1c4bb2e9e294a865b044b2a82 (diff) | |
parent | 319e2e3f63c348a9b66db4667efa73178e18b17d (diff) | |
download | linux-598911b42c940158caa1169092a804903bde845e.tar.gz linux-598911b42c940158caa1169092a804903bde845e.tar.xz |
Merge tag 'v3.13-rc4' into regulator-pfuze100
Linux 3.13-rc4
Diffstat (limited to 'lib/assoc_array.c')
-rw-r--r-- | lib/assoc_array.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/assoc_array.c b/lib/assoc_array.c index 17edeaf19180..1b6a44f1ec3e 100644 --- a/lib/assoc_array.c +++ b/lib/assoc_array.c @@ -759,8 +759,8 @@ all_leaves_cluster_together: pr_devel("all leaves cluster together\n"); diff = INT_MAX; for (i = 0; i < ASSOC_ARRAY_FAN_OUT; i++) { - int x = ops->diff_objects(assoc_array_ptr_to_leaf(edit->leaf), - assoc_array_ptr_to_leaf(node->slots[i])); + int x = ops->diff_objects(assoc_array_ptr_to_leaf(node->slots[i]), + index_key); if (x < diff) { BUG_ON(x < 0); diff = x; |