[PATCH 1/2] lib: utils/serial: Cleanup int vs bool in semihosting_init() definitions
Michael Neuling
MichaelNeuling at tenstorrent.com
Wed Dec 11 20:36:28 PST 2024
> > -static inline int semihosting_init(void) { return SBI_ENODEV; }
> > -static inline int semihosting_enabled(void) { return 0; }
> > +static inline bool semihosting_init(void) { return SBI_ENODEV; }
> > +static inline bool semihosting_enabled(void) { return 0; }
> The bool type should return true or false.
Nice catch. I'll resend.
Mikey
More information about the opensbi
mailing list