[ovs-git] [openvswitch/ovs] 495a6c: ovs-router: Fix sparse warning

GitHub noreply at github.com
Tue Nov 4 17:50:55 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 495a6c342b3fc38c375b20cd2dcd9b9ac9017b64
      https://github.com/openvswitch/ovs/commit/495a6c342b3fc38c375b20cd2dcd9b9ac9017b64
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2014-11-04 (Tue, 04 Nov 2014)

  Changed paths:
    M lib/ovs-router.c

  Log Message:
  -----------
  ovs-router: Fix sparse warning

Fixes following warning:
../lib/ovs-router.c:162:11: warning: incorrect type in assignment
(different base types)
../lib/ovs-router.c:162:11:    expected restricted ovs_be32
[usertype] <noident>
../lib/ovs-router.c:162:11:    got restricted ovs_be16

Reported-by: Ben Pfaff <blp at nicira.com>
Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>




More information about the git mailing list