Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3693758rwo; Mon, 24 Jul 2023 15:22:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlH533iq73KA/gOodqXPf8UmqV299HoCWZUnwCVfDXEHvjP4S3mo8dq3RRrsnatg/PEtcG4Y X-Received: by 2002:a17:906:8f:b0:96a:2acf:61e1 with SMTP id 15-20020a170906008f00b0096a2acf61e1mr10617709ejc.64.1690237346175; Mon, 24 Jul 2023 15:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690237346; cv=none; d=google.com; s=arc-20160816; b=MHLmfNJZDhMaYgQd0uSbHMC/9envhqfRYdEyGRk19t5aHS8QI+TP2JQNHhiOxZAvzs ViYeVKvy/jPGWANDHgZ/RZqV4CYpqNSZEb7f1lcbEdlvEQ/u00yqzwrwZYv5zcYIKI1k 4qNUQcjdtD/pI4jReQ1bb9y1H0NExCEMKNm5DH6PUfY8n0msygcpBrOlih0Y1HoI4WCi UB0FeBo8YZMRgVPmDmwG6IiTEyJnzNL+NcPJZMx7ntBxImruaoIKC7NaNSaI1E/0r+Td H760A+EAln8csAZIXKQqnOuo1cID2g2Il29V+lINS+hiJ/kNs4Y4P4z+xhqE9wbACZrU iwyw== 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=MQvicdLmL4lt+yOX/xSjVt1t0bXl8fj+TJA76nTMosM=; fh=5uMgb3FjuzEN2hx+/gHTXgNLDhaZ51PB3bSZEXlWkNo=; b=PVb3zc2GS5Pb3R5bSY0kCoLRwE4dtlUD9qAAngUSnZqoFHMw4YWF5opVqaQDyD8gJ/ BtfrsNBqtjDz+61fYbUf/pNg18vwTA/t/uOOzRWJ5qt1BFhHEjgC9C4KEorBa9WlUJJh AXNQUHRYkrdCDV7Nu+KGBr8+tJDQhimKlnJa4giyBJwdKuKcrm1EbmpI3VOW1IX7TNwj UKzdPOWs1hlNxfIdyfiaL6Q9xUgODXgtXfZLMBpiDnHLfESFbjAIU954xOmW2C1IrxOm szPJuEj9epfsFM5sBghBsn1LboG4sCSVf6ufFq4ye0qjnV7Ey3j6C3UgInnYDe4l6Vku zmUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=V79dFufs; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xo17-20020a170907bb9100b00992aea2c6a6si6480025ejc.977.2023.07.24.15.22.01; Mon, 24 Jul 2023 15:22:26 -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=@gmail.com header.s=20221208 header.b=V79dFufs; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231254AbjGXVji (ORCPT + 99 others); Mon, 24 Jul 2023 17:39:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231249AbjGXVjh (ORCPT ); Mon, 24 Jul 2023 17:39:37 -0400 Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BD3CD8 for ; Mon, 24 Jul 2023 14:39:36 -0700 (PDT) Received: by mail-oi1-x22a.google.com with SMTP id 5614622812f47-3a3ad1f39ebso3750303b6e.1 for ; Mon, 24 Jul 2023 14:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690234775; x=1690839575; 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=MQvicdLmL4lt+yOX/xSjVt1t0bXl8fj+TJA76nTMosM=; b=V79dFufsH0cq8p82YJZTa6JJu805tKEi0siRmc7/XqFp1XYZLKgJRXMCdoYJjQaMoy 3ueByAhffU3P9aRI3PW838rHnrnT34TzFvgDdxp6pOVBQTn+zHRJ94uCjW7qREnx8NBB pY4ACAMGjVbc9FxaFOFrw8Gy8Ylf/4mYjTIvy4qOwKIELL05P1mWTG1SEy+ufYq2EnAb a7l0qq3D+2hFJBQrUP2nMEdBM+Fz6oFjxQYhI0AsMhCoAN+/mVpw3BFJqCWpPlWEc39J YHSxAQ8fsoBlJKPiJrKBpxHvV27wo0km4mpy9TJPHYtNu5QDtet6YpHC5Jzobcb49tYq zt9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690234775; x=1690839575; 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=MQvicdLmL4lt+yOX/xSjVt1t0bXl8fj+TJA76nTMosM=; b=HfcZAUuuU+RlVg3i5jp07QtTrRUwo+i+5WoNHNUL0i+6axZeZuQmn6AODEFz2JhWk6 SJE/IeuqTxiMeGuW18BsrHnBjclLrSrh4bWexB7s1G/WqeA9Rv6ZQV0brdDBsO1hdFvk gGMyUquYdkAVwfgJQuNzr8u4YEdKujHaGC1m+Ztk9nhFVLsMvE0PDFEg1HbkqVcbCpap wsaUhxRLmMsOis37UivLQEyt1SIHRl+mcYlvW0fYVt4t7FamS9OjXuTdNzH2vxVvvUdA icRRvZrl4l7Pib+uhuBcvdMQrMN2ReywqTCcxr6i/I9DJU1Ao4UunlBYFXRY5qyCZaq4 4NPA== X-Gm-Message-State: ABy/qLZtZm5RfsgH72nRU1mqjuRPNrw9EtXnZc6wvN5QNhMc2DzrF1in ba1uNsekjJzpPDmGnC/mlbbNMi6vqjRP+HMLQO8= X-Received: by 2002:a05:6808:189b:b0:3a3:652e:8862 with SMTP id bi27-20020a056808189b00b003a3652e8862mr352635oib.2.1690234775301; Mon, 24 Jul 2023 14:39:35 -0700 (PDT) MIME-Version: 1.0 References: <20230724032920.7892-1-xujianghui@cdjrlc.com> In-Reply-To: From: Alex Deucher Date: Mon, 24 Jul 2023 17:39:24 -0400 Message-ID: Subject: Re: [PATCH] drm/radeon: add missing spaces after ',' and else should follow close brace '}' To: sunran001@208suo.com Cc: alexander.deucher@amd.com, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 Applied. Thanks! Alex On Sun, Jul 23, 2023 at 11:30=E2=80=AFPM wrote: > > ERROR: else should follow close brace '}' > > ERROR: space required after that ',' (ctx:VxV) > > Signed-off-by: Ran Sun > --- > drivers/gpu/drm/radeon/radeon_connectors.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c > b/drivers/gpu/drm/radeon/radeon_connectors.c > index 07193cd0c417..4ceceb972e8d 100644 > --- a/drivers/gpu/drm/radeon/radeon_connectors.c > +++ b/drivers/gpu/drm/radeon/radeon_connectors.c > @@ -198,8 +198,7 @@ int radeon_get_monitor_bpc(struct drm_connector > *connector) > DRM_DEBUG("%s: HDMI deep color 10 bpc exc= eeds max tmds clock. Using > %d bpc.\n", > connector->name, bpc); > } > - } > - else if (bpc > 8) { > + } else if (bpc > 8) { > /* max_tmds_clock missing, but hdmi spec mandates= it for deep color. > */ > DRM_DEBUG("%s: Required max tmds clock for HDMI d= eep color missing. > Using 8 bpc.\n", > connector->name); > @@ -1372,7 +1371,7 @@ radeon_dvi_detect(struct drm_connector *connector, > bool force) > /* assume digital unless load det= ected otherwise */ > radeon_connector->use_digital =3D= true; > lret =3D encoder_funcs->detect(en= coder, connector); > - DRM_DEBUG_KMS("load_detect %x ret= urned: > %x\n",encoder->encoder_type,lret); > + DRM_DEBUG_KMS("load_detect %x ret= urned: %x\n", > encoder->encoder_type, lret); > if (lret =3D=3D connector_status_= connected) > radeon_connector->use_dig= ital =3D false; > }