u-boot/board/ti/common
Tom Rini e76e85c9f4 board: ti: common: Fix pointer-bool-conversion warnings
When building this code with clang-10 a number of warnings will be
generated along the lines of:
warning: address of array 'ep->version' will always evaluate to 'true'

Convert these checks to checking the strlen of the part of the array we
care about.  As this array will be null terminated previously by us,
this is safe.

Cc: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
2020-06-16 17:00:02 +05:30
..
board_detect.c board: ti: common: Fix pointer-bool-conversion warnings 2020-06-16 17:00:02 +05:30
board_detect.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
Kconfig Kconfig: ti: Make board detect EEPROM addresses depend BOARD_DETECT 2019-11-07 18:39:18 -05:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00