Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3931930rwa; Tue, 23 Aug 2022 12:47:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR4AxY3C3EORSmZvdoFipq0ROKbQoS0wgBe0fhUFOYE+9/t5aicGAdGLa2iOzTY6CAghFAZ3 X-Received: by 2002:a63:9044:0:b0:422:b8b2:d019 with SMTP id a65-20020a639044000000b00422b8b2d019mr21449311pge.362.1661284078804; Tue, 23 Aug 2022 12:47:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661284078; cv=none; d=google.com; s=arc-20160816; b=mLplZPI4Aie8Xzp+rOttcum6kJ1taDGdgypETq/9zjROY1fA6b0RPW4dqck0/fkDUu RAAAOh7Ggb/ecoCs+y2lSd+dGaaHyfn0kt1FUq2BFglyi7MKjR7IsCTkkcfepKWnICtm hFfB0ittxRRoKPOhN1/1OnY58wUuXDoctjPiIc6lWmk7nHW7B0a/EtsZvqjBUH7hNr9X 9LzfQjGhqzovWHCgpy7ClkZN342nnOaWpSrCMLUamWtb4a77CP8p1UiiVLPBwX1uPegy oqLkCJclal2+BjIEdo/825YXlsLDSR1IdCgeqVvGHC5pgXghv9/wTo2s+apmikCvdk5G Ntdg== 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=xZo+vzm1TOVsna0zI8E67IlnE8HAd1OyXQrditCnKTc=; b=o69adFELIj73eSAspyrxUk1geez+EYD5GDNw+XMQqpLvUdyB09L9E4ifKnjAJ23g6a Z1jeaNSqoHJB/rUCXF8EpFalhEaYg6fXVDuhlUx+Ld7FYYmVCb86RUirUO7c2tQR89cC PIWnlOIlnVSWvSbFqK0YprPEsbpVMia3TWImx8+CbdBgwHxP27G1YgvDXjeYxVisa3SK mlS1Tibr1MpO3gKzfGHLni89rutUBQYKo6bldz6qjqww3U0DpqJSx0jRsscZHLWFX6FQ IxKZnQzVR1Jf0sSWaXYhP6g8ZPmb+DRGgAflD21ejfjKaToa4ILAkae7ODDPHJY5YAcY 4gHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Agpv8gbv; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 135-20020a63068d000000b0040d5dc5b896si16539930pgg.519.2022.08.23.12.47.47; Tue, 23 Aug 2022 12:47:58 -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=@quicinc.com header.s=qcppdkim1 header.b=Agpv8gbv; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230328AbiHWTLC (ORCPT + 99 others); Tue, 23 Aug 2022 15:11:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230309AbiHWTKV (ORCPT ); Tue, 23 Aug 2022 15:10:21 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB14D804BB; Tue, 23 Aug 2022 10:48:20 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27NGjpT6002746; Tue, 23 Aug 2022 17:47:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=xZo+vzm1TOVsna0zI8E67IlnE8HAd1OyXQrditCnKTc=; b=Agpv8gbvv6ChQ2bg0ZfIgUU26g9tqZraE774F2+pZmp8/Nw3JxRtBBesvVKp3fPtxzbZ Z94W0YR1EWsk9mxtnZAjVwH6lXK6vG2zfg2btGM/Vq48yfZisVmdmyDZ9AtfTpQLrd3A i9fxghqbNCpMQ4wVq1aixLyzG8OiE3wMZSKPtss3jEsa5E2rtvPoeDS0kb19U71iihTU D9YvWoh4qwm89zWW5NOU6/98msx77k1NWj+zJTnnLNzweLpxJ1b0MzsCTCtag327/ukz ULT0v7+eMN6YBc1cVsx4HxugSJ94DKOxPmaVv2WfyVRDwDh0TbztJ3cf6O+B5xFDXrID RQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3j52pjg913-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Aug 2022 17:47:11 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 27NHlAwd008891 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Aug 2022 17:47:10 GMT Received: from [10.111.161.24] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Tue, 23 Aug 2022 10:47:07 -0700 Message-ID: Date: Tue, 23 Aug 2022 10:47:02 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2 Subject: Re: [PATCH] drm/msm/dp: Silence inconsistent indent warning Content-Language: en-US To: Stephen Boyd , Rob Clark , Dmitry Baryshkov , Sean Paul CC: , , , , , Kuogee Hsieh , kernel test robot References: <20220823024356.783318-1-swboyd@chromium.org> From: Abhinav Kumar In-Reply-To: <20220823024356.783318-1-swboyd@chromium.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: HuEEDLdcL0mdPNiLnLBtwirenx7MxWA9 X-Proofpoint-GUID: HuEEDLdcL0mdPNiLnLBtwirenx7MxWA9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-23_07,2022-08-22_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 mlxscore=0 lowpriorityscore=0 bulkscore=0 phishscore=0 suspectscore=0 adultscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208230069 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Hi Stephen On 8/22/2022 7:43 PM, Stephen Boyd wrote: > Build robots complain > > smatch warnings: > drivers/gpu/drm/msm/dp/dp_link.c:969 dp_link_process_link_status_update() warn: inconsistent indenting > > Fix it. > > Cc: Kuogee Hsieh > Fixes: ea530388e64b ("drm/msm/dp: skip checking LINK_STATUS_UPDATED bit") This patch itself LGTM. But when I was looking at the fixes commit, I noticed one more formatting issue. There seems to be an extra space character in this part. diff --git a/drivers/gpu/drm/msm/dp/dp_link.c b/drivers/gpu/drm/msm/dp/dp_link.c index 49d7fad36fc4..be986da78c4a 100644 --- a/drivers/gpu/drm/msm/dp/dp_link.c +++ b/drivers/gpu/drm/msm/dp/dp_link.c @@ -773,7 +773,8 @@ static int dp_link_process_link_training_request(struct dp_link_private *link) link->request.test_lane_count); link->dp_link.link_params.num_lanes = link->request.test_lane_count; - link->dp_link.link_params.rate = link->request.test_link_rate; + link->dp_link.link_params.rate = + drm_dp_bw_code_to_link_rate(link->request.test_link_rate); return 0; Since we are fixing up this commit, can you please fix this too? Thanks Abhinav > Reported-by: kernel test robot > Signed-off-by: Stephen Boyd > --- > drivers/gpu/drm/msm/dp/dp_link.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/msm/dp/dp_link.c b/drivers/gpu/drm/msm/dp/dp_link.c > index 36f0af02749f..1620110806cf 100644 > --- a/drivers/gpu/drm/msm/dp/dp_link.c > +++ b/drivers/gpu/drm/msm/dp/dp_link.c > @@ -965,8 +965,7 @@ static int dp_link_process_link_status_update(struct dp_link_private *link) > if (channel_eq_done && clock_recovery_done) > return -EINVAL; > > - > - return 0; > + return 0; > } > > /** > > base-commit: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868