Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3532404ybl; Fri, 20 Dec 2019 10:53:39 -0800 (PST) X-Google-Smtp-Source: APXvYqyE/Il7OvFkGTen9emkYeLIg98AWqnvZpH7dtRqEwr1CiOoksvJHVZkQCzoC7Ptism0+ZRO X-Received: by 2002:a9d:d0b:: with SMTP id 11mr16989326oti.287.1576868019724; Fri, 20 Dec 2019 10:53:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576868019; cv=none; d=google.com; s=arc-20160816; b=D2lY0sBA+r29Aj8z0Z78ocoRYmXu1sw3UaB9KuolLiDiL8XE8VBTldxRkfJzijHDYr mGKe0aNv56ObI2nNt1OG0Ki+hVjgH5djdNVW5rzTbtHWkyfMhxRz3+36RtjK21sqeoWJ i1yTgsjyiOKRUdIM6lRJGJuC540Iei5LdGo81I4B0X1AiJFy/Hw6PSRQBgC+y4DBpzhW vUe0iKMcFRMq6zrGslkEx281HSTM7JVLbN+DY29w77iA9jr/fvPmkXfnkcG33YmIT7fJ pyCN6p258O/uiR9GnPAA8TxAg0crLtEI8t0FTe8qRb1cDckmZNMbkq32xjZkw2WlNkpq YJHg== 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=viSDKHeCFOSvx9dSLRqIUBIoY3RXWubdy5kL+SpzoFg=; b=CmQsZY709lhpVv/diHjBTwiT60UQOxHggbyaPqoxMIsPKYPBdddsWCeXadoC/GkII4 2WtmWiqsNynmKbVxLtB/70BAI8lG0plWbw7wRxZuJ+Y9UtEnlWT88U0XBRR78AHSwHnl t0abe6YKfuHCsQQPYAloXaY99QJ6PpLKIRHe14b0amiwPX2EMyBf3TTkpc8eo5yF9ynM qz0HcqPo1QjWvBHaMCBnba8y0rwL+gimsy9KoGAsPiNuYXO7lNHZrsrSW0qqtQ/WdbrV mIYSZz7gWXd/bvjTet/diu/wN1osEbOd2fSsHc8S/i3cuWvdDs7aJSLA3/3odKHlnKh4 uYsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Wi41QjtY; 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 17si5185970oix.71.2019.12.20.10.53.26; Fri, 20 Dec 2019 10:53:39 -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=fail header.i=@gmail.com header.s=20161025 header.b=Wi41QjtY; 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 S1727478AbfLTSwr (ORCPT + 99 others); Fri, 20 Dec 2019 13:52:47 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:45522 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727422AbfLTSwr (ORCPT ); Fri, 20 Dec 2019 13:52:47 -0500 Received: by mail-pg1-f196.google.com with SMTP id b9so5355847pgk.12; Fri, 20 Dec 2019 10:52:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=viSDKHeCFOSvx9dSLRqIUBIoY3RXWubdy5kL+SpzoFg=; b=Wi41QjtYcdhEKQ/mMOm3062dR8QpHuAqf+3mpXRmCf2vnUX/8jb7PaJvOz0rZyDNiu B8GM7GTnFaAijSsVb1homQ1nDaXi29ULAzHa9ENhiljYgXhJh1BhMgPrGPOz7DuaxFOM nAn/hl0wT2EvBtEh1JbcR8/6/WCFarReFkmq8ixoTOrqw8EKbhPakgBu60U7U/bYGSW5 U9We0WMuDUtGzM1iQibBADkbhQiutSe4Pi1Q7/3Vv2/e72/hZKBEZrII3wnjW8miWUSV 0X4S/2TCtkDcPddJEYkSMGY5HEJM4hJrRnhrPL0XCIc1QCiTrILFZbeNKHr76wxflvG0 Gs8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=viSDKHeCFOSvx9dSLRqIUBIoY3RXWubdy5kL+SpzoFg=; b=ZGXcAC1ZqSSc+eSBa7Cl6mROoG/W2rEcJm0soAgsIyDKxqFY2vZbfgQWOTwLLgpbCx Cfyij8qwPFWMCMeKX33SvKMHs3qDQpIcbBQWzBmD45AtY/xMfxeC0imdFKBIvJIcaJZK wOJ/q3yX2t8q8p0M4JL+MOcRD5BNJYuIVU85Ujl9fvcjvTdBV4nDP9AAYRHklp1LelRp 88PFSvEyPwHjIh1kYt89bRKx0Bm79APJYmod+I0CEziwn+9ZYju2lTHLyKrykH2XDKYt wJ3cQI9KdnLcsKvrsIx4YzyoGRLLAjf4f5xkWCaYj/tszHaVwrm1ASK9qs8hrtyV86Hy h6iA== X-Gm-Message-State: APjAAAX85XSUtsgBhWfZLUeTjbiEpyF1xt0hMqLzKki759faGqubnTEd cwaDwl4UexhNzxBvxuJgQJU= X-Received: by 2002:a62:d407:: with SMTP id a7mr15445832pfh.242.1576867966770; Fri, 20 Dec 2019 10:52:46 -0800 (PST) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id g7sm14388582pfq.33.2019.12.20.10.52.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Dec 2019 10:52:46 -0800 (PST) Date: Fri, 20 Dec 2019 10:52:40 -0800 From: Guenter Roeck To: Srinivas Neeli Cc: shubhraj@xilinx.com, sgoud@xilinx.com, michal.simek@xilinx.com, wim@linux-watchdog.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, git@xilinx.com Subject: Re: [PATCH] watchdog: cadence: Skip printing pointer value Message-ID: <20191220185240.GF26293@roeck-us.net> References: <1576825096-26605-1-git-send-email-srinivas.neeli@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1576825096-26605-1-git-send-email-srinivas.neeli@xilinx.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 20, 2019 at 12:28:16PM +0530, Srinivas Neeli wrote: > "%p" is not printing the pointer value. > In driver, printing pointer value is not useful so avoiding print. > > Signed-off-by: Srinivas Neeli Reviewed-by: Guenter Roeck > --- > drivers/watchdog/cadence_wdt.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/watchdog/cadence_wdt.c b/drivers/watchdog/cadence_wdt.c > index 06bd4e1a5923..672b184da875 100644 > --- a/drivers/watchdog/cadence_wdt.c > +++ b/drivers/watchdog/cadence_wdt.c > @@ -369,9 +369,8 @@ static int cdns_wdt_probe(struct platform_device *pdev) > return ret; > platform_set_drvdata(pdev, wdt); > > - dev_info(dev, "Xilinx Watchdog Timer at %p with timeout %ds%s\n", > - wdt->regs, cdns_wdt_device->timeout, > - nowayout ? ", nowayout" : ""); > + dev_info(dev, "Xilinx Watchdog Timer with timeout %ds%s\n", > + cdns_wdt_device->timeout, nowayout ? ", nowayout" : ""); > > return 0; > } > -- > 2.7.4 >