[U-Boot] [U-Boot,v3,10/14] log: Add a test command

Tom Rini trini at konsulko.com
Thu Nov 30 03:35:53 UTC 2017


On Mon, Nov 20, 2017 at 03:33:31PM -0700, Simon Glass wrote:

> Add a command which exercises the logging system.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Lukasz Majewski <lukma at denx.de>

NAK.  With clang-3.8 we see this (and many more):
test/log/log_test.c:35:16: warning: implicit conversion from
enumeration type 'enum uclass_id' to different enumeration type 'enum
log_category_t' [-Wenum-conversion]
UCLASS_MMC, UCLASS_SPI, LOGC_NONE, LOGC_END
^~~~~~~~~~                                          

For nearly all instances of UCLASS_MMC and UCLASS_SPI in the code.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171129/072d6d30/attachment.sig>


More information about the U-Boot mailing list