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

Linus Walleij linus.walleij at linaro.org
Wed Mar 8 13:48:16 PST 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-arm-kernel mailing list