Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp105314yba; Thu, 2 May 2019 21:03:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwF0kvZEakq6mzDnQua7SBd4NgqPfVSFOdbIlQ4blss6ESYHUzZobEs8D3EWyup0YNzKI+4 X-Received: by 2002:a65:654c:: with SMTP id a12mr7771598pgw.101.1556856181243; Thu, 02 May 2019 21:03:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556856181; cv=none; d=google.com; s=arc-20160816; b=rRGnGqNoa4FXcGErJ8+19Scz0j+/umVdZxL7l5FwjZr/++uQ1BzB8XKYrHdVfvpYfp BBYwidugELrMkAUb4jDgd3tHbLz9Dn5s/DhzJ8p5WnpBokFdz9ALDwd0o8wTrgvTkA/A /9PjnKpr1K7u3rTDKMLb42C+rPcCbmRgh8FoB6IHQEdj2a4exodYQIxpyOmS9gdYuoFL Tl7J/DoczCD+GSH8L7klv/3psAmz7NK3p8WZGoX//dtku1TfuSOQqx7WLqd7I1tFx7eV D0ZqoygjotNcj6K6g31FVWAZQcs2YwqfoAZ/s6itOwpBwm90qoRnIeZk5ZrZuLiaCwNu 5SSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=yoA0qcUcZf9hNKPIWW0C4rSDs4LhPQglzx9oFAh3Sp8=; b=TLsK3TjsxbxeEGauY+AGNjCKk4u281xB4bythhjBqjgO/flKxWdeiNon6OxgECkEJm eYZJ+JIHzS19wv1oUOglP8JYKUGD1NFXKfpjdlOAT09qhaTZnFsdZiZcjYM9dBnx+q3R cnuCs2oZVMe2rjhvXonIO+B41s36fxEesqB/C97gl49lHkdQUE13T4dXqerOquVJoexV 2WSGY8qbBM2RbvDB1aaeB39tLiCKBWc0zpqNIZvfIpXhYHWTVdxckMxxJjdei36p9/RW Iaf6VWj4zBNIXfgGQ7+233MyEyUoi5R05e2+uia1vhivxM2Sxc+FKv2IyEWAGO3x3YNL TIIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fredlawl-com.20150623.gappssmtp.com header.s=20150623 header.b=PCIU09pT; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i4si978900pfc.26.2019.05.02.21.02.46; Thu, 02 May 2019 21:03:01 -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=@fredlawl-com.20150623.gappssmtp.com header.s=20150623 header.b=PCIU09pT; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726300AbfECEAY (ORCPT + 99 others); Fri, 3 May 2019 00:00:24 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:46171 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726229AbfECEAW (ORCPT ); Fri, 3 May 2019 00:00:22 -0400 Received: by mail-oi1-f193.google.com with SMTP id d62so3380457oib.13 for ; Thu, 02 May 2019 21:00:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fredlawl-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yoA0qcUcZf9hNKPIWW0C4rSDs4LhPQglzx9oFAh3Sp8=; b=PCIU09pTLCDoNBfuGUpnEwF/031Tw8z2XMWTENYF9S2enJJC9C0X9GP97RazgMNftx J6TBwEw1BI93Psj5Fw+9WbYsRWjhAiAMwoF1SBTxWFRmBdt2b2fDMC1CAu6pJl6u9CUk bBaeR5fHRRQQ8ZadgpMzUqYf+1ahLXHpYwsuKWhrVrZWvh+TRaJ8nuhU6hi3RNndaYPN z67KgNqV3la0jAkzrIA130TI32Wx562a5GP+UEUWilbL6JFPvQoWBiDACyxu+uNW1ms8 cro3wAfFUUS1bzig0Lgq1dUivtSZZY2cyAUULOTINeO2agVt9oNDtwvLeiiwtobQPXtd Leog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yoA0qcUcZf9hNKPIWW0C4rSDs4LhPQglzx9oFAh3Sp8=; b=M43vytlVMcjvjqWfOC3ebHl0Zj8+smYkcEy0MWf5b8OqtG9sCmlOp42Cdzh1lSbNYc alt8qq7n5n8LdUJXm6pSEkKzAnzSELLTe38PBYRX3JKFIHPaDh7d57wStulZBtLfvZq5 uZ3LKdu+G1dqS9CHL+EriMV/G3nA8rmCwoegsa2e2IYbQilkUWNMapnkzsamJ8hvPPlQ hBlOSkRNWRRK200YeO7HGhGySUDUHp4slmxKP/PX0K8Sx/EBmMq68puNF/noD5fsfk16 CjVCPJchkmhZYaHZU+tUXEie3jk5PD/+ccujHLXQeU+qdX1qw7RARspj8cKSs/JOUTPb AS0g== X-Gm-Message-State: APjAAAVJKgifQSWy/mt2s1Kkm1vGGXrmfSbQxels9lnaAOOzx2buAaN8 iIcoTsEwjL4QPtjiRzt7B9syow== X-Received: by 2002:aca:4f85:: with SMTP id d127mr4301389oib.123.1556856021605; Thu, 02 May 2019 21:00:21 -0700 (PDT) Received: from linux.fredlawl.com ([2600:1700:18a0:11d0:5518:38b8:ef25:393a]) by smtp.gmail.com with ESMTPSA id w5sm413787otg.34.2019.05.02.21.00.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 May 2019 21:00:20 -0700 (PDT) From: Frederick Lawler To: bhelgaas@google.com 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, Frederick Lawler Subject: [PATCH v2 4/9] PCI/LINK: Prefix dmesg logs with PCIe service name Date: Thu, 2 May 2019 22:59:41 -0500 Message-Id: <20190503035946.23608-5-fred@fredlawl.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190503035946.23608-1-fred@fredlawl.com> References: <20190503035946.23608-1-fred@fredlawl.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 + #include "../pci.h" #include "portdrv.h" -- 2.17.1