Received: by 10.223.185.116 with SMTP id b49csp2887914wrg; Mon, 5 Mar 2018 10:14:12 -0800 (PST) X-Google-Smtp-Source: AG47ELvcgdo+4qQgbEMqmLi714s7TSrGGSWfb/p5PGGQ+UT2mEVYC99Hh1loe5UtyTWnbWhmkBB9 X-Received: by 2002:a17:902:7009:: with SMTP id y9-v6mr13851142plk.395.1520273652686; Mon, 05 Mar 2018 10:14:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520273652; cv=none; d=google.com; s=arc-20160816; b=VFQ6q+LcWLWs87S3JI50R6khr3LSyhZPdTIC8mwN0yu/wDgaAqj4/7cNtlEGoZDKjg 6NTFXJjpxSoNh8OBSUowm6La4Y6SXhvCj61tv4C2sc/5RDNYyOHm6VFgqYQUEK9lWJJ/ tB5lN9D7nbEaorq4EpZkZPhpnfowSwbMWSJul+qyWiXTMwXruCemeIOY2JwbyGuVUKEt nnEguuBbfPAi3l9IOZJ0rs0hFfIo80uZJnlIAh3vLXEW12U3pEaIkCVZ7TRab1VSwVlI RXoCbcSJDRITB799LQzsIljuo7O/Pi8lFuAP7Bqp1JYNIun0RywklVPpXumiXy9gd8jc kP6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=ykHXTr+C6UYDIgpw+C6P9Q5OkPirzjxw7SjNbsppX0s=; b=Vacscg5h6k4BgzMGci6SpjPAntCFXoWJDBRmZgJ9BwdD+tSPWL0ZoxgAkCwXwLMCWf /8ol3gQXgJ+RGdJkFeh00mkCkG+GOCwbrE1Vl3sMsylIRAeNB9EuJfV0x5jxzDgrHBuD 3P7TSHAFBHdFxBvzeK6pekn5JQUEHgJBpaXtXostyImB7A0LrLmk1esL5L0BIhCeHnHV SgfSWmf6dwoxMnqfpFV3jq2AmOJVGQ5qZimTUVFhYYUP6J6h53AMUNDo5dmNMapa9HWJ +PRciC+zUug0QueoVgJCrORkOPULqRRQmeaENqZzdr3JdE0TeqzJ2vsMUqd3OOSscB3A PFnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=eLljwDTS; 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 b3si7515623pge.715.2018.03.05.10.13.58; Mon, 05 Mar 2018 10:14:12 -0800 (PST) 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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=eLljwDTS; 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 S1752639AbeCESMW (ORCPT + 99 others); Mon, 5 Mar 2018 13:12:22 -0500 Received: from mail-oi0-f65.google.com ([209.85.218.65]:46065 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752063AbeCESMV (ORCPT ); Mon, 5 Mar 2018 13:12:21 -0500 Received: by mail-oi0-f65.google.com with SMTP id j79so12751130oib.12 for ; Mon, 05 Mar 2018 10:12:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ykHXTr+C6UYDIgpw+C6P9Q5OkPirzjxw7SjNbsppX0s=; b=eLljwDTSH7Pfrvb4BWyMMx+LLMIf7+SRg74+Mg/58Em7iAH+bKBGsgtEjbYUWqz3e5 yljQW8vYyxwYdxb6xrZylkYsDENf9/LSSaZzBs1BDXPvcgekdwZFmKdtqCYaQPVJMYp0 WfNsrLSJexCDZcIy1l3QK78L++0Ww2EeCvYxo3XYhprqG/gUURBox7eXq3c9L1kETCUn Q+hmBlt8xSABT3VqvHJhyIUCghMfSO6x49xYtDmUHg+4wQyXsEswx8ubkqkMjoOq69Bp CH9h6RFUmu9NP24qskwJPJ2xfFE9lOeObiSJck19M1bBDjKWuHFUskk+y+N87IZpbWz/ 2cww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ykHXTr+C6UYDIgpw+C6P9Q5OkPirzjxw7SjNbsppX0s=; b=OavWOHAcIlADgK4R1uqOPldyXulDtyb3doMSSGmEz7aNQ21PVCt8or0M+9RwnAeHH2 HdGUXvQLT6LqMXcrDZP+RgEtxIuI9hGjouOwKW9B89qhmJwB7AzZefvfG0LdYAMUgZrZ cEITQ/ZtYY6XDVjSNXPIT2dntDKZZVROPuMQdvCcLgaMtEIiTwAJHSSw0U/e4udS0FSi fZDIlj2RQ7M4/z8Q7L4UGVHKi19lKbC1L+5MrPTEIVyKKR4HcWC2Ab0Q60bHiH8+3hYY c/UzA49qhxUg3H16Amue0JtF1/oAYt/CJpeFNKcSNYNuOH5ZgqMs4dSEHdDAze8wX7Dg qb5Q== X-Gm-Message-State: AElRT7Ge9ZzxZXJPSr0vNJLJ7TBefy/Tds5CVQxUI+cmqjadTjme+1rD cLD2sCMs+USU0pMa/99lgG0uiZm0COqkvrAXZcf2wg== X-Received: by 10.202.236.4 with SMTP id k4mr10333371oih.215.1520273540741; Mon, 05 Mar 2018 10:12:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.81.137 with HTTP; Mon, 5 Mar 2018 10:12:20 -0800 (PST) In-Reply-To: <20180305180126.GB19268@linux.intel.com> References: <20180302122049.13900-1-jthumshirn@suse.de> <20180305174920.GA19268@linux.intel.com> <20180305180126.GB19268@linux.intel.com> From: Dan Williams Date: Mon, 5 Mar 2018 10:12:20 -0800 Message-ID: Subject: Re: [PATCH] acpi, nfit: remove redundant __func__ in dev_dbg To: Ross Zwisler Cc: Johannes Thumshirn , Linux Kernel Mailinglist , Linux NV-DIMM Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 5, 2018 at 10:01 AM, Ross Zwisler wrote: > On Mon, Mar 05, 2018 at 09:53:47AM -0800, Dan Williams wrote: >> On Mon, Mar 5, 2018 at 9:49 AM, Ross Zwisler >> wrote: >> > On Fri, Mar 02, 2018 at 01:20:49PM +0100, Johannes Thumshirn wrote: >> >> Dynamic debug can be instructed to add the function name to the debug >> >> output using the +f switch, so there is no need for the nfit module to >> >> do it again. If a user decides to add the +f switch for nfit's dynamic >> >> debug this results in double prints of the function name like the >> >> following: >> >> >> >> [ 2391.935383] acpi_nfit_ctl: nfit ACPI0012:00: acpi_nfit_ctl:nmem8 cmd: 10: func: 1 input length: 0 >> >> >> >> Thus remove the stray __func__ printing. >> >> >> >> Signed-off-by: Johannes Thumshirn >> > >> > This makes sense to me, but I guess we'll see what Dan thinks. If we decide >> > to go this route we may also want to do the same to all the instances of this >> > pattern in the libnvdimm debug output. >> >> Is there a way to turn on this '+f' flag from the kernel boot command >> line? My primary debug scenario is specifying "libnvdimm.dyndbg >> nfit.dyndbg" on the command line. > > Yep, it's just: > > libnvdimm.dyndbg="+fp" Works for me, lets change this everywhere.