lib: sha512: include "compiler.h"
PATCH 1/1 lib: sha512: include "compiler.h"
Include "compiler.h" in sha512.c. This is needed by 'cpu_to_be64' macro that used in 'sha512_base_do_finalize' function.
Signed-off-by Siew Chin Lim <[email protected]>
--- lib/sha512.c | 1 + 1 file changed, 1 insertion(+)
lib/sha512.c +1 -0
@@ -16,6 +16,7 @@#else #include <string.h> #endif /* USE_HOSTCC */ +#include <compiler.h> #include <watchdog.h> #include <u-boot/sha512.h>
Signature · 1 line
2.13.0
PATCH 1/1 lib: sha512: include "compiler.h"
Quoted 8 lines · Siew Chin Lim
Include "
compiler.h" insha512.c. This is needed by 'cpu_to_be64' macro that used in 'sha512_base_do_finalize' function.Signed-off-by Siew Chin Lim <[email protected]>--- lib/sha512.c | 1 + 1 file changed, 1 insertion(+)
Reviewed-by Simon Glass <[email protected]>
PATCH 1/1 lib: sha512: include "compiler.h"
In reply to Siew Chin LimQuoted 5 lines · Siew Chin Lim
Include "
compiler.h" insha512.c. This is needed by 'cpu_to_be64' macro that used in 'sha512_base_do_finalize' function.Signed-off-by Siew Chin Lim <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210225/2eb3f862/attachment.sig>