Re: [PATCH v2 03/16] gpio: aspeed: Convert to immutable irq_chip

Linus Walleij
2023-03-08T21:48:38Z

On Wed, Mar 8, 2023 at 2:23 PM Marc Zyngier <maz@kernel.org> wrote:

> > > girq->chip->name = dev_name(&pdev->dev);
>
> And this assignment will probably explode if, as expected, 'chip' is
> const and cannot be written to.
>
> I obviously didn't spot this when I first looked at these patches.

Dang, I'll fix, then I will go over the rest of the patches
and make sure I didn't miss any other of these name assignments.

Thanks,
Linus Walleij