Silence clang warning about extraneous parenthesis
Verified that this exists upstream already: https://git.kernel.org/cgit/utils/dtc/dtc.git/tree/checks.c#n628 Differential Revision: https://reviews.freebsd.org/D913 Reviewed by: imp
This commit is contained in:
parent
649a80dc4c
commit
a6eace857e
@ -624,11 +624,11 @@ static void check_avoid_default_addr_size(struct check *c, struct node *dt,
|
||||
if (!reg && !ranges)
|
||||
return;
|
||||
|
||||
if ((node->parent->addr_cells == -1))
|
||||
if (node->parent->addr_cells == -1)
|
||||
FAIL(c, "Relying on default #address-cells value for %s",
|
||||
node->fullpath);
|
||||
|
||||
if ((node->parent->size_cells == -1))
|
||||
if (node->parent->size_cells == -1)
|
||||
FAIL(c, "Relying on default #size-cells value for %s",
|
||||
node->fullpath);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user