diff options
| author | Dan Carpenter <[email protected]> | 2021-11-17 10:26:05 +0300 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2021-12-07 12:25:29 -0800 |
| commit | 2d4fcc5ab35fac2e995f497d62439dcbb416babc (patch) | |
| tree | 17c081cb53f5ec67a9834cff470f70282c5b945a /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
| parent | e53f2086856c16ccab80fd0ac012baa1ae88af73 (diff) | |
clk: versatile: clk-icst: use after free on error path
This frees "name" and then tries to display in as part of the error
message on the next line. Swap the order.
Fixes: 1b2189f3aa50 ("clk: versatile: clk-icst: Ensure clock names are unique")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/20211117072604.GC5237@kili
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions