Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp870984yba; Thu, 9 May 2019 07:14:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFXRlmCFNYn1P0c0+12lAgeaj4W7p+DC633ZpP5dWq8pq6nwJDm2O2RY9ITlsgFxMgmRKj X-Received: by 2002:a63:9d83:: with SMTP id i125mr1391126pgd.229.1557411246323; Thu, 09 May 2019 07:14:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557411246; cv=none; d=google.com; s=arc-20160816; b=qSkQjyyqMLv93HlbI0N+UNOGEBlLdcPq6bUtMIJZrDhTnlG5oRV+jtrdCrKzpVFg+t 1Nb+aYQFVyHgsbePI9NuU8DDyvhsUt0Gr4Nj5g/q75xv2gY89Eb/xFGrroIUn4Me51rx 6SjpZEMJqn0SNCfViVGjYvLZBQXaD5uhLgfhquUDn7eW5gAHnVQo0Ad5phwESdFhd4Xg HfqNQ7jHs7Pu743mPIZ7OO3UBnHnBpA0i20q0OpHfJYUDrwG9IEI3N4hVZziOjqNgYkg Quh6gfLio5UuTyFVJlGeMa0nQrwA8Jn6+VsVWLgaxWFvAAEwzI+PavCvVNEwMyaLrrvu 4DaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=15pr2dhDjD67/Ai/bbEqpq/Nm+DT5P0r/xF7ry+fxUw=; b=Q5ZFWDNUeLED8O+BHDucFc1r5FCwCllZOdmrkQp8knEt0BkobJY1KV1XdSRD3QE1Dt RX1aJGPJfhLVlSZVaQYSijvveV4j4aBWKwtyPt3e8mfX1SjuzW3eS3h9CQZfwuiMfrRu hI7sa9ozpsEv92RPBwCaUgxfEHSzaBfLefJrQ7k3m17p/HnsroRCd40HmuLKEwo6vNfE voHpA7r3VMQu2QD6kgax4KyN/C5h5tJYmDKylN1zN1EmvLiuY2XCqUht+bXajnM0f/QM dMt7g/xZyJtf8IBmykis4f6z/Yxhr9aZDe/Tx/tAFn/NQQO+Qr/RLl4+t+I/ZiwKpJwN jwGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=W8Cm60yZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v23si3000586pgi.527.2019.05.09.07.13.48; Thu, 09 May 2019 07:14:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=W8Cm60yZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726631AbfEIOMm (ORCPT + 99 others); Thu, 9 May 2019 10:12:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:48732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726087AbfEIOMm (ORCPT ); Thu, 9 May 2019 10:12:42 -0400 Received: from localhost (50-81-63-4.client.mchsi.com [50.81.63.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8FC7C2085A; Thu, 9 May 2019 14:12:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557411161; bh=gvXtCwB0sLdrpt5goC5N5snphtui02QgZflWutuvxYw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=W8Cm60yZvIcQo+buFJ5EdbA/DOIxuuSxZIrEx1Q1iwB3KNptgpqKfLr2ot/qAwKN2 2RHmLiDfnuJywOuNzxA96yC/TC1gsyNpvWbVCp+Hq4Q6FTYDA0+Frw0RI8LazilqaW nu7sj+DjlZls42Kad5oqlFclWRYZTxat/+YKL+ZA= Date: Thu, 9 May 2019 09:12:40 -0500 From: Bjorn Helgaas To: Frederick Lawler Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, mika.westerberg@linux.intel.com, lukas@wunner.de, andriy.shevchenko@linux.intel.com, keith.busch@intel.com, mr.nuke.me@gmail.com, liudongdong3@huawei.com, thesven73@gmail.com Subject: Re: [PATCH v2 4/9] PCI/LINK: Prefix dmesg logs with PCIe service name Message-ID: <20190509141240.GB88424@google.com> References: <20190503035946.23608-1-fred@fredlawl.com> <20190503035946.23608-5-fred@fredlawl.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190503035946.23608-5-fred@fredlawl.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 02, 2019 at 10:59:41PM -0500, Frederick Lawler wrote: > bw_notification.c currently does not have any dmesg logs. As the > service continues to expand in functionality, prefix logs anyways. > > Signed-off-by: Frederick Lawler > --- > drivers/pci/pcie/bw_notification.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/pci/pcie/bw_notification.c b/drivers/pci/pcie/bw_notification.c > index d2eae3b7cc0f..a4bb90562cd5 100644 > --- a/drivers/pci/pcie/bw_notification.c > +++ b/drivers/pci/pcie/bw_notification.c > @@ -14,6 +14,8 @@ > * and warns when links become degraded in operation. > */ > > +#define dev_fmt(fmt) "BWN: " fmt I think I'd drop this patch until it's needed. > #include "../pci.h" > #include "portdrv.h" > > -- > 2.17.1 >