Re: [PATCH] leds: tests: clarify name conflict test

From: Lee Jones

Date: Wed Jun 10 2026 - 06:51:40 EST


On Tue, 09 Jun 2026, Lorenzo Egidio wrote:

> Hi
>
> I noticed that theLED_REJECT_NAME_CONFLICT test in the review of LED
> KUnit tests re-registers an already registeredled_classdev instance.
>
> This patch replaces the old led_classdev instance with a new one for
> the conflictrejection test, so the test case clearly and explicitly
> deals withname-conflict handling.
>
> Besides it, struct led_lookup_data is cleared to zero.
>
> Patch for your consideration is attached.

We don't open attachments. Please send patches with `git send-email` or `b4.

Also read Documentation/process/submitting-patches.rst et al.

--
Lee Jones