Skip to content

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

Closed

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/[email protected]

Activity

  1. added
    [BUG] linux
    [PATCH] Submitted
    on Aug 21, 2020
  2. self-assigned this
    on Aug 21, 2020
  3. added
    [PATCH] Accepted
    and removed
    [PATCH] Submitted
    on Aug 25, 2020
  4. added
    [FIXED][LINUX] 5.9
    and removed
    [PATCH] Accepted
    on Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

-Wpointer-bool-conversion[BUG] linux[FIXED][LINUX] 5.9

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions