[PATCH v2 03/16] gpio: aspeed: Convert to immutable irq_chip
Linus Walleij
linus.walleij at linaro.org
Thu Mar 9 08:48:16 AEDT 2023
On Wed, Mar 8, 2023 at 2:23 PM Marc Zyngier <maz at 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
More information about the Linux-aspeed
mailing list