diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2024-08-20 15:16:53 +0300 |
---|---|---|
committer | Rob Herring (Arm) <robh@kernel.org> | 2024-08-26 16:45:09 +0300 |
commit | 39ab331ab5d377a18fbf5a0e0b228205edfcc7f4 (patch) | |
tree | aa0282cfc107ffcc1eaa6f26e32fe60785618dba /tools/perf/scripts/python | |
parent | d6ae27bb86fcc89b13448bb76e3d13b64837904f (diff) | |
download | linux-39ab331ab5d377a18fbf5a0e0b228205edfcc7f4.tar.xz |
of/irq: Refer to actual buffer size in of_irq_parse_one()
Replace two open-coded calculations of the buffer size by invocations of
sizeof() on the buffer itself, to make sure the code will always use the
actual buffer size.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/817c0b9626fd30790fc488c472a3398324cfcc0c.1724156125.git.geert+renesas@glider.be
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions