Re: [PATCH V2 3/4] irq: imx-irqsteer: change to use reg_num instead of irq_group

From: Dong Aisheng
Date: Thu Jan 31 2019 - 02:27:29 EST


On Wed, Jan 30, 2019 at 9:23 PM Lucas Stach <l.stach@xxxxxxxxxxxxxx> wrote:
[...]
> > > + /* one register bit map represents 32 input interrupts */
> > > + data->reg_num /= 32;
> > +
> > > if (IS_ENABLED(CONFIG_PM_SLEEP)) {
> > > data->saved_reg = devm_kzalloc(&pdev->dev,
> > > - sizeof(u32) * data->irq_groups * 2,
> > > + sizeof(u32) * data->reg_num,
> > GFP_KERNEL);
>
> Does this last parameter now fit on the line above?
>

No, 81 now. :)

Regards
Dong Aisheng