diff options
author | Vivien Didelot | 2016-07-18 21:02:06 +0200 |
---|---|---|
committer | David S. Miller | 2016-07-20 01:49:20 +0200 |
commit | eabfdda93477f6ee5e153f560560e9cb1c617fd7 (patch) | |
tree | 7db35299b99f024c4562c5c49abcf58502ad31f1 /net/packet/af_packet.c | |
parent | Update maintainer for EHEA driver. (diff) | |
download | kernel-qcow2-linux-eabfdda93477f6ee5e153f560560e9cb1c617fd7.tar.gz kernel-qcow2-linux-eabfdda93477f6ee5e153f560560e9cb1c617fd7.tar.xz kernel-qcow2-linux-eabfdda93477f6ee5e153f560560e9cb1c617fd7.zip |
net: switchdev: change ageing_time type to clock_t
The switchdev value for the SWITCHDEV_ATTR_ID_BRIDGE_AGEING_TIME
attribute is a clock_t and requires to use helpers such as
clock_t_to_jiffies() to convert to milliseconds.
Change ageing_time type from u32 to clock_t to make it explicit.
Fixes: f55ac58ae64c ("switchdev: add bridge ageing_time attribute")
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet/af_packet.c')
0 files changed, 0 insertions, 0 deletions