1 Sep 2010 21:07
Re: Question on Coccinelle
Julia Lawall <julia <at> diku.dk>
2010-09-01 19:07:07 GMT
2010-09-01 19:07:07 GMT
[cocci mailing list added in CC]
On Wed, 1 Sep 2010, Paul E. McKenney wrote:
> On Wed, Sep 01, 2010 at 09:44:23AM -0700, Paul E. McKenney wrote:
> > On Wed, Sep 01, 2010 at 08:06:18AM +0200, Julia Lawall wrote:
>
> [ . . . ]
>
> > Hmmmm... I am getting hit by loops:
> >
> > diff =
> > --- drivers/net/cnic.c 2010-08-16 11:54:39.000000000 -0700
> > <at> <at> -2101,13 +2101,10 <at> <at> static void service_kcqes(struct cnic_de
> > goto end;
> > }
> >
> > - rcu_read_lock();
> > - ulp_ops = rcu_dereference(cp->ulp_ops[ulp_type]);
> > if (likely(ulp_ops)) {
> > - ulp_ops->indicate_kcqes(cp->ulp_handle[ulp_type],
> > cp->completed_kcq + i, j);
> > }
> > - rcu_read_unlock();
> > end:
> > num_cqes -= j;
> > i += j;
> >
> >
> > It took me a bit to figure out that the complaint was due to the fact
(Continue reading)
RSS Feed