linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Allen Pais <allen.lkml@gmail.com>, linux-kernel@vger.kernel.org
Cc: nouveau@lists.freedesktop.org, linux-crypto@vger.kernel.org,
	dri-devel@lists.freedesktop.org,
	MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org,
	netdev@vger.kernel.org, megaraidlinux.pdl@broadcom.com,
	target-devel@vger.kernel.org, linux-fbdev@vger.kernel.org,
	linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 01/10] arch:powerpc: return -ENOMEM on failed allocation
Date: Wed, 13 Sep 2017 07:53:21 -0700	[thread overview]
Message-ID: <1505314401.8969.11.camel@perches.com> (raw)
In-Reply-To: <1505287939-14106-1-git-send-email-allen.lkml@gmail.com>

On Wed, 2017-09-13 at 13:02 +0530, Allen Pais wrote:
> Signed-off-by: Allen Pais <allen.lkml@gmail.com>

I think the changelog for this series of conversions
should show that you've validated the change by
inspecting the return call chain at each modified line.

Also, it seems you've cc'd the same mailing lists for
all of the patches modified by this series.

It would be better to individually address each patch
in the series only cc'ing the appropriate maintainers
and mailing lists.

A cover letter would be good too.

> ---
>  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)) {

  parent reply	other threads:[~2017-09-13 15:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-13  7:32 [PATCH 01/10] arch:powerpc: return -ENOMEM on failed allocation Allen Pais
2017-09-13  7:32 ` [PATCH 02/10] drivers:crypto: return -ENOMEM on allocation failure Allen Pais
2017-09-13  7:32 ` [PATCH 03/10] driver:gpu: " Allen Pais
2017-10-12 17:55   ` [Nouveau] " Daniel Vetter
2017-09-13  7:32 ` [PATCH 04/10] drivers:mpt: " Allen Pais
2017-09-13  7:32 ` [PATCH 05/10] drivers:net: " Allen Pais
2017-09-13 12:09   ` Andrew Lunn
2017-09-13 13:05     ` Allen
2017-09-13  7:32 ` [PATCH 06/10] drivers:ethernet: " Allen Pais
2017-09-13 12:16   ` Andrew Lunn
2017-09-13 13:04     ` Allen
2017-09-13 16:20   ` David Miller
2017-09-13  7:32 ` [PATCH 07/10] driver:megaraid: " Allen Pais
2017-09-13  7:32 ` [PATCH 08/10] driver:cxgbit: return -NOMEM " Allen Pais
2017-09-13  7:32 ` [PATCH 09/10] driver:video: return -ENOMEM " Allen Pais
2017-09-13  7:32 ` [PATCH 10/10] fs:btrfs: " Allen Pais
2017-09-13 15:13   ` David Sterba
2017-09-13 14:53 ` Joe Perches [this message]
2017-09-14  4:43   ` [PATCH 01/10] arch:powerpc: return -ENOMEM on failed allocation Allen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1505314401.8969.11.camel@perches.com \
    --to=joe@perches.com \
    --cc=MPT-FusionLinux.pdl@broadcom.com \
    --cc=allen.lkml@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=megaraidlinux.pdl@broadcom.com \
    --cc=netdev@vger.kernel.org \
    --cc=nouveau@lists.freedesktop.org \
    --cc=target-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).