Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1046794pxb; Tue, 9 Feb 2021 21:20:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwwbR5i9vH55JgASSS9bPJ0zO9RnxtEyK8w5u+/4cYfbstile8iSQIju+AhJQblPBTPmDk X-Received: by 2002:a17:907:68c:: with SMTP id wn12mr1157341ejb.487.1612934416659; Tue, 09 Feb 2021 21:20:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612934416; cv=none; d=google.com; s=arc-20160816; b=zXR2hPVr3am0MNKVRJj/xpQnzwpslRt0NdptyKWMppghEnikPDFZLrhZhS06p2GHlb rNX258pcO05zhxnl6R5LrxyFmDGYYikYjFcBnm1OXE9NH3f2GIxapz8MNY8kR3RTgdpC jjjcIHdegalFrmeYH8MrjuOunkTqoM/peiJT6zPxbixrEMVGDhc6bTSQd/FE4GEQwQ8k 3Iwjg4SNtUxXnInW2AYZCRsD8zl6s1+ILQ3ab6wVHLOZ9X3SIrytSmzYmZUcGkGv/7mo plbAUB4JNr/jKqfJNe3vilTwXJhD65alVLCRChIpZiFSZE/M7xQdMC6d6U0kcXjf12nA rqSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=9wfriFlXIrzFi4KX6VlE2iBQzZn4GFGemJfFKfjpFTU=; b=lrjF3FSNmBTFjzukGocGnxeyuAfKdcznaaDc4cZJYPcGlOvjvVKU6jJHd0HgvB35/w Xou2AYJozyrS1eEgnEF5gWigxoj5rgmFKF2M9M69SKOnpVyUpXnzMzm2GDmDohE8KFZc IGCPuXdsS7ngKegXfkH/kj3wgWUtpl7EZhsjoiHA7+7HJIwFzlKG0VamOztZ0lTAinLZ 0LbwMqNK/+54Zk5iQkatZJVX4hwOa5gotOFAlajUsQCF+4TzMhvfzbdkThTxm+PfX0mw ey0zFBz60hDJfXEb6zHjn5rRY/p5RcGq/suIjABZQ51hL3Uc3Hp5zm21hXXRY2L1pQoj Eosg== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d23si597002ejd.151.2021.02.09.21.19.53; Tue, 09 Feb 2021 21:20:16 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232259AbhBIO4S (ORCPT + 99 others); Tue, 9 Feb 2021 09:56:18 -0500 Received: from mail-oi1-f175.google.com ([209.85.167.175]:39221 "EHLO mail-oi1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232224AbhBIO4A (ORCPT ); Tue, 9 Feb 2021 09:56:00 -0500 Received: by mail-oi1-f175.google.com with SMTP id l19so7194079oih.6; Tue, 09 Feb 2021 06:55:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9wfriFlXIrzFi4KX6VlE2iBQzZn4GFGemJfFKfjpFTU=; b=BLyaCcyhkwUBMXE3erWNwvx0yzG9ilvjV0lO+P0ru88jhduJ4vsW5yWqqQOYMZSSDu rc5ZXdbnqNBSDWOhk+KEehO0P1FMOdupIjnwBv3sS+1Snnp4Ck5e2D5xAdC8uXlKrqQH V+ysZbt9O1rrqz6Q5m+43LBLaOII+TmcqvwxyTm/5sT2emzx52wTYJiG+0dtHE+8s8Tq luLOpDfZFCSfGiojqSUxnkbeF9GRMTc63D7BlTXZF3aDTfdzMAwTxAY9B2HJFg7kYPsI pDvGWCFtfjstVYVsV5D8mpEAPnekzonuLN4ehL930JXVdcdUvVYZlTOGLRT8Bpcr7kPm QnsA== X-Gm-Message-State: AOAM532fPLOfXFfo/n8CboZbRtsX4y1im7GYuG070z2hzErq7SIJPsUJ J2cQVBt5z1wv7/WgrcKiqHsw7/RMsHj4IM4CUUc= X-Received: by 2002:a05:6808:5cf:: with SMTP id d15mr2555860oij.69.1612882519120; Tue, 09 Feb 2021 06:55:19 -0800 (PST) MIME-Version: 1.0 References: <4653881.kBYL0eE9gL@kreacher> <3297462.0emgCRZMdL@kreacher> <337f970b0643d2f67f9a388ff8bbddcf673a1c6b.camel@perches.com> In-Reply-To: <337f970b0643d2f67f9a388ff8bbddcf673a1c6b.camel@perches.com> From: "Rafael J. Wysocki" Date: Tue, 9 Feb 2021 15:55:06 +0100 Message-ID: Subject: Re: [PATCH v1 2/2] ACPI: OSL: Clean up printing messages To: Joe Perches Cc: "Rafael J. Wysocki" , Linux ACPI , LKML , Hanjun Gou Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 8, 2021 at 9:49 PM Joe Perches wrote: > > 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... I've overlooked this one, will fix it up in the final commit. Thanks!