linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: Christopher Sacchi <chris.sacchi@gmail.com>
Cc: linux-wireless@vger.kernel.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH]: Autosleep patch.
Date: Mon, 06 Aug 2012 08:38:17 -0700	[thread overview]
Message-ID: <501FE4E9.3080004@xenotime.net> (raw)
In-Reply-To: <CAGh4K3L_nY5B22g5oMBuoY=a1OB7U10yH1ZJvn0dG_O5TVz6+Q@mail.gmail.com>

On 08/06/2012 08:13 AM, Christopher Sacchi wrote:

> This patch (listed below), changes an old function in autosleep.c in
> kernel version 3.5. It's code is listed from the first -- line to the
> 2nd to last -- line.
> This patch was checked with checkpatch.pl with no errors:
> --
> --- power/autosleep.c	2012-07-21 20:58:29.000000000 +0000
> +++ power/autosleepnew.c	2012-08-06 10:52:26.000000000 +0000


The file names should include the full path from the top level of the
kernel source tree.  E.g.:

--- linux.orig/kernel/power/autosleep.c
+++ linux/kernel/power/autosleep.c

This patch uses the name autosleepnew.c, which is not what is
required/expected.

Your previous patches were for wireless (mac80211) components, so they
needed to go to the linux-wireless mailing list.  This patch is not
about wireless, so don't send it to that mailing list, although you
could send it to the linux-pm@vger.kernel.org mailing list.
Please see the MAINTAINERS file for where to send patches.


> @@ -30,7 +30,7 @@ static void try_to_suspend(struct work_s
>  	if (!pm_get_wakeup_count(&initial_count, true))
>  		goto out;
> 
> -	mutex_lock(&autosleep_lock);
> +	mutex_lock_interruptable();
> 
>  	if (!pm_save_wakeup_count(initial_count)) {
>  		mutex_unlock(&autosleep_lock);
> Signed-off-by: Christopher P. Sacchi <chris.sacchi@gmail.com>
> --

Signed-off-by: line is not part of the patch.  It should be near the
end of the patch description, before the actual patch.

Again, please read and follow Documentation/SubmittingPatches.

thanks.

-- 
~Randy

  reply	other threads:[~2012-08-06 15:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-06 15:13 [PATCH]: Autosleep patch Christopher Sacchi
2012-08-06 15:38 ` Randy Dunlap [this message]
2012-08-07 11:07   ` Guenter Roeck
2012-08-07 11:52     ` Rafael J. Wysocki

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=501FE4E9.3080004@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=chris.sacchi@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@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).