Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp4022995rwa; Tue, 23 Aug 2022 14:45:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR7vytuMmsb5PXreGYkRsqXAtg/tb9fcW67WZq0M4oHcMWbwp1KIsz5QaYSYSzzvud/CsO5O X-Received: by 2002:a17:906:c10:b0:6f4:6c70:b00f with SMTP id s16-20020a1709060c1000b006f46c70b00fmr1011004ejf.660.1661291138362; Tue, 23 Aug 2022 14:45:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661291138; cv=none; d=google.com; s=arc-20160816; b=vuYuAyne4fUCsFHVr2+9yOjcBTFZ92vhzkXw6Qf+xGVwS6LME5eSUcMAUs0Wt4jRjr UMB55gQfdTmLzFhJLWrY/Y5qrGPlhgQq0N2F6IX3HHT7XU0BlNt6N3CVvaviQMntnfV5 LYq6xKuA1OicquXvCLjZLAG3nTF7sV2GqbqFeUwY6yxiG3eq1+OO6+aMGde2gvTgMzjE /Qq39gABs2TXJvH57/urYPDr91p2mtjWWb756ucM3DvQQpSd/mdV+83BXxlJ5exgJvMx /bOmmXrCmoaTnFuau7yBE3q5UHrE76vrchnTQGVYfDHtkoT0I9pzyxN8OtslpXehDuPA 68RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=tuz1493y5LHiNwEe6XwII/bIcU4nWijq2K6QDL5tITs=; b=T8jKmqdR1j9x23nwmKK9hysYL26w2Ev5lUu9MbxSXlZRqirHySBQIipp4IWrsnU9Nw w6YXubj0Kcisw+9eAIHBZzeuMSHW8E+Cf9nAHprHJNoyx2+Mv3Xgqs+NckrP0gTb7rmF 1RTVWaiNRs5bUet6gI6XAY1f86AnNbF8GHoEg3ECJ3fe+Z6+WwkME4AfN1lNxr9WX8Ff nKltmWxEOoPYyx9h85OsOYWmSd7in4HQLv/xIlQqxm9jpmiW7EQ0wL/mQCcjGRRrSBBn trBlZGYH3PR27KmujrbNYZePnD8OL+dVNeBZ5JOJf0EU2j31mo9O48/DgSD2rPlXFLpD 5v9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PChKyPfK; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 28-20020a508e5c000000b00445f85b00f3si2412297edx.299.2022.08.23.14.45.10; Tue, 23 Aug 2022 14:45:38 -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=@chromium.org header.s=google header.b=PChKyPfK; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231524AbiHWVXH (ORCPT + 99 others); Tue, 23 Aug 2022 17:23:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231372AbiHWVXG (ORCPT ); Tue, 23 Aug 2022 17:23:06 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F01089815 for ; Tue, 23 Aug 2022 14:23:04 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id v23so8660251plo.9 for ; Tue, 23 Aug 2022 14:23:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=tuz1493y5LHiNwEe6XwII/bIcU4nWijq2K6QDL5tITs=; b=PChKyPfKBGLrWsDb3RQw8hHWPW6P36wY6RVrVp3cyccjsLkcv15Yd3SHixUb2vTkbu eNhUbCACRrkfRDBpDRNYQUjwod7L/nG1Slt82LDV1lTM+TCPjxEGwI001CFCrdgz7puz BUXvO3pbe490/hfyoWviGBhaL5Qj0YdJM3gxM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=tuz1493y5LHiNwEe6XwII/bIcU4nWijq2K6QDL5tITs=; b=M+dz3Qd8z1Pn83OTNfL4vEgvH3CA/3JhMXexeTtQ9mOfb+EbDsOFhsQzP3l+WXiRJM i5JrVF5B7mkmQLqC5okYyP65EpwG7H1TH77N1535TwBq5W559dPo+cNXV3KSnbLvbg7I YrYKWxI7xD5mT89c3tOSVU6VzkCwNw7dmyKU8xFyggpACO6net5YE9R5KQO5Fv5KTLWu bQMiCw3TVrWEf0HmfZv5F71Tn2ifjRKZj07VDgvvhlurtkOxjWl/Ola4Hnx8v65ywuER KX5+hl+6FYcW0GS34AygfVSxDWflZySfAftXVlPEaZBCaeAZ5bNXn1FAALCjhcTqGNRr alKg== X-Gm-Message-State: ACgBeo1oV6zfnUOeaVrwBgSDJILmDPJ2/3oHSqP10AYr3epJJ67hTTGl J5y2WO+MZ6yET7+y9snFgQa1Fg== X-Received: by 2002:a17:902:e552:b0:16d:d3c0:85fb with SMTP id n18-20020a170902e55200b0016dd3c085fbmr25427017plf.38.1661289783919; Tue, 23 Aug 2022 14:23:03 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:202:201:653f:9151:f544:1470]) by smtp.gmail.com with ESMTPSA id a1-20020aa795a1000000b005366696b735sm6544811pfk.77.2022.08.23.14.23.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Aug 2022 14:23:03 -0700 (PDT) From: Stephen Boyd To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Kuogee Hsieh , kernel test robot Subject: [PATCH v2] drm/msm/dp: Silence inconsistent indent warning Date: Tue, 23 Aug 2022 14:23:02 -0700 Message-Id: <20220823212302.1744145-1-swboyd@chromium.org> X-Mailer: git-send-email 2.37.1.595.g718a3a8f04-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 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 along with a trailing space from the same commit. Cc: Kuogee Hsieh Fixes: ea530388e64b ("drm/msm/dp: skip checking LINK_STATUS_UPDATED bit") Reported-by: kernel test robot Signed-off-by: Stephen Boyd --- Changes from v1 (https://lore.kernel.org/r/20220823024356.783318-1-swboyd@chromium.org) * Roll in extra whitespace fix drivers/gpu/drm/msm/dp/dp_link.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_link.c b/drivers/gpu/drm/msm/dp/dp_link.c index 36f0af02749f..36bb6191d2f0 100644 --- a/drivers/gpu/drm/msm/dp/dp_link.c +++ b/drivers/gpu/drm/msm/dp/dp_link.c @@ -786,7 +786,7 @@ 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->dp_link.link_params.rate = drm_dp_bw_code_to_link_rate(link->request.test_link_rate); return 0; @@ -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 -- https://chromeos.dev