The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Thomas Meyer <thomas@m3y3r.de>
Cc: rafael.j.wysocki@intel.com, bhelgaas@google.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pnpbios: Cocci spatch "ptr_ret.spatch"
Date: Sat, 01 Jun 2013 21:52:39 +0200	[thread overview]
Message-ID: <3588723.7sXA8s0vDi@vostro.rjw.lan> (raw)
In-Reply-To: <1370080441.29224.27.camel@localhost.localdomain>

On Saturday, June 01, 2013 11:54:01 AM Thomas Meyer wrote:
> 
> Signed-off-by: Thomas Meyer <thomas@m3y3r.de>

Changelog, please?

Rafael


> ---
> 
> diff -u -p a/drivers/pnp/pnpbios/core.c b/drivers/pnp/pnpbios/core.c
> --- a/drivers/pnp/pnpbios/core.c
> +++ b/drivers/pnp/pnpbios/core.c
> @@ -572,10 +572,7 @@ static int __init pnpbios_thread_init(vo
>  
>  	init_completion(&unload_sem);
>  	task = kthread_run(pnp_dock_thread, NULL, "kpnpbiosd");
> -	if (IS_ERR(task))
> -		return PTR_ERR(task);
> -
> -	return 0;
> +	return PTR_RET(task);
>  }
>  
>  /* Start the kernel thread later: */
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

      reply	other threads:[~2013-06-01 19:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-01  9:54 [PATCH] pnpbios: Cocci spatch "ptr_ret.spatch" Thomas Meyer
2013-06-01 19:52 ` Rafael J. Wysocki [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=3588723.7sXA8s0vDi@vostro.rjw.lan \
    --to=rjw@sisk.pl \
    --cc=bhelgaas@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael.j.wysocki@intel.com \
    --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