Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3853578ioo; Mon, 30 May 2022 11:10:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweFWcLUzwjn2l9tRXpMWP6RSBBucl0R4q30hnH9WGWEYIyw/aSR5x1N7N1PGUx7Uro9EVm X-Received: by 2002:a63:5f83:0:b0:3fa:8154:dddd with SMTP id t125-20020a635f83000000b003fa8154ddddmr30389776pgb.486.1653934233876; Mon, 30 May 2022 11:10:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653934233; cv=none; d=google.com; s=arc-20160816; b=DrfjSekU5yuHzh89h4Mug/wGm/a9shZf5LbmhnHJ2NaDC5EPGynGXnJq5aMOEv2ORd eJ7lYDJRa4K22y2PXAZw3jkhw8t9WPmp3hOpOPZ9blQTvzWFH70P8waTcPP1suCVb+JL 4VciLjhLOLr9ExyEvixpnYpGeCi/zV5BjqsNjGOzARQQSW6exW6tYiU1kJ6OX5ex0DIx tJ/Pr7FYuLlnGkLW8ACltWyLK5J6gNx6LJ/JEH+c/Nxzc3E3VTiMjF2CboQNrQ6ZTkYP U4hbH5z4ry7W3G8dPc3Fzdw3PrF3qhn+o28TdFjubYT2lgVBdVywbNkhP+rGynKZEtrS keyw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3oHGaRiLVqnXsyOYGLuhpIOQ1B3qkWd2CqtvaVE1dMI=; b=n47oFrNmM+EiFHPR7aevU4PJnSZ6AIcugsr7E82G///WiPVKv5dFHstSzqIEBIvAcq CRGwcSdSH2ckMed3Ylbk5SY9bNGzv2lDRpocwilHcjG2QBlQlVvffSclkR9QPa64x26n b0MYzYM8L8kI3wjv3ML38z52JX/bsQl/9Dg3fpjGXEGujz0scenvB2cPgO2KztgP3U/d csAk5syyzezjqaUkAtutaN0CIPo16BlSO1jRLKIA1aYPF/ewT9WCv2kgRL+BFvO1Ugn5 RtsO3jzobR98EY4GwwEoUdF1vfxoa1ifkcHU3KHesWkqWucumeDf1XOIlUSwTmEGC/eM fScg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FbIyUb2k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e6-20020a170902ef4600b00161573da69bsi18285969plx.223.2022.05.30.11.10.21; Mon, 30 May 2022 11:10:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FbIyUb2k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S240116AbiE3OiF (ORCPT + 99 others); Mon, 30 May 2022 10:38:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240596AbiE3OT4 (ORCPT ); Mon, 30 May 2022 10:19:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 527491248F1; Mon, 30 May 2022 06:50:03 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 1C60660FFA; Mon, 30 May 2022 13:48:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7E7BC341C0; Mon, 30 May 2022 13:48:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653918522; bh=3wuBoO78M/jyBi9wiMoupv9Wxz2G3NRlkB+0uX6BVHo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FbIyUb2ktqXgQe5uU0i9KXW3Wrf0CuXwRNcGVKsftzfTunI/OrcwACjH9rz5+T9pr zWta4/tzh/gfCmV+D1WqjUArTTftRja9I6dDyaivPThexVvKaNK670V+ZSE9JTQsYe Dv68EglaZxgLHxXP/pWvCyfIAkNY0T5RMdA7BgY+FGvgMU1iTk9+U6D2mo/40CBAb6 cj+Y0IuwSX/awv3mZOMbyADSkU5OBdSocABsNU1B9iUqV4WCTcREkRGARsMIScLhQn X2n/IzTYocAV3hSrX+tshyj6O2499B+xR2MiSSHG5qq0m8jiwb0srZGrKDVDEeJ7ri 2PFRTZE1wdtyA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Corey Minyard , kernel test robot , Sasha Levin , openipmi-developer@lists.sourceforge.net Subject: [PATCH AUTOSEL 5.4 40/55] ipmi: Fix pr_fmt to avoid compilation issues Date: Mon, 30 May 2022 09:46:46 -0400 Message-Id: <20220530134701.1935933-40-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220530134701.1935933-1-sashal@kernel.org> References: <20220530134701.1935933-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 ad2e6d55d4a5..736970312bbc 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