Skip to content

-Wpointer-bool-conversion in drivers/net/dsa/sja1105/sja1105_main.c #1139

@nathanchance

Description

@nathanchance
drivers/net/dsa/sja1105/sja1105_main.c:3418:38: warning: address of array 'match->compatible' will always evaluate to 'true' [-Wpointer-bool-conversion]
        for (match = sja1105_dt_ids; match->compatible; match++) {
        ~~~                          ~~~~~~~^~~~~~~~~~
1 warning generated.

Patch submitted: https://lore.kernel.org/r/20200821222515.414167-1-natechancellor@gmail.com

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions