commit | a7ef6715c4b5905b663dddf3832dbdf77b3bf8ac | [log] [tgz] |
---|---|---|
author | Gao Feng <fgao@ikuai8.com> | Tue Jan 17 10:21:19 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 17 15:25:55 2017 -0500 |
tree | 2e01ff3ce59aa55523e48a109d2b2bdbc8f896e9 | |
parent | 0ee28e31553a6f2ed13223e565ae5a4d7a376942 [diff] |
net: ping: Use right format specifier to avoid type casting The inet_num is u16, so use %hu instead of casting it to int. And the sk_bound_dev_if is int actually, so it needn't cast to int. Signed-off-by: Gao Feng <fgao@ikuai8.com> Signed-off-by: David S. Miller <davem@davemloft.net>