[U-Boot] [PATCH] api: fix type mismatch