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

From: David Miller
Date: Tue Jul 19 2016 - 19:49:43 EST

From: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
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 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@xxxxxxxxxxxxxxxxxxxx>