> From: Przemyslaw Marczak <p.marc...@samsung.com> > > The functions error's numbers are standarized - but the error > messages are not. > > The errors are often handled with unclear error messages, > so why not use an errno standarized messages. > > Advantages: > - This could decrease the binary size.
Having an array of string ptrs adds some extra space needs. Each str needs a ptr and that ptr needs relocation, 8 bytes on 32 bits If you want to save space do this instead static const char const errno_message[] = "Success\0Operation not permitted\0No such file or directory" etc. Then count "\0" to find the error msg. Jocke _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot