mbox series

[0/2] powerpc/xive: 2 small tweaks in 'xive_irq_bitmap_add()'

Message ID cover.1564647619.git.christophe.jaillet@wanadoo.fr (mailing list archive)
Headers show
Series powerpc/xive: 2 small tweaks in 'xive_irq_bitmap_add()' | expand

Message

Christophe JAILLET Aug. 1, 2019, 8:31 a.m. UTC
The first patch uses GFP_KERNEL instead of GFP_ATOMIC.
The 2nd adds a check for memory allocation failure.

Christophe JAILLET (2):
  powerpc/xive: Use GFP_KERNEL instead of GFP_ATOMIC in
    'xive_irq_bitmap_add()'
  powerpc/xive: Add a check for memory allocation failure

 arch/powerpc/sysdev/xive/spapr.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)