Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2612122rwo; Sun, 23 Jul 2023 20:25:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlHFi/QQjzSmoFrSjR9SuUg1YVUKVmk6jQv6nPnDqJ5AFRX61vPsHEAH1PQREotMsMCgRzk2 X-Received: by 2002:a05:6870:e24b:b0:1b0:5fc0:e2b5 with SMTP id d11-20020a056870e24b00b001b05fc0e2b5mr8955274oac.53.1690169147024; Sun, 23 Jul 2023 20:25:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690169146; cv=none; d=google.com; s=arc-20160816; b=aGwPJ3V30Vt1MRBFbtx5MUlZRJyJimov0kghfNaf+4FGhNpCTdy5JR+rT9ZxHzk9un N030qUGZkrSb35mBcbjU5dRfyiQUESNz+IXACCery9eEgOFAuHrn8O1V8OiHdBOTpOIT ht0QYiSkcMX/RlkCglFJP6MpDD24eRuxDeRiIUVkQjIojNqimJyuKh2fWNluTNqcfNAk OEY5Rem4DfeM8Tin+TWvhNwfiG5Dt3/NdF96HbtSFLzi9PdkA6YKR1x7eWGVXklDIK37 GHgpKD/XGem04pUo0JbPk0GW8BVFcqB4CBV58xQF/EwHlcG8T3PcKDJS7AujXcHO09tc o6SQ== 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=7YRtNwvNluiweQtQwEHBii0U1MnpHlPdZzCX8p84uYM=; fh=8AMB//bLawnaVGsXOW0JOyIrsOOKDaCdb0xMG65icX4=; b=O5ImQKDu1qP8RwkVx/3wDWHDTkY9HJYVpXlqJJ7Ru3Gc+lCEXKak47Gvrwiw8NB6yv s6WgmC5fCBneBA3Mm4gP+l9xFZ+1kSyf5yWPWaJM5bfNmVQ3Uk4aqYfjGq/y+H924Rg1 VvrjN0ckVS1WUjP7EwvLBLZp1xxoMi3Sl+PXtp+YILhlwiGTTm5PLD8d/9lEk4iBB9dg hahX11D2v6JW+/LCZeIOf0KUJaljLnyF/+3aNP4MRy0PpYPF9W6R8cIAUY74+2B6EI3l C+QCaWIR33NHhRbDYZti9975Kr9DTimKf7xgJ1wDH0jBU5FUYjLu8jRBPcASHYT0RJjj foHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@208.org header.s=dkim header.b=zyFTQMQq; 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 d15-20020a056a00244f00b00682ad3438besi8338671pfj.214.2023.07.23.20.25.34; Sun, 23 Jul 2023 20:25:46 -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=zyFTQMQq; 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 S229669AbjGXDAL (ORCPT + 99 others); Sun, 23 Jul 2023 23:00:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbjGXDAJ (ORCPT ); Sun, 23 Jul 2023 23:00:09 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAA5B109 for ; Sun, 23 Jul 2023 20:00:08 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R8Pz86D14zBRYmV for ; Mon, 24 Jul 2023 11:00:04 +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=1690167604; x=1692759605; bh=i+p/J1h3q36a6g/06IhJYB84+UE C0xOcZ6JZkjXA3Lo=; b=zyFTQMQq5GOQoYlTCR5I+7oPveMvveOovQtM7Rff+om DyXmsLei68gN9hJ2ptbkpEuZf7wAo++qV3ce3so4nWhPmhzR+Vd2w1G5Bs5Gp/p0 3jQu4rPbGo/yUCwxf8ieknGFSGa84PR6zasPKHytbDDinRxtEodebFZj+sg+czyK pG8bLaxgAPixnl8hjXXU/JMVZzya3MKL+WFjx7pnY0rzzgoxhNyITGhWiDPNLcjQ QJvNHpBuyz0H0oVgkMky7easjRKEFYdOwdNPLkJpiLz93uyAHqEHstW9HIiTp/Wj 7fxOyMhcK+3UQC9rTjtxckrYO4p6B/pzeZuR2DYQrHw== 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 FlvlwZ-k_wMB for ; Mon, 24 Jul 2023 11:00:04 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R8Pz83VMpzBRDsQ; Mon, 24 Jul 2023 11:00:04 +0800 (CST) MIME-Version: 1.0 Date: Mon, 24 Jul 2023 11:00:04 +0800 From: sunran001@208suo.com To: airlied@gmail.com, daniel@ffwll.ch, alexander.deucher@amd.com Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/radeon: add missing spaces before ';' In-Reply-To: <20230724025911.7528-1-xujianghui@cdjrlc.com> References: <20230724025911.7528-1-xujianghui@cdjrlc.com> User-Agent: Roundcube Webmail Message-ID: <6c16a6c089033849af90ad35fe86515a@208suo.com> X-Sender: sunran001@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 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 ERROR: space required after that ';' (ctx:BxV) Signed-off-by: Ran Sun --- drivers/gpu/drm/radeon/radeon_vce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_vce.c b/drivers/gpu/drm/radeon/radeon_vce.c index ca4a36464340..d1871af967d4 100644 --- a/drivers/gpu/drm/radeon/radeon_vce.c +++ b/drivers/gpu/drm/radeon/radeon_vce.c @@ -95,7 +95,7 @@ int radeon_vce_init(struct radeon_device *rdev) size = rdev->vce_fw->size - strlen(fw_version) - 9; c = rdev->vce_fw->data; - for (;size > 0; --size, ++c) + for (; size > 0; --size, ++c) if (strncmp(c, fw_version, strlen(fw_version)) == 0) break; @@ -110,7 +110,7 @@ int radeon_vce_init(struct radeon_device *rdev) size = rdev->vce_fw->size - strlen(fb_version) - 3; c = rdev->vce_fw->data; - for (;size > 0; --size, ++c) + for (; size > 0; --size, ++c) if (strncmp(c, fb_version, strlen(fb_version)) == 0) break;