Messages in this thread | | | Subject | Re: [PATCH 2/2] Loongarch:Support loongarch avec | From | Xi Ruoyao <> | Date | Tue, 07 May 2024 22:20:42 +0800 |
| |
On Tue, 2024-05-07 at 20:59 +0800, Tianyang Zhang wrote: > +static inline void loongarch_avec_ack_irq(struct irq_data *d) > +{ > +} > + > +static inline void loongarch_avec_unmask_irq(struct irq_data *d) > +{ > +} > + > +static inline void loongarch_avec_mask_irq(struct irq_data *d) > +{ > +}
"inline" has no use here because these functions are only called via function pointers, thus such calls cannot be inline-able. I'd suggest to remove "inline" for them.
-- Xi Ruoyao <xry111@xry111.site> School of Aerospace Science and Technology, Xidian University
| |