Re: [RFC PATCH v3] core_pattern: fix long parameters was truncatedby core_pattern handler

From: Andrew Morton
Date: Tue Aug 24 2010 - 02:25:37 EST


On Tue, 24 Aug 2010 14:18:32 +0800 Xiaotian Feng <dfeng@xxxxxxxxxx> wrote:

> >
> > Something like this, although I didn't try very hard. Just a
> > suggestion to work with ;)
> >
> Yep, we just need change a little on your patch
>
> - err = cn_printf(cn, "%%");
> + err = cn_printf(cn, "%");

whoa. Closer than I usually achieve.

> Do you need me to resend a v4 patch?

Yes please - something which was nicely tested ;)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/