Re: [PATCH v2 03/16] gpio: aspeed: Convert to immutable irq_chip
From: Linus Walleij
Date: Wed Mar 08 2023 - 16:48:40 EST
On Wed, Mar 8, 2023 at 2:23 PM Marc Zyngier <maz@xxxxxxxxxx> 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