Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5129863rdb; Sat, 16 Sep 2023 04:25:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEF+F6hCppWLEvZDwxN3LHxq3zZ0TdpPVBU5isEp19MZOMocbclk16BemSQjbvuHHzq7E07 X-Received: by 2002:a05:6a21:3399:b0:140:4563:2243 with SMTP id yy25-20020a056a21339900b0014045632243mr4900461pzb.50.1694863521352; Sat, 16 Sep 2023 04:25:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694863521; cv=none; d=google.com; s=arc-20160816; b=oMBx2bEMOP8nkM9fytlyGEZR5tPzCb5pWc1NwV+Cf4Men4JatxpZ0Ykk5aUL6PA1dm g+9Vkd3CrneHbBXTNu7Gz3OLmcxbgvQqeAW96Z6JSe8u4NdQ/57/TILWElpzeSyi+L2T wQbVTvbtB2MHByAnvSHKSCPyg81fgutGgjOGSGIaRvBhR8yQomkUlo5/VinP1MMo0aYb l8p40SBLxSE2vO80H9KQ8E8+Xm/GlgfkY4olkiX17sGA9wXHMsYDNXjDJut/pj+oTFp1 dp7o7ed9oYopEU+ZeWKTwI7RuXWVVnBhDDKfBvlKdy2L4GZU0Wmrco4NRJBBsG2rhr3h FVEw== 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=KkZqjZNgB3Y1SyzOUIg94VhrWAWI+a6+Hf5lJqrRRNg=; fh=Vg0V8NbHozI+1YzEU/r+44qWjugDzJei9UIX6R7k6VQ=; b=jlKhj46dKx47xX9nuUFSlsjHYnmnWgYAyy66XiIfJIfn7WGRPmepdQlmF/VJCmob4l UnhWxXWnVJiemck2nVS6DzH4Nc9m8Ec4l0bn1sXjJLhg1Mva4jbAuwEhe+OjtP1UibzW Iv13DLhoq4RlZ6KXGE3o5cXBKkR5UZJfmrxPr0FRbBZa6F0oFAQpbkLWP2vt4CxSyacu j7nqRKtoiM2N/V8FyjzBpg7PnDwHNq3F/m/cDs2dK8CZ3R2nL2ulP0cF26jJuINA9Xiu W2VUB6y9vf9OgYV1JAdI4BF9qjMlng6J9r6mCYVOSR/gA1p8Wy93lvsnWr29MVTjBiar rhsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Y6ZYo/Sw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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. [23.128.96.37]) by mx.google.com with ESMTPS id m11-20020a056a00080b00b0068740bcd8d7si4929297pfk.362.2023.09.16.04.25.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 04:25:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Y6ZYo/Sw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 BDDF0818F686; Thu, 14 Sep 2023 06:49:37 -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 S239049AbjINNtj (ORCPT + 99 others); Thu, 14 Sep 2023 09:49:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239028AbjINNth (ORCPT ); Thu, 14 Sep 2023 09:49:37 -0400 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 716F41AE for ; Thu, 14 Sep 2023 06:49:33 -0700 (PDT) Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-d7b91422da8so1002212276.2 for ; Thu, 14 Sep 2023 06:49:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694699372; x=1695304172; 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=KkZqjZNgB3Y1SyzOUIg94VhrWAWI+a6+Hf5lJqrRRNg=; b=Y6ZYo/SwMSCo+eD47c61jpkcM+x8sL+EdM7HOZiS33hyuLXZZWWsArQNkjV0U10iMR u8hTFCuAiLzFMIY3HKBsWCQ5e9rr/RjFe/i+aUBltZEqfoa0g6HWY65b1qQvuBheFMEw JJVXaEL19o1+j5FYrAfLPBIf2tuyL7PRzv93o8mpANGSExBouhUz8Da31Zd8ejPxzFlE izVyiac0O5yAGEgOkBg/39/CkhSYD4yxtgqBv/lLJ11OgT/Q19hw4k4XILbgAk53WMLQ wdOcp7uvGgkW3ZBNwBTN3udmly3B43aDsuYhz0EZm/ZKBe6/7Ck6fj+TMfqH5RYLmNr1 bD7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694699372; x=1695304172; 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=KkZqjZNgB3Y1SyzOUIg94VhrWAWI+a6+Hf5lJqrRRNg=; b=GSo+GRqSGNjry6mYU1ZSSmbBukOvFFha3RuUrWjSnAYeweRk5JfRroTXyklavpaYga IVWvJZvH1vvnLnlKeRhoMsPI8k4GJNgIIyoIsCEDUmiP34uh1+MyuOvKsieFord9WRJE DcEu8IJO88+2SwAfeX7g1Nspfg8gQq35nG+CBOmBin5Pb8YHqhVC+T3C+JoRaNUPfgW1 Kl+mWxxhA2BrISb1i4PhlH7Yy90cBNrGh0X9HQvJOs1hF3ME9OrcnRBAi0usyudF9QIN ylnnf71adVzkPxQwtG7G8wvmamJlPGEyrOrO3aScQFjLzkx6s/XtO9ETTVdkoKr05e9E /HBQ== X-Gm-Message-State: AOJu0YySDocgON4mTbt96wzI1FP60ZhTZvGc85rMecAulQ0i712EoXc1 z8YXjRl1ZBrdLDh7P90GbgWJDqpmj+FY4vUFea7nMA== X-Received: by 2002:a5b:1c3:0:b0:d78:ae6:e75a with SMTP id f3-20020a5b01c3000000b00d780ae6e75amr4738510ybp.60.1694699372664; Thu, 14 Sep 2023 06:49:32 -0700 (PDT) MIME-Version: 1.0 References: <20230828100421.19758-1-balamanikandan.gunasundar@microchip.com> In-Reply-To: From: Linus Walleij Date: Thu, 14 Sep 2023 15:49:21 +0200 Message-ID: Subject: Re: [PATCH] mmc: atmel-mci: Remove preprocessor directive To: Ulf Hansson , Bartosz Golaszewski 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 06:49:37 -0700 (PDT) On Thu, Sep 14, 2023 at 2:16=E2=80=AFPM Ulf Hansson wrote: > On Tue, 29 Aug 2023 at 09:18, Linus Walleij wr= ote: > > > > On Mon, Aug 28, 2023 at 12:04=E2=80=AFPM Balamanikandan Gunasundar > > wrote: > > > > > Remove the preprocessor directive IS_ENABLED(CONFIG_MMC_ATMELMCI) whi= le > > > checking if the device is compatible with atmel,hsmci. Instead handle= it in > > > the if() condition. The compiler optimizes out the entire if() clause= if > > > 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. Oh it's actually Bartosz managing the GPIO tree these days. (Which I am very happy about!) The best is to resend the patch to the GPIO maintainers and linux-gpio@vger. Yours, Linus Walleij