Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4158419rdb; Thu, 14 Sep 2023 13:41:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFt5simvgvXpQoeX35MbjAmHgsyWk9hzB7F5areM8tXifMcIroz2x8Tiv5OwMB4S5RFYDjb X-Received: by 2002:a92:c14d:0:b0:34f:36ae:e8d2 with SMTP id b13-20020a92c14d000000b0034f36aee8d2mr6782695ilh.3.1694724099331; Thu, 14 Sep 2023 13:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694724099; cv=none; d=google.com; s=arc-20160816; b=BOuA3mXH82pc8YDG8ZBqKHwbLXMDV/GtLbiyhPsFPO4d/bDWI9QLcj3I4WbiaLifEA Z7vEp/QWejmVxqZXvUFG3RVvMFAuWDZ2H57YvE0/zkg0VcKe/MO4AESwV+ZOAihlhLC2 rIVPbHyoWaue7U9Ue9Gw8YK6piQLfhkiTv8ZNdMkgQfDZB2amIZKWSw0LO56n0PyuyU2 OH9o9j+SZyPVm+cY97uEOmBMbLqDIlB6fgSbAHFersZKKh5zu+nl7Ub7Tr5Ou0D00RPP gE31on8rzoruD1wdUuIBWV0REljTUn2GQ0rMqU4pPLrUjey1ZMf8fyqWyAvppLB08BA0 ujkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=yr+llaI5KQeooOMwZpfHvY4lngd1AofNhZErF5ZMjrQ=; fh=OvzqQk0vGw6kTjN0Ty6t+c2Rqvn3W7m+y8YTBqhsawM=; b=XS5m9eup8OhahDtdlQ7T+It0URpaUvtsVcI2cxgeR+F1d3WRfX9JhZPpY6X2Mtpp2u /Xcm4Un6lZDMYCLCWGD9ur2VX+A+8V8d1TUrp2W6vhIGeR/ztQHmyr+pdrhnmV3LZy1Q hsRzJwbup8SJkCOSDkqeICfqZZdvPGNx3N3xOiKud1mGgAV47V9k6CRNIYG5rAD+QA1f nd18E9iagpWcOATDrtf8hhFO6aOpdnBWPNjV9cNEiRPMUNS9aXfmOmGN+P+W0Z17lotO svRtGt2g0vMsLF0hixboEvI36Tqnd9C+ikf3evpbbGtGLquMr8+pbFLZR+nrfdcdmUig r/tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DQr6ovxB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id y126-20020a636484000000b00573e5539422si2110560pgb.890.2023.09.14.13.41.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 13:41:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DQr6ovxB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2132481A1E94; Thu, 14 Sep 2023 05:17:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238119AbjINMRF (ORCPT + 99 others); Thu, 14 Sep 2023 08:17:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238254AbjINMRC (ORCPT ); Thu, 14 Sep 2023 08:17:02 -0400 Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29B6F1FC9 for ; Thu, 14 Sep 2023 05:16:58 -0700 (PDT) Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-d81a4b96a86so308639276.1 for ; Thu, 14 Sep 2023 05:16:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694693817; x=1695298617; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=yr+llaI5KQeooOMwZpfHvY4lngd1AofNhZErF5ZMjrQ=; b=DQr6ovxBcWfbud4kiE4WnHiQxwwZgK7DFaczKXoQGkF45/t6uHFzjvrdANaoATRvCa Nokly/4zkydGsZ1EnCi5A/MJxkuvDBt6Gz2RwWydOPWP+GdtE17ceM2EWHtIDQpRSjgk jAtmY1hQVFcE9eQJScDoah1maMvzoO3jWadeeotfELOHLZ5FiclD8GP9v0eqmxjdvmLT dxUv+P1ILJiTdY4Zrzhqs609My3IQGg5uLWPscyRQEWJzF75ln+w8z2vAL/Oa2eBb8dn AAUF3LLHc+EujKbAXpGnMWJOUQZQb11Zagr5TVRPvHnx55/IlvUpK+i4eW7vtjgMgqz4 plFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694693817; x=1695298617; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yr+llaI5KQeooOMwZpfHvY4lngd1AofNhZErF5ZMjrQ=; b=VedsAJkuJ1SOZIrhrhL958XpVf36CfTkiastBjVa2LlStL0Du0N6+ihkTKJoVE7C6D ytY3FN246nZ288oFr9kzKMhUigVyAZq8QEciUgyc5TJLmJTynhArVuH4WU7+1SBuJCMU twmX3qaPLSkKRIm3Ht3nN5l2qZ1yEZVOCdJYW0mkWxZiX8h9rTvinuWADmAlJT9zSfkm SqXDVBgOZg8hvSjc6L2gV4PTnf3icuvlCLLBtU6a7XzdW0FIpwVy3ZBhRGIcoYz4S+Tk mhGAGEZzX5SmiBN7B4fnRmV+Zv7XjQ2WqpA0xk77MzAOnkPZ0I/5IjFxPKv5rEY5x4f7 976g== X-Gm-Message-State: AOJu0YwUH6MzzAaCDyV+gyONHYeUDei1cGndbq/J0Fihzza5v/vdHN4h iAynvpQHHBHDzQSY9uW3j0keWwzQMjUvz+62qXZh0g== X-Received: by 2002:a25:ac4b:0:b0:d81:754a:7cb8 with SMTP id r11-20020a25ac4b000000b00d81754a7cb8mr3274641ybd.65.1694693817406; Thu, 14 Sep 2023 05:16:57 -0700 (PDT) MIME-Version: 1.0 References: <20230828100421.19758-1-balamanikandan.gunasundar@microchip.com> In-Reply-To: From: Ulf Hansson Date: Thu, 14 Sep 2023 14:16:21 +0200 Message-ID: Subject: Re: [PATCH] mmc: atmel-mci: Remove preprocessor directive To: Linus Walleij Cc: Balamanikandan Gunasundar , dmitry.torokhov@gmail.com, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, ludovic.desroches@microchip.com, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, hari.prasathge@microchip.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 05:17:13 -0700 (PDT) On Tue, 29 Aug 2023 at 09:18, Linus Walleij wrot= e: > > On Mon, Aug 28, 2023 at 12:04=E2=80=AFPM Balamanikandan Gunasundar > wrote: > > > Remove the preprocessor directive IS_ENABLED(CONFIG_MMC_ATMELMCI) while > > checking if the device is compatible with atmel,hsmci. Instead handle i= t in > > the if() condition. The compiler optimizes out the entire if() clause i= f > > the first expression in the if() clause is constant false. > > > > Signed-off-by: Balamanikandan Gunasundar > > Suggested-by: Linus Walleij > > Reviewed-by: Linus Walleij > > Thanks for tidying this up Balamanikandan! Linus, we didn't manage to get this into v6.6. So, it's probably better if you pick up this via your tree for v6.7. Note that the commit message header may be a bit misleading, as this is really a gpio patch. Maybe you can amend that when applying? Kind regards Uffe