Re: [Cocci] [patch 04/13] net: mac80211: Use ktime_get_ts()

From: Thomas Gleixner
Date: Thu Jun 12 2014 - 06:50:18 EST


On Thu, 12 Jun 2014, Julia.Lawall@xxxxxxx wrote:

> "Luis R. Rodriguez" <mcgrof@xxxxxxxxxxxxxxxx> a écrit :
>
> > On Wed, Jun 11, 2014 at 11:53 PM, Johannes Berg
> > <johannes@xxxxxxxxxxxxxxxx> wrote:
> > > On Wed, 2014-06-11 at 23:59 +0000, Thomas Gleixner wrote:
> > >
> > > > do_posix_clock_monotonic_gettime() is a leftover from the initial
> > > > posix timer implementation which maps to ktime_get_ts().
> > >
> > > I didn't even know we *had* such code, heh.
> >
> > If we want want maintainers to police this stuff we can add an SmPL
> > rule for this upstream and have maintainer use 'make coccicheck
> > M=path/'. The way of the future. The way of the future...
>
> If I could have a little more context, I can do something.

I already killed all instances of do_posix_clock_monotonic_gettime().
The define will be gone soon, so nothing to worry about.

Thanks,

tglx