On Thu, 15 Sept 2022 at 03:15, Sughosh Ganu <sughosh.g...@linaro.org> wrote: .... > +/** > + * fwu_get_active_index() - Get active_index from the FWU metadata > + * @active_idxp: active_index value to be read > + * > + * Read the active_index field from the FWU metadata and place it in > + * the variable pointed to be the function argument. > + * > + * Return: 0 if OK, -ve on error > + * > + */ > +int fwu_get_active_index(u32 *active_idxp); > + Bank index is u32 here and uint in fwu_update_active_index(), so s/u32/uint ?
cheers.