diff options
author | Xin Long <[email protected]> | 2017-11-26 21:12:09 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-11-28 15:56:40 -0500 |
commit | 5eb3d22a8a05af401257e781ddeefc412bfb8542 (patch) | |
tree | b444c5f3ba56b26a7b08a75ae8f2afe7681593e3 /drivers/fpga/fpga-mgr.c | |
parent | a8dd397903a6e57157f6265911f7d35681364427 (diff) |
bonding: use nla_get_u64 to extract the value for IFLA_BOND_AD_ACTOR_SYSTEM
bond_opt_initval expects a u64 type param, it's better to use
nla_get_u64 to extract the value here, to eliminate a sparse
endianness mismatch warning.
Fixes: 171a42c38c6e ("bonding: add netlink support for sys prio, actor sys mac, and port key")
Signed-off-by: Xin Long <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions