Re: [PATCH net] net: switchdev: change ageing_time type to clock_t

2016-07-19 Thread David Miller
From: Vivien Didelot Date: Mon, 18 Jul 2016 15:02:06 -0400 > 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

[PATCH net] net: switchdev: change ageing_time type to clock_t

2016-07-18 Thread Vivien Didelot
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