Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756691Ab2HFPjg (ORCPT ); Mon, 6 Aug 2012 11:39:36 -0400 Received: from oproxy6-pub.bluehost.com ([67.222.54.6]:54924 "HELO oproxy6-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756641Ab2HFPje (ORCPT ); Mon, 6 Aug 2012 11:39:34 -0400 Message-ID: <501FE4E9.3080004@xenotime.net> Date: Mon, 06 Aug 2012 08:38:17 -0700 From: Randy Dunlap User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: Christopher Sacchi CC: linux-wireless@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [PATCH]: Autosleep patch. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1798 Lines: 53 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 > -- 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 -- 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/