From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A95C9C77B75 for ; Fri, 19 May 2023 17:57:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pu0P/BC5/VH/AYfsjqgTCOM5ysaqXuQde4gQ35nvKP0=; b=qFxCKPT0LBfmA7 4Nl8q0bPT52gWs8pg2QkXSfvqaKaIK2HIn2iF7A9EztUIBBz2QNMCRQJC55LoJyGC4QsxyDAWg9tf IN1uxnfcoqkFP53667KUNngH94JPAAf/8lqwr73Rxi/Ggu6yhD+9IZi3gYMvPbIKO/+2o/Jg8Ayry yG9ZkJlDkigj67Kj90trgydmKFUsqmL0agzHPzDYYFoUCxwQ0PJf1mToDFriZEsdfvsAVH+AvQJD5 VVEiPj8OKWMrNVg+9Hh5AUPDvffmJHDqIfRde4AO5c6vxBCcTfcaMQSTIJa/i90ZxTz3b6LJVKixn Z3cYjku5fXOolZfNxrAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q04Lg-00Gvaf-2T; Fri, 19 May 2023 17:57:04 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q04Lc-00GvXz-22 for linux-arm-kernel@lists.infradead.org; Fri, 19 May 2023 17:57:03 +0000 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-64d41d8bc63so224809b3a.0 for ; Fri, 19 May 2023 10:56:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1684519017; x=1687111017; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=lt+R66SZsjACqQLQDsP1T/1PH804jTRmZ4JzbbwpO0U=; b=f8+SMr3t2qPVQOmEi/6pwbqCUOu+FC7kgupDjZbbgRp/Bju1XiEyEROvnrzIeAPIcP ptNQFmQF4OEsozJNoUP8LqyhLYk1oGQlOlbBPofaDerSBfIUBnO6R5Jd83TmqVtWTv47 aIptasIq4EtXD3ibEpGgZXhzXlDc0usDHTBzB7QygCySo1+puz1Ju9yhtlRHSax8YyEU PAZGU05VOZGzPtVu861CMp2L16Pnfn7JMNmlk+yxoV1pxiZhiFkDlSYGbAJGGPOK3KQp BvlFnFqJEgL8s31SpQyhgf/w4bGuatySyK6UHtRDBALdkPUn5B8TKVN5Hr5jTL9ZBuol odzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684519017; x=1687111017; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lt+R66SZsjACqQLQDsP1T/1PH804jTRmZ4JzbbwpO0U=; b=kLCxfAF6Yfeh6oDEX/zsl6WQoY5rDxlBTLRk1Jcj1mCn5zoFdM+FWKBGJT60dMJkUH ruqDtJSkeyjtGWZUxwlxsQ00Sp2Q0PmkrkWidpWT7oKxAg7etTXKy18twc563sOxZbqr UQeaxqWq3qFa4pUrtxy05xdl4Bs4w4aONcZGQgh7Z3up+wlDG3xoP2PmI3YGii8qywY6 3Ixpfm1PYSVg5IX/206vKRmL6UjUEKFKSKqTu+74aIZYIBq9u9RUP5JiIhKckK7xcWok OBYmKQE8/JJUis3B9n+XdTsaHq3z6HK+AFQxc+sBwzIwAQbwSjpwceSAgwF8bSSxR0vU XJuw== X-Gm-Message-State: AC+VfDyBhJxEsXB6W8GkPqF/tVdKWj02Hugtl+xchF9S/OMnTAzCinHM ZFtTi5IXHj3VxNpraCVXoI4iWA== X-Google-Smtp-Source: ACHHUZ5XErCDTH4azEKBxRjdnDnNN3sfrlswrYkchau1PsP2au5OzmCr1ocMI4VOVLvqOHd0cSpp4w== X-Received: by 2002:a17:903:2287:b0:1ad:b5f4:dfd5 with SMTP id b7-20020a170903228700b001adb5f4dfd5mr3851080plh.32.1684519016686; Fri, 19 May 2023 10:56:56 -0700 (PDT) Received: from localhost (63-228-113-140.tukw.qwest.net. [63.228.113.140]) by smtp.gmail.com with ESMTPSA id ft24-20020a17090b0f9800b0024e268985b1sm1763401pjb.9.2023.05.19.10.56.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 10:56:56 -0700 (PDT) From: Kevin Hilman To: Prathu Baronia , Kevin Hilman , Aaro Koskinen , Janusz Krzysztofik , Tony Lindgren , Russell King , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Prathu Baronia Subject: Re: [PATCH] arm: omap1: replace printk() with pr_err macro In-Reply-To: <20230518103324.881394-1-quic_pbaronia@quicinc.com> References: <20230518103324.881394-1-quic_pbaronia@quicinc.com> Date: Fri, 19 May 2023 10:56:55 -0700 Message-ID: <7ho7mgyzko.fsf@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230519_105700_842587_73491D25 X-CRM114-Status: GOOD ( 14.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Prathu Baronia writes: > Use pr_err() macro instead of printk(KERN_ERR "..."). > > Signed-off-by: Prathu Baronia Acked-by: Kevin Hilman > --- > arch/arm/mach-omap1/pm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c > index 9761d8404949..6a5815aa05e6 100644 > --- a/arch/arm/mach-omap1/pm.c > +++ b/arch/arm/mach-omap1/pm.c > @@ -632,7 +632,7 @@ static int __init omap_pm_init(void) > > error = sysfs_create_file(power_kobj, &sleep_while_idle_attr.attr); > if (error) > - printk(KERN_ERR "sysfs_create_file failed: %d\n", error); > + pr_err("sysfs_create_file failed: %d\n", error); > > if (cpu_is_omap16xx()) { > /* configure LOW_PWR pin */ > -- > 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel