Re: [PATCH] irqdomain: Add documentation for irq_create_of_mapping()

2020-12-19 Thread Marion & Christophe JAILLET
Le 18/12/2020 à 19:59, Marc Zyngier a écrit : Hi Christophe, On Tue, 15 Dec 2020 20:07:47 +, Christophe JAILLET wrote: Add a description for 'irq_create_of_mapping()' and make explicit the fact that the resources allocated by this function can be freed by calling 'irq_dispose_mapping()'

Re: [PATCH] irqdomain: Add documentation for irq_create_of_mapping()

2020-12-18 Thread Marc Zyngier
Hi Christophe, On Tue, 15 Dec 2020 20:07:47 +, Christophe JAILLET wrote: > > Add a description for 'irq_create_of_mapping()' and make explicit the fact > that the resources allocated by this function can be freed by calling > 'irq_dispose_mapping()' when needed (i.e. error handling path,

Re: [PATCH] irqdomain: Add documentation for irq_create_of_mapping()

2020-12-15 Thread Kari Argillander
On Tue, Dec 15, 2020 at 09:07:47PM +0100, Christophe JAILLET wrote: > +++ b/kernel/irq/irqdomain.c > @@ -858,6 +858,15 @@ unsigned int irq_create_fwspec_mapping(struct irq_fwspec > *fwspec) > } > EXPORT_SYMBOL_GPL(irq_create_fwspec_mapping) > +/** > + * irq_create_of_mapping() - Map an

[PATCH] irqdomain: Add documentation for irq_create_of_mapping()

2020-12-15 Thread Christophe JAILLET
Add a description for 'irq_create_of_mapping()' and make explicit the fact that the resources allocated by this function can be freed by calling 'irq_dispose_mapping()' when needed (i.e. error handling path, remove function, ...) Signed-off-by: Christophe JAILLET --- The wording can certainly be