Re: [PATCH 1/3] kunit: fix filter attribute list parsing with a trailing comma

From: Aveline Noir

Date: Fri Dec 04 2026 - 00:42:59 EST


Hi Tianzhong,

On Fri, 04 Dec 2026 10:57:20 +0800 Miao Tianzhong wrote:

> kunit.filter_attr= takes a comma separated list of attribute filters.

The parameter is kunit.filter=, same in the cover letter.

> Cc: stable@xxxxxxxxxxxxxxx

Applying the same filter twice gives the same result, so this probably
doesn't need stable.

> + else
> + input = NULL;

kunit_filter_suites() keeps parsing after an error, so kunit.filter=speed,=
now passes NULL to kunit_next_attr_filter() and panics. It returned -EINVAL
before. Maybe stop that loop on the first error?

Thanks,
Aveline Noir