diff options
author | Pierre Gondois <pierre.gondois@arm.com> | 2022-09-30 16:49:36 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-10-03 18:21:37 +0200 |
commit | 7a7f58575483a74db4cc2c1e37f21ddda057083d (patch) | |
tree | 0f4adb491181fafdaed5658b84395c77e8e84aa2 /Makefile | |
parent | dt-bindings: leds: Add MediaTek MT6370 flashlight (diff) | |
download | linux-7a7f58575483a74db4cc2c1e37f21ddda057083d.tar.xz linux-7a7f58575483a74db4cc2c1e37f21ddda057083d.zip |
of: base: Shift refcount decrement in of_find_last_cache_level()
Currently, of_find_next_cache_node() and of_property_read_u32()
are called on objects after their refcount have been decremented.
Re-order the calls to decrement the refcount after the function
calls.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Link: https://lore.kernel.org/r/20220930144936.2882481-1-pierre.gondois@arm.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions