Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2149331iof; Tue, 7 Jun 2022 21:23:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIqSmIRdHfYtAZKxgfM/LF/gacyodSc/j8V0SA+f5qeyZquOIFR5hhqfZbEuMSG9eu7S7U X-Received: by 2002:a17:902:e54c:b0:167:4f35:9556 with SMTP id n12-20020a170902e54c00b001674f359556mr24342728plf.5.1654662238117; Tue, 07 Jun 2022 21:23:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654662238; cv=none; d=google.com; s=arc-20160816; b=tUyLxb7f4HrBOExkm2gZwYwbw8Uhgr4HTEESy9FO2BrqkrrUxwZTTE8h2FgyNiDmHF 6nMB1RKR5LtpCtp/kD2REZ6V0u/Gv20yviK2yzabYTUlbkVjuegS5rHVb2wyqyrw7Bwl MlCdbWC5ZbYpN819sREgIjBMIOcCeTHrtmlUTOmJQg78p3DGexIIx4jx85/615tNyQYa xps5eQFhm2nhBY1p16HZwX38GDPUAZO8UyNT1ogI3UdMMbu8NmyKCvjzI3+RywEnxYBT q+WQQDVHYr/I0m8hiEFQbi/cR2o0jtJlsEFNBRa2MbSbFouPZH7usIMDXGh8W5t7426+ eK7Q== 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=mftLfeRlYEITKbAAf3cWUugTMmOo921CPHfJNb8J3Hk=; b=CPAtRsAjfyGNql2YqgmBKXfHm2xizv5Euu7SW9ZdHfvU5664g1dRRk4ZU+cwBrqOBL CJtLbe0rkH6vuMJ5BEy3kRBBatlJ9h3icB7907WcyTIgxnCs5fqihW52QQo7vgHY9YMU UOoyBc0mLbmUoaa8CcqIs6Kb24XN+SH6l0QVU4vWjPd7T4lZqthOvQ7ZNHr7+Mh0y82+ jY6KzRF2ujNglIA9OGviSRa0D0kgdGutusUUjDUqGARhqvSQCjtk/TXEva9nLt+gYYyg oyUf44dGUwp87OTSTUHFS2a/VDcA6m4hPLb9FK37kLHnniNkl+u/zqjgmQrnA1JOmlNI 9ybg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=eXza8gCn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id r18-20020a639b12000000b003c6b82974a1si28297817pgd.63.2022.06.07.21.23.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:23:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=eXza8gCn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 EE77543E80D; Tue, 7 Jun 2022 21:10:41 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346504AbiFGR3U (ORCPT + 99 others); Tue, 7 Jun 2022 13:29:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346806AbiFGRZa (ORCPT ); Tue, 7 Jun 2022 13:25:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C20FE1105F5; Tue, 7 Jun 2022 10:23:15 -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 5CDA860BC6; Tue, 7 Jun 2022 17:23:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A2C5C385A5; Tue, 7 Jun 2022 17:23:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654622594; bh=NJw/Da0vXMhBNgmTxMYq7qrM55Vi2LB9o0Wk6RJm0rM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eXza8gCn5Y4E69ASjHgKZCxlfGxUvIm6SSpjiimVzMdZxuJOGEI4VaDeYqwKHQKHi 5m9+WLM5RcgwECQUYcpp4mJ+nV8u6U1ysJecM9vL1qUgdjIRSeP0r/Byiu4bHpZEQh kuJWKfbUV9NohObNS4Kw/TrOnMEBB0a8mBKSLGiI= 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.10 075/452] ipmi: Fix pr_fmt to avoid compilation issues Date: Tue, 7 Jun 2022 18:58:52 +0200 Message-Id: <20220607164910.788086056@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607164908.521895282@linuxfoundation.org> References: <20220607164908.521895282@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 8f147274f826..05e7339752ac 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