u-boot icon indicating copy to clipboard operation
u-boot copied to clipboard

pinctrl: fixed compile error caused by potentially uninitialized data pointer

Open olell opened this issue 1 year ago • 0 comments

This fixes the gcc "maybe-uninitialized" error, the data pointer is set to NULL by default and checked if it still is NULL after an assignment should have happened.

Build successfully using gcc in version 12.4.0 and successfully boots on my rv1106g3 chip.

olell avatar Jan 05 '25 20:01 olell