Re: [PATCH] MIPS: Use address-of operator on section symbols

2021-01-05 Thread Florian Fainelli
On 1/5/21 12:18 PM, Nathan Chancellor wrote: > When building xway_defconfig with clang: > > arch/mips/lantiq/prom.c:82:23: error: array comparison always evaluates > to true [-Werror,-Wtautological-compare] > else if (__dtb_start != __dtb_end) > ^ > 1 error gen

Re: [PATCH] MIPS: Use address-of operator on section symbols

2021-01-07 Thread Thomas Bogendoerfer
On Tue, Jan 05, 2021 at 01:18:27PM -0700, Nathan Chancellor wrote: > When building xway_defconfig with clang: > > arch/mips/lantiq/prom.c:82:23: error: array comparison always evaluates > to true [-Werror,-Wtautological-compare] > else if (__dtb_start != __dtb_end) >