From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f200.google.com (mail-qt0-f200.google.com [209.85.216.200]) by kanga.kvack.org (Postfix) with ESMTP id A9FD56B0007 for ; Fri, 3 Aug 2018 12:10:22 -0400 (EDT) Received: by mail-qt0-f200.google.com with SMTP id l23-v6so4684858qtp.1 for ; Fri, 03 Aug 2018 09:10:22 -0700 (PDT) Received: from mail.cybernetics.com (mail.cybernetics.com. [173.71.130.66]) by mx.google.com with ESMTPS id g1-v6si4814234qkd.118.2018.08.03.09.10.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Aug 2018 09:10:21 -0700 (PDT) Subject: Re: [PATCH v2 2/9] dmapool: cleanup error messages References: <7a943124-c65e-f0ed-cc5c-20b23f021505@cybernetics.com> From: Tony Battersby Message-ID: Date: Fri, 3 Aug 2018 12:10:19 -0400 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: owner-linux-mm@kvack.org List-ID: To: Andy Shevchenko Cc: Matthew Wilcox , Christoph Hellwig , Marek Szyprowski , Sathya Prakash , Chaitra P B , Suganath Prabu Subramani , iommu@lists.linux-foundation.org, linux-mm , linux-scsi , MPT-FusionLinux.pdl@broadcom.com On 08/03/2018 12:01 PM, Andy Shevchenko wrote: > On Fri, Aug 3, 2018 at 6:59 PM, Andy Shevchenko > wrote: >> On Fri, Aug 3, 2018 at 6:17 PM, Tony Battersby wrote: >>> But then I decided to simplify it to just use dev_err(). I still have >>> the old version. When I submit v3 of the patchset, which would you prefer? >> JFYI: git log --no-merges --grep 'NULL device \*' > Example: > > commit b4ba97e76763c4e582e3af1079e220e93b1b0d76 > Author: Chris Wilson > Date: Fri Aug 19 08:37:50 2016 +0100 > > drm: Avoid calling dev_printk(.dev = NULL) > Point taken.A I'll go with pool_err() on the next round.