Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp600662rwo; Wed, 2 Aug 2023 00:42:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlGSvdvidxYBT0V87veQOJ6yXlRkkAzbvTmJmgJsN4vPISl4IBkXjmERa2BNX9fVOROxf5tJ X-Received: by 2002:a17:902:ef8d:b0:1bb:98e8:5db2 with SMTP id iz13-20020a170902ef8d00b001bb98e85db2mr12616535plb.26.1690962133809; Wed, 02 Aug 2023 00:42:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690962133; cv=none; d=google.com; s=arc-20160816; b=vZ1y1vJu5/LaMEs3wrdTAEOZNlTjqZZDYe/SgbcaGJlOxMQQhEdZy0zlEWZsvaRJKU emH0azhXQ7TJRi9G7IT3YCZqx3u9NtjCKaHFsZT/CyaFcZGHesVvrE1xQ49pkfwyZ2ZK 71o+NptFROnNIJb2s4XL0hKg5NiHw8uRfbk1FUk4YKeemrd+11Sd4XHfNYXvPbOjHIXs uAbM2KVXqROkN43jV3g7P+cNdD/n9+Nmrg7tElIPWB2OKRy7ILjczpESgPJGQ7fJ2U3Z DNg9NqlUCPugUN7P86JU1I50J367LZLV7en9F8YBlOxAKRpJ4qLOlXkhubogBYQ+KU5G qgZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=O095GjqEnmvABFOVfobgkulQOJwBXin2fNDwuhGyXl0=; fh=M7zDVNG5wYj+Ni7TE5shUh1U8LRNWB+keJIKRth6hag=; b=MoYozxDFkU+ePPgjAuzJ92V5Zn6ZQAknjIm1EIhWhtoO8YX+d0UeUzAqF1rmZQ1IiG LBrEJB7hYqWweigwS0wwF0qetBlVEqQc+XI1tOtvG8oyAkNldalzF6RXg4FwMGq5JRi8 Ztjy3bkZ1eKDGpx+FbRugQOQzZyzl2ZD2fALYas2JC51CDVxOsGpjVamosmvYThz8zpV vXLjcO5BjkIQzyK8yu5bifN83pd8YVnS1wDiICEi2dbQWcCi6M52UoSvke5iIMqUMRbO KH8qhfax2eeQx8ent6V98umR+Z9KJFm3LqqcYHvkAxprQFpcXtNhnNWu/L8anHXaA0FW 3HQg== ARC-Authentication-Results: i=1; mx.google.com; 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 k18-20020a170902c41200b001bbac6722e6si11006325plk.371.2023.08.02.00.42.01; Wed, 02 Aug 2023 00:42: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; 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 S233034AbjHBHga (ORCPT + 99 others); Wed, 2 Aug 2023 03:36:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232929AbjHBHgN (ORCPT ); Wed, 2 Aug 2023 03:36:13 -0400 Received: from out28-194.mail.aliyun.com (out28-194.mail.aliyun.com [115.124.28.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DA14213A for ; Wed, 2 Aug 2023 00:35:50 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.6869546|0.7553379;CH=green;DM=|SPAM|false|;DS=CONTINUE|ham_alarm|0.0371214-0.00110484-0.961774;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047203;MF=sunran001@208suo.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.U6cNhFG_1690961743; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U6cNhFG_1690961743) by smtp.aliyun-inc.com; Wed, 02 Aug 2023 15:35:45 +0800 From: Ran Sun To: alexander.deucher@amd.com Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ran Sun Subject: [PATCH] drm/amdgpu: Clean up errors in mxgpu_vi.c Date: Wed, 2 Aug 2023 07:35:42 +0000 Message-Id: <20230802073542.13515-1-sunran001@208suo.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY 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 Fix the following errors reported by checkpatch: ERROR: spaces required around that '-=' (ctx:WxV) Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c index 288c414babdf..59f53c743362 100644 --- a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c +++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c @@ -334,7 +334,7 @@ static void xgpu_vi_mailbox_send_ack(struct amdgpu_device *adev) break; } mdelay(1); - timeout -=1; + timeout -= 1; reg = RREG32_NO_KIQ(mmMAILBOX_CONTROL); } -- 2.17.1