Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3035481iog; Mon, 27 Jun 2022 07:55:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ugLBVMIUhjkECz5efzZhpdlNDjZwxUwcdIpKeg8UgWTBL14KpGqPSWlpWNpYAd40IBOzSE X-Received: by 2002:a17:902:e809:b0:16a:22dc:d23a with SMTP id u9-20020a170902e80900b0016a22dcd23amr15479781plg.119.1656341706792; Mon, 27 Jun 2022 07:55:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656341706; cv=none; d=google.com; s=arc-20160816; b=iS6OT24fWEDmFzu+y5GPvc/F/CWT/MK2WqAe/cNtAECWeVIDGBi73JFo+Lhefo6LaU BX5hKi12KJNZXRj1EQyEwEK3UwfOgKq2BlplnnpRkI329xAmMOrDLoBA+LpRNtOmKLwH aoC314KhKfDr2vVkLDmcv+krNZvpbvw6B2QIDs2sUvJgxtXIoxzBpfc0tlw6bLfr3lLR lD879LgKmFgaED66ajm2bFocW/BVrXTrDntYfRx0yTFDaCyVe+ln4eRJSujzEAGs3HTB g/RJGCBAoaiMTr86eIPOp7gBeGsRAMYGCUGZQX7TVYgp3ysdix+Vl2XbUeDXe7jTaTxj PwUg== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=xTWgsntQB7Zv0E3+cnrZlzVMbwkfSZpuUeZ8UUOqGFo=; b=mkVc+Jmfr8PpiONJoW7mNHfFwnCW59sz4Cd0qSBWcv7uhsmUMmdrn9eWDIfgVztabe OB/seRG0PQwN7Nlvv2w+lYE+PgygnbkgflLwuQifFoPeON+lDGlKgSyWyJBCuefrCq5H FpqPt7XPyg4YrLrk1DgvwM2bK8cS9FVBZy1+ANO9JoGwx3qarckL91BMmtAig/uwPEL2 0+PWJYI7T+BqXJYxjOOXJZIIf6onVBN8EXVuW4SbWtv8dz0QyLhdKcW7L179G68bIUlo 2cGW208QNrTv8yeEJMb0beb34vMEb+1/1vCaMzxjT9YJUxjf/w/UzhtdixMOvXkFng8Z MnOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=MVAPgV1v; 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=foss.st.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 7-20020a630807000000b0040c74303959si13772034pgi.67.2022.06.27.07.54.54; Mon, 27 Jun 2022 07:55: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=@foss.st.com header.s=selector1 header.b=MVAPgV1v; 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=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236836AbiF0OMg (ORCPT + 99 others); Mon, 27 Jun 2022 10:12:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236890AbiF0OM1 (ORCPT ); Mon, 27 Jun 2022 10:12:27 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE02113EBE for ; Mon, 27 Jun 2022 07:12:20 -0700 (PDT) Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25RBZsqA020295; Mon, 27 Jun 2022 16:12:00 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=message-id : date : mime-version : subject : to : references : from : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=xTWgsntQB7Zv0E3+cnrZlzVMbwkfSZpuUeZ8UUOqGFo=; b=MVAPgV1vbSJPzWYdZiVFJ1tGvt4Xv3WL0QpX21CLOR2JoG4/Tqt2TIRzD0k9cZ9ecEFW VRDHDc+LXTJQCtu0wQiokH2ZC4sEYX44T12GQFnwGA3aJqpdlqmyp80q9zWmnZXnvFsg 1iZoCpTLBx87MxB4OdoBaGIVIxOtbpO8rQqi2jOc2Rq8uk50eTw6lHbG2DKNbtOfKg4c rH7KoZMbflrg4B3Zk5LkX8UlH2EZ04iUq4kArBw9vlkCROmM81L0wHy833Kyujtb4Vi9 A6xIjinDHX/YK7o6nLuDrRWYqskN0lsM9AGQv7bWLqFfYJ/ryOfYcxY5ZdSftATMY0uB nQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3gwsq120h4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Jun 2022 16:12:00 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 020C710002A; Mon, 27 Jun 2022 16:11:59 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id F1DDD221777; Mon, 27 Jun 2022 16:11:58 +0200 (CEST) Received: from [10.48.1.86] (10.75.127.49) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.20; Mon, 27 Jun 2022 16:11:58 +0200 Message-ID: <60bb3c99-ee07-7bab-3f9b-9f12a2b812e2@foss.st.com> Date: Mon, 27 Jun 2022 16:11:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] drm/stm: ltdc: fix various coding-style warnings Content-Language: en-US To: Yannick Fertre , Raphael Gallais-Pou , David Airlie , Daniel Vetter , Maxime Coquelin , Alexandre Torgue , , , , References: <20220603134334.592805-1-yannick.fertre@foss.st.com> From: Philippe CORNU In-Reply-To: <20220603134334.592805-1-yannick.fertre@foss.st.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-06-27_06,2022-06-24_01,2022-06-22_01 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,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 On 6/3/22 15:43, Yannick Fertre wrote: > Fix issues reported by checkpatch.pl: > - Braces {} should be used on all arms > - Blank lines > > Signed-off-by: Yannick Fertre > --- > drivers/gpu/drm/stm/ltdc.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c > index a4098aaff243..6a9f613839b5 100644 > --- a/drivers/gpu/drm/stm/ltdc.c > +++ b/drivers/gpu/drm/stm/ltdc.c > @@ -908,9 +908,9 @@ static void ltdc_crtc_mode_set_nofb(struct drm_crtc *crtc) > drm_connector_list_iter_end(&iter); > } > > - if (bridge && bridge->timings) > + if (bridge && bridge->timings) { > bus_flags = bridge->timings->input_bus_flags; > - else if (connector) { > + } else if (connector) { > bus_flags = connector->display_info.bus_flags; > if (connector->display_info.num_bus_formats) > bus_formats = connector->display_info.bus_formats[0]; > @@ -1917,7 +1917,6 @@ int ltdc_load(struct drm_device *ddev) > DRM_ERROR("Failed to register LTDC interrupt\n"); > goto err; > } > - > } > > crtc = devm_kzalloc(dev, sizeof(*crtc), GFP_KERNEL); Dear Yannick, Many thanks for your patch, Applied on drm-misc-next. Have a good day Philippe :-)