Commit 7f8773d
committed
se: Fix Wbool-conversion warning in find_generic_rule_for_aid()
find_generic_rule_for_aid() returns pointer, so obviously 'return false' is
just confusingly stupid. Newer clang (e.g. on ArchLinux) also
complains:
se/ace.c:719:10: error: initialization of pointer of type 'struct seel_ace_rule *' to null from a constant boolean expression [-Werror,-Wbool-conversion]
Fixes: 1be05e6 ("se: Initial commit")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>1 parent b627005 commit 7f8773d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
719 | | - | |
| 719 | + | |
720 | 720 | | |
721 | 721 | | |
722 | 722 | | |
| |||
0 commit comments