Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp836091ybi; Fri, 12 Jul 2019 05:27:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgnUzH6jQHsUE9xUnSoycgKc7TJLb+0GJ0IfMvhKNTDtcmEN8mONgBp/M6WdHji7JUGe35 X-Received: by 2002:a17:902:740a:: with SMTP id g10mr11269213pll.82.1562934459098; Fri, 12 Jul 2019 05:27:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562934459; cv=none; d=google.com; s=arc-20160816; b=BY/yi4E5pHbeo6r3r6TtWb6qrt7rO677Quvno8ZZYnJ6LsObEUpeSTe+4EP/Y3ABaK v5npvcqV2fd7razslqXTsDL1byPgGc5xJGbQYL4lAJ+C9u3olMcwfC68uaZDVESzxQSC Rgz42xYWK/jSk911ZJIcFhlguTYjtPUlzeoMSPNShn+Yto2v7YCmcxtxIVOhCaT3Kch+ 3IXqQfJs+aFBe0OpHab732mBrDCuM3OnjnLo3HQ76MkjmSjbfg2W/sBBF5zHwKkxDxBU ge/LtYMDW5BAvqbMrU+adnfn9JiwQfFqkHRD5PZ01bX3LrRJhsctS/VysBOdXM9k4M9T v1Gg== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=1aHXKCfVcW2lRq+yxvzDxgJ2iIKqn3BLOHQ0ii7a9Ko=; b=RSwftsm/bca9MII0TH/zsWv+kiv72pwCtvb8xV2j87yfizeFA5FdZDtGiM3dJYe/25 +t+MB2QajXIufaJedDj9Av3s8ZP0tHB0dQnZjrgikYhUoSiBc7kIKUUDYSc6RzPgQv4S 2VgGcvJSLUThiaMZ74d4R3yw26l0pqfYEmDgx+4Cle5jsRgAiKrcujhrqLYibnmnYHDA roO5fpjALA2WWJ6D93dRIuQQQWXBWdr5X9YryNaSEcamS6sKpB8zImn33c/LJIKdAI9P gWYATCy7OCAK/4Y5NcVpS1AO4nqOltCpUEF6wnYYDDq1of3po+qlAUrYhyMkfbSGgzGq b8tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rxKSLmoI; 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 c7si8016856pjo.88.2019.07.12.05.27.23; Fri, 12 Jul 2019 05:27:39 -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=@kernel.org header.s=default header.b=rxKSLmoI; 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 S1728093AbfGLM00 (ORCPT + 99 others); Fri, 12 Jul 2019 08:26:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:37474 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727606AbfGLM0X (ORCPT ); Fri, 12 Jul 2019 08:26:23 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D1F212166E; Fri, 12 Jul 2019 12:26:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562934382; bh=yI9lQGvkfE2VG2EgKJi2P2TGT6qoGK+er9pkMhTkG8Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rxKSLmoI6SYDjBbvdesmWaTPwxbnRBJvCno4KsZZsDG4qDxVrHvNKQMr9GPbsOd8z AVWQV4mtVulo3OPRdlKRnYX+Tbs10ZXcbqzBHwAcWDCbE4tAZlCZIoHTgTwMSm9v/L 1N7jOic9uwHuGM0/bPwLkj7lHurdRxEW/9CeevJY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Fabio Estevam , Marc Kleine-Budde , Sasha Levin Subject: [PATCH 5.1 038/138] can: flexcan: Remove unneeded registration message Date: Fri, 12 Jul 2019 14:18:22 +0200 Message-Id: <20190712121630.143981567@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190712121628.731888964@linuxfoundation.org> References: <20190712121628.731888964@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit eb503004a7e563d543c9cb869907156de7efe720 ] Currently the following message is observed when the flexcan driver is probed: flexcan 2090000.flexcan: device registered (reg_base=(ptrval), irq=23) The reason for printing 'ptrval' is explained at Documentation/core-api/printk-formats.rst: "Pointers printed without a specifier extension (i.e unadorned %p) are hashed to prevent leaking information about the kernel memory layout. This has the added benefit of providing a unique identifier. On 64-bit machines the first 32 bits are zeroed. The kernel will print ``(ptrval)`` until it gathers enough entropy." Instead of passing %pK, which can print the correct address, simply remove the entire message as it is not really that useful. Signed-off-by: Fabio Estevam Signed-off-by: Marc Kleine-Budde Signed-off-by: Sasha Levin --- drivers/net/can/flexcan.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c index f97c628eb2ad..f2fe344593d5 100644 --- a/drivers/net/can/flexcan.c +++ b/drivers/net/can/flexcan.c @@ -1583,9 +1583,6 @@ static int flexcan_probe(struct platform_device *pdev) dev_dbg(&pdev->dev, "failed to setup stop-mode\n"); } - dev_info(&pdev->dev, "device registered (reg_base=%p, irq=%d)\n", - priv->regs, dev->irq); - return 0; failed_register: -- 2.20.1