[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160719.164936.636648029845762035.davem@davemloft.net>
Date: Tue, 19 Jul 2016 16:49:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vivien.didelot@...oirfairelinux.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...oirfairelinux.com, jiri@...lanox.com, sfeldma@...il.com,
idosch@...lanox.com, f.fainelli@...il.com, andrew@...n.ch
Subject: Re: [PATCH net] net: switchdev: change ageing_time type to clock_t
From: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
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@...oirfairelinux.com>
Applied.
Powered by blists - more mailing lists