Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5461906yba; Tue, 30 Apr 2019 15:25:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOTzUxOe54shsk5AtY55/bm3PDVIfovouQVDbeYxRR1HGQ6Tf1ZBrZJ1j3MlC0eFIgvtLK X-Received: by 2002:a17:902:e70c:: with SMTP id co12mr73174294plb.339.1556663149071; Tue, 30 Apr 2019 15:25:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556663149; cv=none; d=google.com; s=arc-20160816; b=lT7ToiXdiXbY6LkCfeKemBNkVgZt6KoM0mGqpnKoqwEA+IuttcyjWr1LFT0zZ4hg7/ 2FHqRT8cg/37n6dqVgVgc2XMIcHGBeAuyEE+LAvqRnnHOWDqf1OHurFrw09kebR3cZBb GFNjfOjKanHSrsBwUaM6xy8n31sLVnWtsMGX7a23h8iu1R6zYFf3o5L6JqayF/XCm4Et uEWg/jBG733KQ1mzLHOYbTd5m+VTxzCJOc5B3f+gow0Yscnet1wiBW0dAx57NWM7cMrq yVAmYVXgAoncRkp2QWQauhZlubI0fwAiqoBtqOEErULJ8+dErPKmGrlIzu2GztYN2pFW TSLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=uZ1PM87ohnji9r872rj74D6Fq0/brGlUbTKwwr5a4q4=; b=O2AbuhC8iceIxH1KczsyGbQ9AfVmPWopT9YcpqCe0rcaE+NNz4tKIrtx9FbqgbKP4H CoyJAv9lOYZKRVv3ON5XYaZsdEobPixH/tWb+ep9aAS/ZmjCgDWZUnqxq2Ke7R9afezh myYGm9fL/9xUrf4VOzJvuBvtsHUEXZC0g3Hi6TDpqejyW+gui+/oZ3BIw5jqJDD1395I WBPgDtw1CduvfwRpSd+i8eg5q8It9NVd81bgIzSXyhmZ+EV8pWH5ji2u1fKUyaFgWdnp KL0ox89LN61tQxkTTn6PJIgSV3YKqumePhIPjUa0+x4Z09CYm1wKlgAgK+4/yrzkd2tM J+5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fredlawl-com.20150623.gappssmtp.com header.s=20150623 header.b=nFOLQnmP; 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 w126si40421402pfb.196.2019.04.30.15.25.32; Tue, 30 Apr 2019 15:25:49 -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=nFOLQnmP; 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 S1726974AbfD3WYf (ORCPT + 99 others); Tue, 30 Apr 2019 18:24:35 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:35640 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726123AbfD3WYf (ORCPT ); Tue, 30 Apr 2019 18:24:35 -0400 Received: by mail-oi1-f196.google.com with SMTP id w197so12637454oia.2 for ; Tue, 30 Apr 2019 15:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fredlawl-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=uZ1PM87ohnji9r872rj74D6Fq0/brGlUbTKwwr5a4q4=; b=nFOLQnmPRb0/JY/yvlCkC3oJJBGeUK8FlyZN3L1GY5xyfkwe9bli7sUi3VEPO0lwe2 mUvOrBq5ZhzEytWPtts8NVsji1tKsp9ntb1GB2V94eNJFLbmJcM2nzBUFMoXykIJqvXm DNLV4wmm4WP9NaQX8R5aHTil2Wmo7jbh9D0/eg3OcAm7oQGfPcVHnuMKVPV7ZyAz0Qe0 /aWIjUnObS1IiTkkwNenowUmzwYGwnYi+Y05WmQG+MPEfQvE20qs1AWTaAiUdHOk2m9a LRg0JdbAzKMXlJs9AkugORRXVQi03QBKd3aKOrm2Jo9GSe2PeFnNh6aEAHgbJ11WeQwe nTBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uZ1PM87ohnji9r872rj74D6Fq0/brGlUbTKwwr5a4q4=; b=Zj9j+MxRrNGz4cI2kKGRpgMgx1Gn22N62EYRsuPuuNjaQ0A/TDRr8CGsuCZzLXtN6s yXLZO2S2gWoYc/LLYVJsMR+ZPaLVLm8shi1ksL0qAkB0tNfWj7uS2xkQE1lnhZki++di uThjzjKkVpinEOn7TE5ij6/r7ddo2JQE8CYRMW8YXW3rzoCZhasVVLCf/4dq0JvCYiQI 6g45KqWk4xp5jssIjfPKrLOYT0/JC7AwfgkWYuDWgFe1h+EnnLrEYoFJTYYrDJruENK9 VJ593pY85zUmqSaG6JoBZE5t0bCxf9az56ss+SyG0U06R44mMWJYxfwTBi7AWRAHjxdq Hk2g== X-Gm-Message-State: APjAAAXz2q5atj1f1Ad/BIjmV1MJINiwmnFX/MkXkU5Rtm5TReS+MSW5 SB9QFRCfEfVE+npiahO63rX7jg== X-Received: by 2002:aca:c696:: with SMTP id w144mr1836254oif.126.1556663074332; Tue, 30 Apr 2019 15:24:34 -0700 (PDT) Received: from Fredericks-MacBook-Pro.local ([2600:1700:18a0:11d0:99ba:d92:93c8:8fb9]) by smtp.gmail.com with ESMTPSA id k65sm16084979oia.16.2019.04.30.15.24.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Apr 2019 15:24:33 -0700 (PDT) Subject: Re: [PATCH 1/4] PCI: Replace dev_*() printk wrappers with pci_*() printk wrappers To: Andy Shevchenko Cc: bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, mika.westerberg@linux.intel.com, lukas@wunner.de, keith.busch@intel.com, mr.nuke.me@gmail.com, liudongdong3@huawei.com, thesven73@gmail.com References: <20190427191304.32502-1-fred@fredlawl.com> <20190427191304.32502-2-fred@fredlawl.com> <20190428154339.GT9224@smile.fi.intel.com> From: Frederick Lawler Message-ID: Date: Tue, 30 Apr 2019 17:25:08 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 PostboxApp/6.1.14 MIME-Version: 1.0 In-Reply-To: <20190428154339.GT9224@smile.fi.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andy, Andy Shevchenko wrote on 4/28/19 10:43 AM: > On Sat, Apr 27, 2019 at 02:13:01PM -0500, fred@fredlawl.com wrote: >> From: Frederick Lawler >> >> Replace remaining instances of dev_*() printk wrappers with pci_*() >> printk wrappers. No functional change intended. > >> - pci_printk(KERN_DEBUG, parent, "can't find device of ID%04x\n", >> - e_info->id); >> + pci_dbg(parent, "can't find device of ID%04x\n", e_info->id); > > These are not equivalent. > >> - dev_printk(KERN_DEBUG, device, "alloc AER rpc failed\n"); >> + pci_dbg(pdev, "alloc AER rpc failed\n"); > > Ditto. > >> - dev_printk(KERN_DEBUG, device, "request AER IRQ %d failed\n", >> - dev->irq); >> + pci_dbg(pdev, "request AER IRQ %d failed\n", dev->irq); > > Ditto. > > And so on. > Thanks for the review. Clearly this was an oversight on my part and I'll have that corrected. Thanks! Frederick Lawler