diff options
author | Sven Eckelmann <sven@narfation.org> | 2018-02-20 12:08:10 +0100 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2018-02-27 13:02:36 +0100 |
commit | d7625f9f72dc148b4f25d9bc5014b710e1024b15 (patch) | |
tree | a3379595ac1333ff624375ee047d95afe3bdecd8 /net/batman-adv/main.h | |
parent | 84d0a394808621619a4b319c6eed16e3b389e214 (diff) |
batman-adv: Avoid relation operator comparison with bool
commit 785ea1144182 ("batman-adv: Distributed ARP Table - create DHT helper
functions") introduced a return check of batadv_compare_eth which uses a
boolean return value since commit 16af73458aca ("batman-adv: main,
batadv_compare_eth return bool"). A relational (<, >, <= or >=) operator
is not the right one for such a check.
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Acked-by: Antonio Quartulli <a@unstable.cc>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/main.h')
0 files changed, 0 insertions, 0 deletions