public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: Thomas Meyer <thomas@m3y3r.de>
Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] s390/ap: Cocci spatch "ptr_ret.spatch"
Date: Mon, 10 Jun 2013 17:23:30 +0200	[thread overview]
Message-ID: <20130610152330.GB6341@osiris> (raw)
In-Reply-To: <1370080273.29224.21.camel@localhost.localdomain>

On Sat, Jun 01, 2013 at 11:51:13AM +0200, Thomas Meyer wrote:
> 
> Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
> ---
> 
> diff -u -p a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c
> --- a/drivers/s390/crypto/ap_bus.c
> +++ b/drivers/s390/crypto/ap_bus.c
> @@ -1795,7 +1795,7 @@ static int ap_poll_thread_start(void)
>  	mutex_lock(&ap_poll_thread_mutex);
>  	if (!ap_poll_kthread) {
>  		ap_poll_kthread = kthread_run(ap_poll_thread, NULL, "appoll");
> -		rc = IS_ERR(ap_poll_kthread) ? PTR_ERR(ap_poll_kthread) : 0;
> +		rc = PTR_RET(ap_poll_kthread);
>  		if (rc)
>  			ap_poll_kthread = NULL;
>  	}
> @@ -1904,7 +1904,7 @@ int __init ap_module_init(void)
>  
>  	/* Create /sys/devices/ap. */
>  	ap_root_device = root_device_register("ap");
> -	rc = IS_ERR(ap_root_device) ? PTR_ERR(ap_root_device) : 0;
> +	rc = PTR_RET(ap_root_device);
>  	if (rc)
>  		goto out_bus;

Applied all you s390 related patches. Thanks.

      reply	other threads:[~2013-06-10 15:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-01  9:51 [PATCH] s390/ap: Cocci spatch "ptr_ret.spatch" Thomas Meyer
2013-06-10 15:23 ` Heiko Carstens [this message]

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=20130610152330.GB6341@osiris \
    --to=heiko.carstens@de.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=thomas@m3y3r.de \
    /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