diff options
| author | Krzysztof Kozlowski <[email protected]> | 2022-01-11 21:13:59 +0100 |
|---|---|---|
| committer | Krzysztof Kozlowski <[email protected]> | 2022-01-23 12:21:56 +0100 |
| commit | 50ebd19e3585b9792e994cfa8cbee8947fe06371 (patch) | |
| tree | b4eed7d4dc440ba48ccec1587ef5b5c405b8c0d4 /scripts/gcc-plugins | |
| parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff) | |
pinctrl: samsung: drop pin banks references on error paths
The driver iterates over its devicetree children with
for_each_child_of_node() and stores for later found node pointer. This
has to be put in error paths to avoid leak during re-probing.
Fixes: ab663789d697 ("pinctrl: samsung: Match pin banks with their device nodes")
Cc: <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Sam Protsenko <[email protected]>
Reviewed-by: Chanho Park <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions