diff options
| author | Andrew Goodbody <[email protected]> | 2025-08-07 11:04:04 +0100 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2025-08-25 16:20:47 +0200 |
| commit | 7aac8439445793baa9313a7d5139b77f968b2885 (patch) | |
| tree | 73d9b11485ad6e7b6af923c101285ef497a578b1 /scripts/objdiff | |
| parent | 0d1c4fd514c13fbda3b3016cfa9ce00b01e42bf9 (diff) | |
pinctrl: zynqmp: Ensure ret is initialised
In zynqmp_pinctrl_prepare_func_groups if called with func->ngroups == 0
then ret will not be assigned to before its value is returned on exit.
Initialise ret to ensure it is always valid.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
