All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/10] arch:powerpc: return -ENOMEM on failed allocation
@ 2017-09-13  7:44 ` Allen Pais
  0 siblings, 0 replies; 47+ messages in thread
From: Allen Pais @ 2017-09-13  7:32 UTC (permalink / raw)
  To: linux-kernel
  Cc: nouveau, linux-crypto, dri-devel, MPT-FusionLinux.pdl,
	linux-scsi, netdev, megaraidlinux.pdl, target-devel, linux-fbdev,
	linux-btrfs, Allen Pais

Signed-off-by: Allen Pais <allen.lkml@gmail.com>
---
 arch/powerpc/platforms/cell/spider-pci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/platforms/cell/spider-pci.c b/arch/powerpc/platforms/cell/spider-pci.c
index d1e61e2..82aa3f7 100644
--- a/arch/powerpc/platforms/cell/spider-pci.c
+++ b/arch/powerpc/platforms/cell/spider-pci.c
@@ -106,7 +106,7 @@ static int __init spiderpci_pci_setup_chip(struct pci_controller *phb,
 	dummy_page_va = kmalloc(PAGE_SIZE, GFP_KERNEL);
 	if (!dummy_page_va) {
 		pr_err("SPIDERPCI-IOWA:Alloc dummy_page_va failed.\n");
-		return -1;
+		return -ENOMEM;
 	}
 
 	dummy_page_da = dma_map_single(phb->parent, dummy_page_va,
@@ -137,7 +137,7 @@ int __init spiderpci_iowa_init(struct iowa_bus *bus, void *data)
 	if (!priv) {
 		pr_err("SPIDERPCI-IOWA:"
 		       "Can't allocate struct spiderpci_iowa_private");
-		return -1;
+		return -ENOMEM;
 	}
 
 	if (of_address_to_resource(np, 0, &r)) {
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2017-10-12 17:55 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-13  7:32 [PATCH 01/10] arch:powerpc: return -ENOMEM on failed allocation Allen Pais
2017-09-13  7:44 ` Allen Pais
2017-09-13  7:32 ` [PATCH 02/10] drivers:crypto: return -ENOMEM on allocation failure Allen Pais
2017-09-13  7:44   ` Allen Pais
2017-10-07  4:21   ` Herbert Xu
2017-10-07  4:21     ` Herbert Xu
2017-10-07  4:21     ` Herbert Xu
2017-09-13  7:32 ` [PATCH 03/10] driver:gpu: " Allen Pais
2017-09-13  7:44   ` Allen Pais
2017-10-12 17:55   ` [Nouveau] " Daniel Vetter
2017-10-12 17:55     ` Daniel Vetter
2017-10-12 17:55     ` Daniel Vetter
2017-09-13  7:32 ` [PATCH 04/10] drivers:mpt: " Allen Pais
2017-09-13  7:44   ` Allen Pais
2017-09-13  7:32 ` [PATCH 05/10] drivers:net: " Allen Pais
2017-09-13  7:44   ` Allen Pais
2017-09-13 12:09   ` Andrew Lunn
2017-09-13 12:09     ` Andrew Lunn
2017-09-13 13:05     ` Allen
2017-09-13 13:17       ` Allen
2017-09-20  7:11     ` Allen
2017-09-13  7:32 ` [PATCH 06/10] drivers:ethernet: " Allen Pais
2017-09-13  7:44   ` Allen Pais
2017-09-13 12:16   ` Andrew Lunn
2017-09-13 12:16     ` Andrew Lunn
2017-09-13 12:16     ` Andrew Lunn
2017-09-13 13:04     ` Allen
2017-09-13 13:16       ` Allen
2017-09-20  6:50     ` Allen
2017-09-13 16:20   ` David Miller
2017-09-13 16:20     ` David Miller
2017-09-13  7:32 ` [PATCH 07/10] driver:megaraid: " Allen Pais
2017-09-13  7:44   ` Allen Pais
2017-09-13  7:32 ` [PATCH 08/10] driver:cxgbit: return -NOMEM " Allen Pais
2017-09-13  7:44   ` Allen Pais
2017-09-13  7:32 ` [PATCH 09/10] driver:video: return -ENOMEM " Allen Pais
2017-09-13  7:44   ` Allen Pais
     [not found]   ` <CGME20171012152104epcas2p1eb369268eae1872368d15bdc729de041@epcas2p1.samsung.com>
2017-10-12 15:21     ` [09/10] " Bartlomiej Zolnierkiewicz
2017-10-12 15:21       ` Bartlomiej Zolnierkiewicz
2017-09-13  7:32 ` [PATCH 10/10] fs:btrfs: " Allen Pais
2017-09-13  7:44   ` Allen Pais
2017-09-13 15:13   ` David Sterba
2017-09-13 15:13     ` David Sterba
2017-09-13 14:53 ` [PATCH 01/10] arch:powerpc: return -ENOMEM on failed allocation Joe Perches
2017-09-13 14:53   ` Joe Perches
2017-09-14  4:43   ` Allen
2017-09-14  4:55     ` Allen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.