Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1213892rwb; Fri, 28 Jul 2023 06:29:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlEVKqrj61sLNU1aJaiWk8q8/DoO/IbdzZAS8AINNAW7AlpS8Ta9CPLZHS0sP/h9GPeurYAX X-Received: by 2002:a17:903:110c:b0:1bb:5468:d305 with SMTP id n12-20020a170903110c00b001bb5468d305mr2120458plh.13.1690550948877; Fri, 28 Jul 2023 06:29:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690550948; cv=none; d=google.com; s=arc-20160816; b=tAFVowCC7bVDRkhqQUJeBnvLDCRIMxOWpPUOGAHptbujc1neUW4M+Ra3hkOs+dtUiY Mdq5ho0TuORrPg0ZMkN1wndGNt/sNZWsPrgDsNk8bOWW9JQBWli6m+5NLbNvp/np+4D0 7JJF4ZF0j73aa7Dshwr8ZV0pEPBT4/Y4cecK6hEaS4qO6XLpbcBFHcUf4xad5SigLF+u rLNzqVTQIK2IJH6wy7ah6U9HySnmyv1BGIU155zUW65zqp+rTK287uN9kqSrQ/vtXg3D bhJab+CBo/HkxLnnG/y9lycwd6Yp9P0E/ey9onlfqvNWvlpjWGWy+5Pp2cg2OWTyZkDI diew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=yic5Bry11hKn18+YDDsJcZ+oLXRJ3te0nRA7jPdDSuk=; fh=SNyvpGYrCFP3hHUrwZcmVFCERslokgMnpp4kiiNhfug=; b=MBoN1lrgBzjH/8E7bxmeJnG+zJRE+O+HewZi9fEVjH5cUS5DUG2h4ECzSOjY2TDAhr UoKH9eRFySNrrbLxBpu2LVR37Sc37tWpS5E+e9L/JkrP1G2Gtc0gAvoJAibinuxAm63S yJjnVHCSLvvuNyHjrhxb0XKnwowK2Ix5+gnO4iBzj0oWzMDoP7XUz5LF0mZWQp7WERQD dGqvbFuAuN5goO56tYy52SkmI/ZgEAG8QSYxkBo6yKb4eagKviMaNaowCEaheqhzFuwA CkgKxyGWUl5Mrkwikfj0TXvVZq6+Zf385MrCHu/VactgUm8xDFt9HKXmDp6CJY/bGFgR Fq5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=C8SH7e13; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j9-20020a170902da8900b001bbaa259eddsi3165389plx.356.2023.07.28.06.28.55; Fri, 28 Jul 2023 06:29:08 -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=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=C8SH7e13; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236360AbjG1NA3 (ORCPT + 99 others); Fri, 28 Jul 2023 09:00:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234885AbjG1NA0 (ORCPT ); Fri, 28 Jul 2023 09:00:26 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A1533AB7 for ; Fri, 28 Jul 2023 06:00:23 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3fbc12181b6so23127095e9.2 for ; Fri, 28 Jul 2023 06:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1690549221; x=1691154021; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=yic5Bry11hKn18+YDDsJcZ+oLXRJ3te0nRA7jPdDSuk=; b=C8SH7e13yDBuQNlBegZNj6Cjo6qnz1S13aPtEuLkjrMSfJ/0x/3F4YieBmzJhEWtsG /WJrO00RPtlKCp7uKiMh1NNnrW6LYFmXCwf2hY7xEIljqnJnBaMsWk6ZFfsu2azWTzA4 8PGLxI1vVKylGrycsWVcmzdQo5EWwy/4oMwTvWIw5kLn4pNN5kta7bx4HGCzmNpL52td n1gYMGEFJVEnRXT3jB8/B8XSHloB05w8X+FJy5Ly8JUFit6OgWAo0mHSV4Ddwo6YkoSZ P4GvqfLxTUTFulnPzeXRPQhtIlheI3vn3rVPTddbHax7wUfqnfcv04KipcDfJ0dg3+IJ 0ZCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690549221; x=1691154021; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yic5Bry11hKn18+YDDsJcZ+oLXRJ3te0nRA7jPdDSuk=; b=iWvjh3LjmX6nrvi1WkyaYgbxKyVGXnRqqZN8uyKIf2Htm/0gPG+wlqj9MO8HlXLfg5 VHtQkTq+jTjmZ6eVKtcS6SVpjeMKKfnljKLClT2vhZgGtNEYj4Sz/gENsgbut8zcbvIU 3fd2TIW11LANscnqTnlXr+mx2Aih6KqvMLHcroQbw9wyzvB7fK5wwgIyBqeRi92kY3G8 st0y8ckI+FTWm3eBvco3JpDuK8wONdzSuXtVED68X5gK4lbMj0DDvDq8E7ZHLfrNmTKA mknmdpG78Htty5oKrN8hI92jGc04fKoPts6+TRsPoZypDwsw3JtXAi5HycJwPUETtOyc B9Zw== X-Gm-Message-State: ABy/qLYe2Z/v1v2aKVtLANh9b4pURB9tKwn1IDfPnIsCrCRbU8tRBBua 0RlRLTf9C7RDQFjFnxv1EZaNfg== X-Received: by 2002:a7b:c7d0:0:b0:3fc:a5:2c3a with SMTP id z16-20020a7bc7d0000000b003fc00a52c3amr1638513wmk.41.1690549221035; Fri, 28 Jul 2023 06:00:21 -0700 (PDT) Received: from [192.168.1.172] ([93.5.22.158]) by smtp.gmail.com with ESMTPSA id 9-20020a05600c230900b003fbe561f6a3sm6950289wmo.37.2023.07.28.06.00.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Jul 2023 06:00:20 -0700 (PDT) Message-ID: <49e7661c-a3f9-9f6c-3f34-5104ac60eca2@baylibre.com> Date: Fri, 28 Jul 2023 15:00:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH RESEND v6 02/11] drm/mediatek: gamma: Reduce indentation in mtk_gamma_set_common() Content-Language: en-US To: AngeloGioacchino Del Regno , chunkuang.hu@kernel.org Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, matthias.bgg@gmail.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, wenst@chromium.org, kernel@collabora.com, ehristev@collabora.com, "Jason-JH . Lin" References: <20230727094633.22505-1-angelogioacchino.delregno@collabora.com> <20230727094633.22505-3-angelogioacchino.delregno@collabora.com> From: Alexandre Mergnat In-Reply-To: <20230727094633.22505-3-angelogioacchino.delregno@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,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 Reviewed-by: Alexandre Mergnat On 27/07/2023 11:46, AngeloGioacchino Del Regno wrote: > Invert the check for state->gamma_lut and move it at the beginning > of the function to reduce indentation: this prepares the code for > keeping readability on later additions. > > This commit brings no functional changes. -- Regards, Alexandre