Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4021862rwo; Mon, 24 Jul 2023 22:27:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlE37EFhHcLXtLTE4SOpktct9yRVKgfVJaXFG7dUPQRblZ2//KeDddkSps1WQvK3JuHKaBtb X-Received: by 2002:a17:902:e5c3:b0:1b8:3dec:48de with SMTP id u3-20020a170902e5c300b001b83dec48demr11009849plf.47.1690262833839; Mon, 24 Jul 2023 22:27:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690262833; cv=none; d=google.com; s=arc-20160816; b=h+IDvnmUzKR9ynAKEC3KadYAbGGPrgb0tNrQZypb8rIIsYCRLUmUxspMjP6Y56aHKp QOnJHDRCT4S2PNzmYrC2Y0KN2wLXqYSODwij1Is1EqzoVwTHugmrYZ+9Qb2TOfInnK0Z QmD9MHsVUGyPvRWPQBUyxlEMi/CD8GZ0femwkTCIkuHqiTcj1Sj9JxplXcdjhiS7JHG8 OLHn0BRQKeNgX3TylJ7BH9GhhxFVx+EzVN4goC0cPrv8PGI/ThdkICc3G2UsixweV6nm K2yXpSJKhTJL0NsmpntDnuV75J/Qdgb1lnxmC0tMWrZ4K4Zw66/XmBkGeNghFGsKrES2 M/4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=9SD5RMe7ELp2HqN5usqOYGd5VbEpFSScHCpe+v0FFv0=; fh=H7+/o9UW7PaNEIJOjCaZA5dp1762x/Uch4qfQXDIvfA=; b=ZaceP4axfKJ+jfWTItyBs2YmxS5OWN6FrnSJ4Gek3U1VJW4UBIiQlsIg33HDplonqc FDzZxY4hkc9pPFbZv/FieNEnmhz0VAgZBicPhsn395WYBYFB6cPcT8MumXtB3X/d/Hqf 4fHBRPXz+G5Mmjx/nr2rxga1qzansogip4tpDHmqguxTt+R9wVnpWhB9gFlvmncUXzU0 tQReMjk6wNtHLWVkzJUUQwddMNlSdkXqIaWlfm15gJvk0svQOMEv9BIxCLuXT+4E+IRz mVGH7sPuh1EU/G4nTPy1ImeNXAkEGt9Cp0+mIAzxCqJCmSJNosTanm49J07iaR/IZNJf AeGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@208.org header.s=dkim header.b=cfdL1uME; 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 l8-20020a170902f68800b001bb974b26c4si5438083plg.238.2023.07.24.22.27.00; Mon, 24 Jul 2023 22:27:13 -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=temperror (no key for signature) header.i=@208.org header.s=dkim header.b=cfdL1uME; 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 S231712AbjGYEoB (ORCPT + 99 others); Tue, 25 Jul 2023 00:44:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231545AbjGYEn6 (ORCPT ); Tue, 25 Jul 2023 00:43:58 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CB28173F for ; Mon, 24 Jul 2023 21:43:54 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R94DP2XGnzBRydY for ; Tue, 25 Jul 2023 12:43:49 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1690260229; x=1692852230; bh=yoXvsWFvf4lKS3sGNABj8yYPLom //8oxSw6PzoA5XC0=; b=cfdL1uME29Wi+vu6AB8vmDcXtRTcjiQtd491WU8OtKD Eq4UhKsYI78gbMHXrARnLoZCBoPrwDfqXWRup6h7le1dyQ6E9lgJ02hHPDyb22no U5aXzR00sAWLmJPF4kAEddNaontPwdns1JtIuQmCzd3jdlk/+EKlYxKHsfVLbWK7 myVNDmYX19MrjlY/H3ynRg7ha8NmrHk1cib7blpapztwxUXjFJHTJGh8uqvPHfBE SCW1C0ceXdeQKLdWXDIFUKZttdnLQa2OdvrCBPfsdNVABlWiBTD6uFCVTDO2dNr4 QR5cjGrFFvBpWL/zxgkrwnttEY49GI34LGnrChiSACw== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id k2m7NmeAlmmy for ; Tue, 25 Jul 2023 12:43:49 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R94DN6rDnzBRDrQ; Tue, 25 Jul 2023 12:43:48 +0800 (CST) MIME-Version: 1.0 Date: Tue, 25 Jul 2023 12:43:48 +0800 From: wuyonggang001@208suo.com To: alexander.deucher@amd.com Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/radeon: Fix format error In-Reply-To: <20230725043946.33470-1-zhanglibing@cdjrlc.com> References: <20230725043946.33470-1-zhanglibing@cdjrlc.com> User-Agent: Roundcube Webmail Message-ID: <6bf7217253d188c37004e8793bd58c88@208suo.com> X-Sender: wuyonggang001@208suo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RDNS_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 Fix the error(s): ERROR: space required before the open parenthesis '(' Signed-off-by: Yonggang Wu --- drivers/gpu/drm/radeon/r300.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c index 9c1a92fa2af6..25201b9a5aae 100644 --- a/drivers/gpu/drm/radeon/r300.c +++ b/drivers/gpu/drm/radeon/r300.c @@ -249,7 +249,7 @@ void r300_ring_start(struct radeon_device *rdev, struct radeon_ring *ring) /* Sub pixel 1/12 so we can have 4K rendering according to doc */ gb_tile_config = (R300_ENABLE_TILING | R300_TILE_SIZE_16); - switch(rdev->num_gb_pipes) { + switch (rdev->num_gb_pipes) { case 2: gb_tile_config |= R300_PIPE_COUNT_R300; break; @@ -638,7 +638,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p, track = (struct r100_cs_track *)p->track; idx_value = radeon_get_ib_value(p, idx); - switch(reg) { + switch (reg) { case AVIVO_D1MODE_VLINE_START_END: case RADEON_CRTC_GUI_TRIG_VLINE: r = r100_cs_packet_parse_vline(p); @@ -1180,7 +1180,7 @@ static int r300_packet3_check(struct radeon_cs_parser *p, ib = p->ib.ptr; idx = pkt->idx + 1; track = (struct r100_cs_track *)p->track; - switch(pkt->opcode) { + switch (pkt->opcode) { case PACKET3_3D_LOAD_VBPNTR: r = r100_packet3_load_vbpntr(p, pkt, idx); if (r)