Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2929377rwb; Mon, 15 Aug 2022 14:15:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR6u0sb0jhya+l5Llc9+vWHie4V0YVqAnxZmmEXNwwOYtCiEeCGRKXaLdOmMx0Gya3qEl45D X-Received: by 2002:a17:90a:17a6:b0:1f4:f635:93e2 with SMTP id q35-20020a17090a17a600b001f4f63593e2mr20307926pja.156.1660598000192; Mon, 15 Aug 2022 14:13:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660598000; cv=none; d=google.com; s=arc-20160816; b=QiYTHl1EDDoPeVNFBtGrVqdO/47jHik6v3WKaPnB1r8aO0+jLhCsxRHr9Rwm07LDD7 W9rKASCuVovhGI1vksfBiGdPLD7NKSeF/fuesMfSHWeXAIKoIDFe0lISvSS6sS4jDDzb Z1YeBNNlk/igAWwFShl9TR+JJZpZ8NIyBK9+frdEYiYY49cEGDMCdTe0f/mp8e0PZbPL IyMaL75i0ma0c43nh3vuWTULidCwJuz3NFywpghOQ7dC0ximuxHUNfJa7PJ6bP60OW3f ieNq1mifKPGYBODdYaVhRagqtsHMfBT8Yqx3yWt6UA7bcIAfMC0dc5czGFDtZ3ibEvQN CCiA== 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=5pkI7CvxVuHGmf8Yy/iKwzfVhzpyADAIP6tuWW+h5Ko=; b=MEGRaJa2axnAXazZb9gTl1ZMsgh2hUQunF67XNGM/HXxBzLrKKLTukbwJRt+n+nzPo J0f2xXFy1cqPlZkXcQNMu9GiaJgA3wUTQjsmhMaK3CS8hsrVSnRKbZz8hmcmT+7bRS7N dkzzOuXh4x7zKErisbKqvHmQVyvV+x65w+CfwgLwn22Lfj9FI2txEwEeHDt8jUrGROdV Y0VQiC+vh/bfEXkB6Uz/REE3lFj+vTESyaDfpilM5FTF1ApbC8QKhTrhQU80voHlefz2 JD6VVEDGLeWukb8iwiU7RmRoE8FYqWYQfJbYIIe3oCO+5M267MqgaimHUzbMk/yzCsnX yntw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RR9n2Rop; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id je19-20020a170903265300b001725e7051cesi7031218plb.455.2022.08.15.14.13.08; Mon, 15 Aug 2022 14:13:20 -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=@linuxfoundation.org header.s=korg header.b=RR9n2Rop; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345907AbiHOUub (ORCPT + 99 others); Mon, 15 Aug 2022 16:50:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346463AbiHOUtr (ORCPT ); Mon, 15 Aug 2022 16:49:47 -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 761C3B99C9; Mon, 15 Aug 2022 12:09:22 -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 E9C8F6009B; Mon, 15 Aug 2022 19:09:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB00FC433C1; Mon, 15 Aug 2022 19:09:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660590561; bh=qTrRxe6w0Z+uWcp4krLAZw9IEg3f36QngPy9the/PDs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RR9n2RopVLfeNM5Coh0nIT70Pp5Xq5g19Km4hPIUPTSmMAIvZ3a9S4AHnFM9C1xUN 8O0D4tR+aY75yZVAm53axqIPA8ksnYo7e4KHnobGTqvtsrDuY0QFYz3oDzzUNpF0Sn EqBV4VOVJ6wpZ04xa+BoJw11pZ+kntreS9w+VuIE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nandhini Srikandan , Serge Semin , Mark Brown , Sasha Levin Subject: [PATCH 5.18 0268/1095] spi: dw: Fix IP-core versions macro Date: Mon, 15 Aug 2022 19:54:27 +0200 Message-Id: <20220815180440.831764142@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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: Nandhini Srikandan [ Upstream commit 5d76b7509cb223e94ff73a672273e58f1957ac68 ] Add the missing underscore in IP version macro to avoid compilation issue. The macro is used for IP version comparison in the current patchset. Fixes: 2cc8d9227bbb ("spi: dw: Introduce Synopsys IP-core versions interface") Signed-off-by: Nandhini Srikandan Acked-by: Serge Semin Link: https://lore.kernel.org/r/20220713042223.1458-2-nandhini.srikandan@intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/spi/spi-dw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-dw.h b/drivers/spi/spi-dw.h index d5ee5130601e..79d853f6d192 100644 --- a/drivers/spi/spi-dw.h +++ b/drivers/spi/spi-dw.h @@ -23,7 +23,7 @@ ((_dws)->ip == DW_ ## _ip ## _ID) #define __dw_spi_ver_cmp(_dws, _ip, _ver, _op) \ - (dw_spi_ip_is(_dws, _ip) && (_dws)->ver _op DW_ ## _ip ## _ver) + (dw_spi_ip_is(_dws, _ip) && (_dws)->ver _op DW_ ## _ip ## _ ## _ver) #define dw_spi_ver_is(_dws, _ip, _ver) __dw_spi_ver_cmp(_dws, _ip, _ver, ==) -- 2.35.1