Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3028151rwb; Mon, 15 Aug 2022 16:26:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR5P4HTA9pwzca3ZT/B028Uod5GPB/BsMgVPPKCZN18B3oR0zcqjOGUM/Pqm6gnhZPdRpE/t X-Received: by 2002:a65:68c7:0:b0:41c:cf0a:5008 with SMTP id k7-20020a6568c7000000b0041ccf0a5008mr15335104pgt.443.1660605906263; Mon, 15 Aug 2022 16:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605906; cv=none; d=google.com; s=arc-20160816; b=zyVgeU8yCA20zcZyiSrNINrB331DYTj+SOFDw7EcZLRk60khWObKZY/NEIbOf2ENHX /3UBp56FxtvPIBH5bgimU1T/6fmVRXVhUxMuo6REyFQQhOschatXA+KR+oyUDtlkps1x p/x/NjWPm+nL0ZHIjAHGBsukosaMhEe1E+7ZKLFHu6bxx1Pi2K6gUS4Bbw/DBbLOtdky 5Tbz30XzG63T1sLDmPdYT9EFiRkgM0K35WT/RlXbRrwt9g9Fyi7tQOLu93JBycDQ+XhV NbSmYD5f8/8pYvOcfF8GZa6zeJTyH41NFSpxOkB1yI/clZg8xC8I2AcHhvTPj95Rhj36 E7uw== 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=vGfkVQHNURJLn9A+524fYg7+c0ICyc8rqPBMLGss6v8CyQO4pBjFUUmjTgkKonn7S6 /u++E6xES8wIa4HEs9ZpwydYuSmeWM1LGtT69GVHGNsZeSXDArq2X4GPKGiJSttB8jJ/ PCaddcKDYE7Fyu01NhfXh/KfjJHhQRAehbBYsRGQxOH3uFRFG+rS0wSYbjfYgNdkQp2W RzQx2b50LpNmzE3WNBFXpr8jLybRd/KFNVQ9dqC6wer5kZR+YODibJeR1dikJ5jHPlAj 8Sc14L6U7uynFHTYGv3UhkClLN8DRELlAFS0QObeQwpsm6IbDiwbcp/xwOo7P9yRRWqT x1Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PjOkA4wd; 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 g4-20020a17090a67c400b001f21d399cd7si16697469pjm.77.2022.08.15.16.24.55; Mon, 15 Aug 2022 16:25:06 -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=PjOkA4wd; 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 S242974AbiHOXCF (ORCPT + 99 others); Mon, 15 Aug 2022 19:02:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352566AbiHOW76 (ORCPT ); Mon, 15 Aug 2022 18:59:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E324D7757F; Mon, 15 Aug 2022 12:57:32 -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 2F286B80EAD; Mon, 15 Aug 2022 19:57:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 782C6C43470; Mon, 15 Aug 2022 19:57:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660593449; bh=qTrRxe6w0Z+uWcp4krLAZw9IEg3f36QngPy9the/PDs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PjOkA4wdDBhrDxFP6L5fCLO4zfzqylGB4h/7uynAzreo8Wu9uuC0SaGBpk34nt56f x9YfiC/8ASVFbOv30YDIf+Q3KAK1FOzKv1prgs/znRnGrACsREK0GUs2s76zc95Hu6 7Xe6cWErWYPx9qtEN0q1LqqAf/jw3tAR8QSreMFs= 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.19 0269/1157] spi: dw: Fix IP-core versions macro Date: Mon, 15 Aug 2022 19:53:45 +0200 Message-Id: <20220815180450.380740204@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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