Received: by 10.223.185.116 with SMTP id b49csp213246wrg; Thu, 15 Feb 2018 20:11:59 -0800 (PST) X-Google-Smtp-Source: AH8x224rL2I2nh7MW5JLbo7+UPXBSM6O+X3acLJp4kwbVS++zvsndAp4XP61/cTrIXvvZg23sPBd X-Received: by 10.99.63.9 with SMTP id m9mr4166519pga.247.1518754319796; Thu, 15 Feb 2018 20:11:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518754319; cv=none; d=google.com; s=arc-20160816; b=DdqM1o6o5fU4Kf39NJ+Vb4LG+V7jLrp7jQS0Rm1YAeLQuTjpM9zoQnNevFG29ehl7N aWvqIu9RrpV2GNf3xFVDZY5mXdC+nXfs02UInk7uE48UZeUwgdX7FMNO9wTyMG45sFji GnRNybzYBaoHJUTpQhy6NcIQeUDwDIrP5Y1rj89JDWTeXuXfAWNKgm9GBE91OUtM7QOG EVoU/LV3gZ+3Mjon38zD2gpmvsDwRKe/gXLnpPahCfpKVTlIsAO9scszo2chQRtP4o0b baTm26OCal+1ZMMwRvLByox3jlE5398Sr1235NDW1OFd3GgUlVhvMvBP4KVhY3HVT0XD kiHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=MvHJPP6w51oRnfawqG1n/09IWkFXDOC51hgxzjK9o8E=; b=ncWFg27ZUaURkedcsQkatDU8etiQ5UGzhJetG0vWEg3611N0+x0N8WvDP466v0v+VG LVo/1bMV2fIa+Yr1G8FZCXZN3whB8asZxTwRqV6DkioNSURNv/6XUtb3ZmZhSuss/xzA olW045Z+N4LAzPkXISbzdHEwNt10Hhw33WI6AC8gAJOATdXTN5LeqwAq12XeylyMJyfv g0z+yZt9rbZrhOUUPmDd+oErfxE4zzEOt4DsfVWp8EKuYasRN5W/WFlUQy0uWOC/4pT9 EL+woQQqLVb0du0NmfP7ywo1SFxtWyVGXgY/4vFmhgSb2vrlLug+J4t32BxfTzU4RWU9 4w9g== ARC-Authentication-Results: i=1; mx.google.com; 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 e33-v6si2066235pld.628.2018.02.15.20.11.02; Thu, 15 Feb 2018 20:11:59 -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; 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 S1424882AbeBOPrX (ORCPT + 99 others); Thu, 15 Feb 2018 10:47:23 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:36158 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1424460AbeBOPrU (ORCPT ); Thu, 15 Feb 2018 10:47:20 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id E0C861025; Thu, 15 Feb 2018 15:47:19 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Wang Qize , "Rafael J. Wysocki" Subject: [PATCH 4.15 190/202] ACPI: sbshc: remove raw pointer from printk() message Date: Thu, 15 Feb 2018 16:18:10 +0100 Message-Id: <20180215151722.690109957@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180215151712.768794354@linuxfoundation.org> References: <20180215151712.768794354@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 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 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Greg Kroah-Hartman commit 43cdd1b716b26f6af16da4e145b6578f98798bf6 upstream. There's no need to be printing a raw kernel pointer to the kernel log at every boot. So just remove it, and change the whole message to use the correct dev_info() call at the same time. Reported-by: Wang Qize Signed-off-by: Greg Kroah-Hartman Signed-off-by: Rafael J. Wysocki Signed-off-by: Greg Kroah-Hartman --- drivers/acpi/sbshc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/acpi/sbshc.c +++ b/drivers/acpi/sbshc.c @@ -275,8 +275,8 @@ static int acpi_smbus_hc_add(struct acpi device->driver_data = hc; acpi_ec_add_query_handler(hc->ec, hc->query_bit, NULL, smbus_alarm, hc); - printk(KERN_INFO PREFIX "SBS HC: EC = 0x%p, offset = 0x%0x, query_bit = 0x%0x\n", - hc->ec, hc->offset, hc->query_bit); + dev_info(&device->dev, "SBS HC: offset = 0x%0x, query_bit = 0x%0x\n", + hc->offset, hc->query_bit); return 0; }