Name of failed tests
====================
* checkpatch next ./net/batman-adv/gateway_common.c
* checkpatch next ./net/batman-adv/main.c
* difference between net-next and batadv next
Output of different failed tests
================================
checkpatch next ./net/batman-adv/gateway_common.c
-------------------------------------------------
WARNING: Comparisons should place the constant on the right side of the test
#92: FILE: ./net/batman-adv/gateway_common.c:92:
+ if (U32_MAX < ldown) {
WARNING: Comparisons should place the constant on the right side of the test
#142: FILE: ./net/batman-adv/gateway_common.c:142:
+ if (U32_MAX < lup) {
total: 0 errors, 2 warnings, 0 checks, 287 lines checked
checkpatch next ./net/batman-adv/main.c
---------------------------------------
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#911: FILE: ./net/batman-adv/main.c:911:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#964: FILE: ./net/batman-adv/main.c:964:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
total: 0 errors, 0 warnings, 2 checks, 1284 lines checked
difference between net-next and batadv next
-------------------------------------------
net/batman-adv/bridge_loop_avoidance.c | 35 +++---------------------
net/batman-adv/routing.c | 19 ++-----------
net/batman-adv/translation-table.c | 24 ++--------------
net/batman-adv/types.h | 2 -
4 files changed, 12 insertions(+), 68 deletions(-)
Name of failed tests
====================
* checkpatch next ./net/batman-adv/gateway_common.c
* checkpatch next ./net/batman-adv/main.c
* difference between net-next and batadv next
Output of different failed tests
================================
checkpatch next ./net/batman-adv/gateway_common.c
-------------------------------------------------
WARNING: Comparisons should place the constant on the right side of the test
#92: FILE: ./net/batman-adv/gateway_common.c:92:
+ if (U32_MAX < ldown) {
WARNING: Comparisons should place the constant on the right side of the test
#142: FILE: ./net/batman-adv/gateway_common.c:142:
+ if (U32_MAX < lup) {
total: 0 errors, 2 warnings, 0 checks, 287 lines checked
checkpatch next ./net/batman-adv/main.c
---------------------------------------
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#911: FILE: ./net/batman-adv/main.c:911:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#964: FILE: ./net/batman-adv/main.c:964:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
total: 0 errors, 0 warnings, 2 checks, 1284 lines checked
difference between net-next and batadv next
-------------------------------------------
net/batman-adv/bridge_loop_avoidance.c | 35 +++---------------------
net/batman-adv/routing.c | 19 ++-----------
net/batman-adv/translation-table.c | 24 ++--------------
net/batman-adv/types.h | 2 -
4 files changed, 12 insertions(+), 68 deletions(-)
Name of failed tests
====================
* checkpatch next ./net/batman-adv/gateway_common.c
* checkpatch next ./net/batman-adv/main.c
* difference between net-next and batadv next
Output of different failed tests
================================
checkpatch next ./net/batman-adv/gateway_common.c
-------------------------------------------------
WARNING: Comparisons should place the constant on the right side of the test
#92: FILE: ./net/batman-adv/gateway_common.c:92:
+ if (U32_MAX < ldown) {
WARNING: Comparisons should place the constant on the right side of the test
#142: FILE: ./net/batman-adv/gateway_common.c:142:
+ if (U32_MAX < lup) {
total: 0 errors, 2 warnings, 0 checks, 287 lines checked
checkpatch next ./net/batman-adv/main.c
---------------------------------------
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#911: FILE: ./net/batman-adv/main.c:911:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#964: FILE: ./net/batman-adv/main.c:964:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
total: 0 errors, 0 warnings, 2 checks, 1284 lines checked
difference between net-next and batadv next
-------------------------------------------
net/batman-adv/bridge_loop_avoidance.c | 35 +++---------------------
net/batman-adv/routing.c | 19 ++-----------
net/batman-adv/translation-table.c | 24 ++--------------
net/batman-adv/types.h | 2 -
4 files changed, 12 insertions(+), 68 deletions(-)
Name of failed tests
====================
* checkpatch next ./net/batman-adv/gateway_common.c
* checkpatch next ./net/batman-adv/main.c
* difference between net-next and batadv next
Output of different failed tests
================================
checkpatch next ./net/batman-adv/gateway_common.c
-------------------------------------------------
WARNING: Comparisons should place the constant on the right side of the test
#92: FILE: ./net/batman-adv/gateway_common.c:92:
+ if (U32_MAX < ldown) {
WARNING: Comparisons should place the constant on the right side of the test
#142: FILE: ./net/batman-adv/gateway_common.c:142:
+ if (U32_MAX < lup) {
total: 0 errors, 2 warnings, 0 checks, 287 lines checked
checkpatch next ./net/batman-adv/main.c
---------------------------------------
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#911: FILE: ./net/batman-adv/main.c:911:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#964: FILE: ./net/batman-adv/main.c:964:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
total: 0 errors, 0 warnings, 2 checks, 1284 lines checked
difference between net-next and batadv next
-------------------------------------------
net/batman-adv/bridge_loop_avoidance.c | 35 +++---------------------
net/batman-adv/routing.c | 19 ++-----------
net/batman-adv/translation-table.c | 24 ++--------------
net/batman-adv/types.h | 2 -
4 files changed, 12 insertions(+), 68 deletions(-)
Your request for analysis of batctl has been completed successfully.
The results are available at https://scan.coverity.com/projects/batctl
Analysis Summary:
New defects found: 0
Defects eliminated: 0
Name of failed tests
====================
* checkpatch next ./net/batman-adv/gateway_common.c
* checkpatch next ./net/batman-adv/main.c
* difference between net-next and batadv next
Output of different failed tests
================================
checkpatch next ./net/batman-adv/gateway_common.c
-------------------------------------------------
WARNING: Comparisons should place the constant on the right side of the test
#92: FILE: ./net/batman-adv/gateway_common.c:92:
+ if (U32_MAX < ldown) {
WARNING: Comparisons should place the constant on the right side of the test
#142: FILE: ./net/batman-adv/gateway_common.c:142:
+ if (U32_MAX < lup) {
total: 0 errors, 2 warnings, 0 checks, 287 lines checked
checkpatch next ./net/batman-adv/main.c
---------------------------------------
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#911: FILE: ./net/batman-adv/main.c:911:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#964: FILE: ./net/batman-adv/main.c:964:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
total: 0 errors, 0 warnings, 2 checks, 1284 lines checked
difference between net-next and batadv next
-------------------------------------------
net/batman-adv/bridge_loop_avoidance.c | 35 +++---------------------
net/batman-adv/routing.c | 19 ++-----------
net/batman-adv/translation-table.c | 24 ++--------------
net/batman-adv/types.h | 2 -
4 files changed, 12 insertions(+), 68 deletions(-)
--- batman-adv_master.packet.h 2015-09-27 00:05:01.794035250 +0200
+++ batctl_master.packet.h 2015-09-27 00:05:01.802035795 +0200
@@ -72,7 +72,8 @@
* enum batadv_iv_flags - flags used in B.A.T.M.A.N. IV OGM packets
* @BATADV_NOT_BEST_NEXT_HOP: flag is set when ogm packet is forwarded and was
* previously received from someone else than the best neighbor.
- * @BATADV_PRIMARIES_FIRST_HOP: flag unused.
+ * @BATADV_PRIMARIES_FIRST_HOP: flag is set when the primary interface address
+ * is used, and the packet travels its first hop.
* @BATADV_DIRECTLINK: flag is for the first hop or if rebroadcasted from a
* one hop neighbor on the interface where it was originally received.
*/
Name of failed tests
====================
* checkpatch next ./net/batman-adv/gateway_common.c
* checkpatch next ./net/batman-adv/main.c
* difference between net-next and batadv next
Output of different failed tests
================================
checkpatch next ./net/batman-adv/gateway_common.c
-------------------------------------------------
WARNING: Comparisons should place the constant on the right side of the test
#92: FILE: ./net/batman-adv/gateway_common.c:92:
+ if (U32_MAX < ldown) {
WARNING: Comparisons should place the constant on the right side of the test
#142: FILE: ./net/batman-adv/gateway_common.c:142:
+ if (U32_MAX < lup) {
total: 0 errors, 2 warnings, 0 checks, 287 lines checked
checkpatch next ./net/batman-adv/main.c
---------------------------------------
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#911: FILE: ./net/batman-adv/main.c:911:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#964: FILE: ./net/batman-adv/main.c:964:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
total: 0 errors, 0 warnings, 2 checks, 1284 lines checked
difference between net-next and batadv next
-------------------------------------------
net/batman-adv/bridge_loop_avoidance.c | 35 +++---------------------
net/batman-adv/routing.c | 19 ++-----------
net/batman-adv/translation-table.c | 24 ++--------------
net/batman-adv/types.h | 2 -
4 files changed, 12 insertions(+), 68 deletions(-)
Name of failed tests
====================
* checkpatch next ./net/batman-adv/gateway_common.c
* checkpatch next ./net/batman-adv/main.c
* difference between net-next and batadv next
Output of different failed tests
================================
checkpatch next ./net/batman-adv/gateway_common.c
-------------------------------------------------
WARNING: Comparisons should place the constant on the right side of the test
#92: FILE: ./net/batman-adv/gateway_common.c:92:
+ if (U32_MAX < ldown) {
WARNING: Comparisons should place the constant on the right side of the test
#142: FILE: ./net/batman-adv/gateway_common.c:142:
+ if (U32_MAX < lup) {
total: 0 errors, 2 warnings, 0 checks, 287 lines checked
checkpatch next ./net/batman-adv/main.c
---------------------------------------
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#911: FILE: ./net/batman-adv/main.c:911:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#964: FILE: ./net/batman-adv/main.c:964:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
total: 0 errors, 0 warnings, 2 checks, 1284 lines checked
difference between net-next and batadv next
-------------------------------------------
net/batman-adv/bridge_loop_avoidance.c | 35 +++---------------------
net/batman-adv/routing.c | 19 ++-----------
net/batman-adv/translation-table.c | 24 ++--------------
net/batman-adv/types.h | 2 -
4 files changed, 12 insertions(+), 68 deletions(-)
Name of failed tests
====================
* checkpatch next ./net/batman-adv/gateway_common.c
* checkpatch next ./net/batman-adv/main.c
* difference between net-next and batadv next
Output of different failed tests
================================
checkpatch next ./net/batman-adv/gateway_common.c
-------------------------------------------------
WARNING: Comparisons should place the constant on the right side of the test
#92: FILE: ./net/batman-adv/gateway_common.c:92:
+ if (U32_MAX < ldown) {
WARNING: Comparisons should place the constant on the right side of the test
#142: FILE: ./net/batman-adv/gateway_common.c:142:
+ if (U32_MAX < lup) {
total: 0 errors, 2 warnings, 0 checks, 287 lines checked
checkpatch next ./net/batman-adv/main.c
---------------------------------------
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#911: FILE: ./net/batman-adv/main.c:911:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
CHECK: 'wether' may be misspelled - perhaps 'whether'?
#964: FILE: ./net/batman-adv/main.c:964:
+ * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
total: 0 errors, 0 warnings, 2 checks, 1284 lines checked
difference between net-next and batadv next
-------------------------------------------
net/batman-adv/bridge_loop_avoidance.c | 35 +++---------------------
net/batman-adv/routing.c | 19 ++-----------
net/batman-adv/translation-table.c | 24 ++--------------
net/batman-adv/types.h | 2 -
4 files changed, 12 insertions(+), 68 deletions(-)