Re: [PATCH] struct char_device

Alexander Viro (viro@math.psu.edu)
Tue, 22 May 2001 13:41:45 -0400 (EDT)


On Tue, 22 May 2001, Oliver Xymoron wrote:

> > Not always. If the thing is used all over the tree, it'd better be
> > greppable. I hate the foo->de stuff - it's not localized and it's
> > impossible to grep for.
>
> I'd like to say the compiler will happily find it for you, but the
> kernel's mostly conditionally compiled..
>
> Have you tried something like:
>
> find -type f | xargs grep -A100 'struct_name' | grep -e '\belement\b'
>
> Obviously not a fix, but possibly helpful.

Too many false negatives. And you apparently missed a part of fun -
in that case there's a certain TLD...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/