Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1446800
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net] net: switchdev: change ageing_time type to clock_t |
| Date | 2016-07-20 01:50 +0200 |
| Message-ID | <rWMVX-22W-5@gated-at.bofh.it> (permalink) |
| References | <rWm5r-1OZ-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Vivien Didelot <vivien.didelot@savoirfairelinux.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@savoirfairelinux.com>
Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net] net: switchdev: change ageing_time type to clock_t Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-07-18 21:10 +0200 Re: [PATCH net] net: switchdev: change ageing_time type to clock_t David Miller <davem@davemloft.net> - 2016-07-20 01:50 +0200
csiph-web