Received: by 10.223.185.116 with SMTP id b49csp6403153wrg; Wed, 28 Feb 2018 08:50:49 -0800 (PST) X-Google-Smtp-Source: AH8x226c3eaeuwfI+R6sX43eFWp8qXLZfEnVc/qljGOpI11SxxuLSqNmaDq8UFIHZrNG8DH/RKQW X-Received: by 2002:a17:902:6c4c:: with SMTP id h12-v6mr18410780pln.101.1519836649642; Wed, 28 Feb 2018 08:50:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519836649; cv=none; d=google.com; s=arc-20160816; b=b20gF54Xz0/fsbt5ywSiSUthmY0SbpDg/oifJGKdgeGBG5kFx+j0NfplA9iUrmUTt/ dQPSbsXjIDFU+RZJTMfbar3+lMC+JtM29FsKTZcL/0aWl7NwzkvpKF+5J80COWXaYeZT jlph3bJ9Co4mpz4Fya1wEAMle/4GS1BsDNpJ9M9CBZyK5wytAkc6ka0or4icxfq4xxN+ F8Bczeh7JyX6BXFwusPZj2HR23w0qBt85bWKu/z1Zz3uHxu6vZDqF1HOehZps9N3DIyB z7URu0KdN76aSgZOf4+d9ucr/BCicxBteFTxpiiJBBaVrMOR1Ersav497JtKfw3vtlnR 8EYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=RommifVPZff5bHXTCANUKA+F4H/oN1Zn7QveTZnCDjk=; b=fn25HvFS+h4wC02juCbC7hx8X5OMEVUgF/WKT6CHi3XthQ7DAEHjh8xG4ZRKuuSp+n APMNgq8Rr9fvqehnsGYI8QVrIZtfBJluLbIQD8xc68Kdvof1Z5BvJoHpVU1JGBhAokDt AGIu3fQoEIhY25llPT9CeNKKwsxXSnu/l3QkwvfKCndf0yVwULLu9XKolwxBNHQ3NuDi XebllgI+JKJFBrGf5sFl1dmdMEFknxZlG4l/+ilLL89sTYvZ7aPEKun7M5sMgEmXgY+D 1VzVDvsJEoqCKEJT4s6KXE3jSh75ZADuEf3aJEtFh02EudlJ8ZH3eD2QPZC0FB7cKlEw G0qw== 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 70-v6si1521643ple.147.2018.02.28.08.50.34; Wed, 28 Feb 2018 08:50:49 -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 S934289AbeB1P6q (ORCPT + 99 others); Wed, 28 Feb 2018 10:58:46 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:34574 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934277AbeB1P6n (ORCPT ); Wed, 28 Feb 2018 10:58:43 -0500 Received: from [2a02:8011:400e:2:6f00:88c8:c921:d332] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1er3Ym-0006XT-HI; Wed, 28 Feb 2018 15:22:25 +0000 Received: from ben by deadeye with local (Exim 4.90_1) (envelope-from ) id 1er3Yl-0000Kf-9P; Wed, 28 Feb 2018 15:22:23 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Wang Qize" , "Greg Kroah-Hartman" , "Rafael J. Wysocki" Date: Wed, 28 Feb 2018 15:20:18 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 253/254] ACPI: sbshc: remove raw pointer from printk() message In-Reply-To: X-SA-Exim-Connect-IP: 2a02:8011:400e:2:6f00:88c8:c921:d332 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.55-rc1 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: Ben Hutchings --- drivers/acpi/sbshc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/acpi/sbshc.c +++ b/drivers/acpi/sbshc.c @@ -287,8 +287,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; }