Hi Thierry:
How about change it to this?
while (*match->compatible) {
This is more beautiful.:-)
Thanks,
Yangtao
On Thu, Nov 22, 2018 at 4:50 PM Thierry Reding wrote:
>
> On Thu, Nov 22, 2018 at 12:52:44AM -0700, Nathan Chancellor wrote:
> > Clang warns:
> >
> > drivers/soc/tegra
On Thu, Nov 22, 2018 at 12:52:44AM -0700, Nathan Chancellor wrote:
> Clang warns:
>
> drivers/soc/tegra/common.c:27:16: error: address of array
> 'match->compatible' will always evaluate to 'true'
> [-Werror,-Wpointer-bool-conversion]
> while (match->compatible) {
> ~ ~~~^
On Thu, Nov 22, 2018 at 3:53 PM Nathan Chancellor
wrote:
>
> Clang warns:
>
> drivers/soc/tegra/common.c:27:16: error: address of array
> 'match->compatible' will always evaluate to 'true'
> [-Werror,-Wpointer-bool-conversion]
> while (match->compatible) {
> ~ ~~~^
Clang warns:
drivers/soc/tegra/common.c:27:16: error: address of array
'match->compatible' will always evaluate to 'true'
[-Werror,-Wpointer-bool-conversion]
while (match->compatible) {
~ ~~~^~
1 error generated.
Whoops, we have an infinite loop and QEMU no longer
4 matches
Mail list logo