Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753269Ab3C1UV2 (ORCPT ); Thu, 28 Mar 2013 16:21:28 -0400 Received: from mail-ie0-f179.google.com ([209.85.223.179]:35139 "EHLO mail-ie0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752386Ab3C1UVY (ORCPT ); Thu, 28 Mar 2013 16:21:24 -0400 MIME-Version: 1.0 In-Reply-To: References: <1363628226-6679-1-git-send-email-yinghai@kernel.org> Date: Thu, 28 Mar 2013 13:21:23 -0700 X-Google-Sender-Auth: zbAxSHTBkQcjR_weco1Aeub0Xns Message-ID: Subject: Re: [PATCH] PCI: Remove not needed check in disable aspm link From: Yinghai Lu To: Bjorn Helgaas Cc: "Rafael J. Wysocki" , "linux-pci@vger.kernel.org" , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Taku Izumi , Kenji Kaneshige , stable@kernel.org Content-Type: multipart/mixed; boundary=e89a8f2343eb014c5704d901e6fe Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 12317 Lines: 177 --e89a8f2343eb014c5704d901e6fe Content-Type: text/plain; charset=ISO-8859-1 On Thu, Mar 28, 2013 at 5:46 AM, Bjorn Helgaas wrote: > This patch might be *safe*, but it (and the changelog) are completely > unintelligible. > > The problem with applying an unintelligible stop-gap patch is that it > becomes forever part of the changelog, and it's a huge waste of time > to everybody who tries to understand the history later. That's why I > think it's worth spending some time to make a good patch now. Ok, Please check if attached is doing what you want. Thanks Yinghai --e89a8f2343eb014c5704d901e6fe Content-Type: application/octet-stream; name="disable_aspm.patch" Content-Disposition: attachment; filename="disable_aspm.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_heudb7ou0 U3ViamVjdDogW1BBVENIXSBQQ0k6IFJlbW92ZSBub3QgbmVlZGVkIGNoZWNrIGluIGRpc2FibGUg YXNwbSBsaW5rCgpSb21hbiByZXBvcnRlZCB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gfQogI2Vsc2UKIGV4dGVybiBpbnQgcGNpZV9hc3BtX2VuYWJsZWQodm9p ZCk7Ci1leHRlcm4gYm9vbCBwY2llX2FzcG1fc3VwcG9ydF9lbmFibGVkKHZvaWQpOworc3RhdGlj IGlubGluZSBib29sIHBjaWVfYXNwbV9zdXBwb3J0X2VuYWJsZWQodm9pZCkgeyByZXR1cm4gdHJ1 ZTsgfQogI2VuZGlmCiAKICNpZmRlZiBDT05GSUdfUENJRUFFUgo= --e89a8f2343eb014c5704d901e6fe-- -- 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/