Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp10324pxb; Mon, 8 Feb 2021 13:39:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJxW6iLINmilIk//S1Uti1CHiVCAqYIGxvlMlpd8tOd28rfemp8sn3ir2kwuDG6lezK55nrf X-Received: by 2002:a17:907:1692:: with SMTP id hc18mr6694579ejc.244.1612820353351; Mon, 08 Feb 2021 13:39:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612820353; cv=none; d=google.com; s=arc-20160816; b=Tj6gOuiBBG7JCAzb1F4tPKnPNFUh0B1aXsaXrG1wb7gNgugbSZp8QK6/B5KxOGKBFw SLTETIytxM09279arp+DUyKMmJ2ny8LyuDwZrrXICT8Fz6LO5fQjLXvENNLLeb9QfLxX C4Xu5T5sQccne24RqFJJmJpcXGVhDW/CLsf/nYa2fB0wq1NgWiue7roIzCrT4xtS1/3u lY1ezAED/fWI3okKKNPb3QkV2WW8CQZmxnmjL6EVE/2SuMeM9geeJbn6U36CabWkdD/l IdJLNvKNuqummcTPQOMSiGmh1lJTmaoCSc8knRB7HgiQPDd8cE/XJt4ABPnD4Fr8noat OqeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=jrrL3ZzSjneTKNzvkv9yz0A2id+shvTcLkwQdTbkPCE=; b=jI1VgP1gdsf8mY+E4ImnUUWAov0O3uLb8Qrh+Q2OuHv0OvX7PisusZn6mjbVGeA02Y nKpJESL2zaUEmZab14V4MIWdKsrPRj4LQ31kZNA3OrEQWIfYK0HqYwv79q7IVCwF8pHo toYFYUThMeAUjjPlxIFw74qckfAugXBoFKpvu1z8C+6o+6nm/qwtM/c/bMoM0uszTedD astlZWpstrcf4nb4oIyu5SEoCCkHKEPj00ipkmmq5LMgcg8/Y5fws181zRtDUkyt6qZ2 U1JRt2oOJ2jIz9+eWtPMegylOL63gmQNfZ7evAU+c7dWUgTNw62yZnRS+iTCMltzt280 mtFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce16si13128256edb.87.2021.02.08.13.38.49; Mon, 08 Feb 2021 13:39:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236678AbhBHVfL (ORCPT + 99 others); Mon, 8 Feb 2021 16:35:11 -0500 Received: from smtprelay0124.hostedemail.com ([216.40.44.124]:59598 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233439AbhBHUqi (ORCPT ); Mon, 8 Feb 2021 15:46:38 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay05.hostedemail.com (Postfix) with ESMTP id C66FA18484D83; Mon, 8 Feb 2021 20:45:33 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:973:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3873:3874:4321:4605:5007:7652:7875:7974:10004:10400:10848:11026:11232:11473:11658:11914:12043:12291:12297:12438:12683:12740:12895:13069:13311:13357:13439:13894:14110:14181:14659:14721:21080:21212:21611:21627:21660:30029:30054:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:6,LUA_SUMMARY:none X-HE-Tag: rice92_5b00f7527601 X-Filterd-Recvd-Size: 1747 Received: from [192.168.1.159] (unknown [47.151.137.21]) (Authenticated sender: joe@perches.com) by omf12.hostedemail.com (Postfix) with ESMTPA; Mon, 8 Feb 2021 20:45:32 +0000 (UTC) Message-ID: <337f970b0643d2f67f9a388ff8bbddcf673a1c6b.camel@perches.com> Subject: Re: [PATCH v1 2/2] ACPI: OSL: Clean up printing messages From: Joe Perches To: "Rafael J. Wysocki" , Linux ACPI Cc: LKML , Hanjun Gou Date: Mon, 08 Feb 2021 12:45:31 -0800 In-Reply-To: <3297462.0emgCRZMdL@kreacher> References: <4653881.kBYL0eE9gL@kreacher> <3297462.0emgCRZMdL@kreacher> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2021-02-08 at 19:59 +0100, Rafael J. Wysocki wrote: > Replace the ACPI_DEBUG_PRINT() instance in osl.c unrelated to the > ACPICA debug with acpi_handle_debug(), add a pr_fmt() definition > to osl.c and replace direct printk() usage in that file with the > suitable pr_*() calls. [] > =================================================================== > --- linux-pm.orig/drivers/acpi/osl.c > +++ linux-pm/drivers/acpi/osl.c [] > @@ -528,13 +531,13 @@ acpi_os_predefined_override(const struct > ? > > ? *new_val = NULL; > ? if (!memcmp(init_val->name, "_OS_", 4) && strlen(acpi_os_name)) { > - printk(KERN_INFO PREFIX "Overriding _OS definition to '%s'\n", > + pr_info("Overriding _OS definition to '%s'\n", > ? acpi_os_name); If you do more of these, perhaps rewrap lines to 80 columns when possible. pr_info("Overriding _OS definition to '%s'\n", acpi_os_name); etc...