Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2127231iof; Tue, 7 Jun 2022 20:38:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4oq60F2Z2bNMJzwuk9AGZf4GvNX5g72o8yJyHSIAdLAiJTAqix2odCmFwwptKdpgRo5+g X-Received: by 2002:a17:90a:66c1:b0:1e8:43ae:f7c0 with SMTP id z1-20020a17090a66c100b001e843aef7c0mr25241429pjl.245.1654659525291; Tue, 07 Jun 2022 20:38:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654659525; cv=none; d=google.com; s=arc-20160816; b=eiyIWXSm9rcZXjfi6/OHzDcrad6QSO24JT9d0lr/tsIBqhbXnwH9LM2B5EUREiMPxv ky8m+mwRsKKZV28Y8kYWKV9vw10Fg03lQu73qFYhWcLERil6n+GfaaPB//UzmztOv+Db Q+1X5TIXYwL+mg7ID3E284gos27cX1ZWqEEPF1C6SAOFlO5P+qPStaF9mX+1zTayXXGT bs0Ttb6OsjhbMS97jeiT5alNpvw8DqkesLprQKJOxkvcde4O97EJKfE+fPjuFHkc31qM dXebfRLzkpMNN8U3w35BbC14t+pONf2qIKTO4ST4GYMr7eSYjRIdiTEtqm/ewCNVF98L 479A== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=WgD6bTYQzv9TDumkiZZc3ek6HkC1sBzGPCgy9G+wteY=; b=bIAkIs1h8mG+ODtAK3Y4QAMrOB5h4DQ5vqrDPj3Eo+iELahDYIWitlYEn/W3+ScOyV Dy2oCAWphM6zrZBuYGeKH321Fid/z0WSQXP4i+gtSpwHHGuJTTGMAsnnJIfd2sxVbnOf oImNbBmO2fr3R3GkMunk1LCesAJd1DXTMsEKpAiZg/APzQFvc0r7qKvPvZfbmO77UiLs XOK0V3XWjNVtUckZk6QbgKu9c4TMa+WbktNSl8wBrMHmSyLhCVOmp2e4/FiS8hrbNAZF n5GE2CGdCUojJiXTdaBYo55bysElXNVnvfc/M/+Qft0cnXe/7Dp9M+1jHjBxly/FuFIW eywA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=saKqugDR; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 23-20020a630217000000b003fdf16e7a75si6490035pgc.379.2022.06.07.20.38.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 20:38:45 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=saKqugDR; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2B5D9206118; Tue, 7 Jun 2022 19:56:16 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381503AbiFGWTz (ORCPT + 99 others); Tue, 7 Jun 2022 18:19:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380029AbiFGVOL (ORCPT ); Tue, 7 Jun 2022 17:14:11 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4723721AC75; Tue, 7 Jun 2022 11:54:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4D37FB81F6D; Tue, 7 Jun 2022 18:54:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4F6BC385A2; Tue, 7 Jun 2022 18:54:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654628072; bh=O/cCnmDC0+HiYEH7R5Qp6f1XM/22h+N2T5KYNs2lq7s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=saKqugDRFON8ja/2MsRPP5aeo4zn26DyfHBXR7oQv7GaNY4rds6VvMXw72M5jApVe JmR/PpwWf6APZtoVpUvuBf+GkwopIdzdNUUZF4IEngHzI9GHSiDdcvUlTxujTO/I/5 kWSF2hPih8OckGU9DrtrXQcGuX1MPH5wTLrQTMVs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Corey Minyard , Sasha Levin Subject: [PATCH 5.18 156/879] ipmi: Fix pr_fmt to avoid compilation issues Date: Tue, 7 Jun 2022 18:54:34 +0200 Message-Id: <20220607165007.233902758@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Corey Minyard [ Upstream commit 2ebaf18a0b7fb764bba6c806af99fe868cee93de ] The was it was wouldn't work in some situations, simplify it. What was there was unnecessary complexity. Reported-by: kernel test robot Signed-off-by: Corey Minyard Signed-off-by: Sasha Levin --- drivers/char/ipmi/ipmi_msghandler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index f1827257ef0e..2610e809c802 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c @@ -11,8 +11,8 @@ * Copyright 2002 MontaVista Software Inc. */ -#define pr_fmt(fmt) "%s" fmt, "IPMI message handler: " -#define dev_fmt pr_fmt +#define pr_fmt(fmt) "IPMI message handler: " fmt +#define dev_fmt(fmt) pr_fmt(fmt) #include #include -- 2.35.1