From patchwork Fri Jul 14 05:07:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: shijie001@208suo.com X-Patchwork-Id: 13313032 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 06F6CC001DC for ; Fri, 14 Jul 2023 07:15:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 96D7E10E7D1; Fri, 14 Jul 2023 07:14:55 +0000 (UTC) Received: from mail.208.org (unknown [183.242.55.162]) by gabe.freedesktop.org (Postfix) with ESMTPS id DD3E410E118 for ; Fri, 14 Jul 2023 05:07:54 +0000 (UTC) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R2KHC5cfczBR9sk for ; Fri, 14 Jul 2023 13:07:51 +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=1689311271; x=1691903272; bh=iLOcUk3bzPHlWtwxwuDqm4mV/on mtIq3hNktSDaOMh0=; b=dayk1z4nMV1fZbuidXhMI6B2QFfwaNUxjs6ELTjkeqW q/1uz9XY+klGvH68wDkTyfO5nzdQ8KG0m4u8aflOzh2IUb04h9/YGnZ92qWj9BOQ +DOgBw1GiE4R2UvijLnRUWzlIlYXOOzoQV9gEmfi66bi991CQwn8CicSG8dImCu0 69WwSSMTUTNS7n9RkrqMAgNy8EEmvwuZiHf75p9y8IHyjXFKmKKdmsi2FhZDHg/D GDCh+GKbpZITWFLddjBrmHbGhXbs50AtGAwqqAFbGiLIv7RVMTu7cb9yuhdC9bnv 7DkbK88GIaW8RPqKpBTMqHdVI/bclfwcNrEljKG5KrQ== 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 APTRzWr_JrQs for ; Fri, 14 Jul 2023 13:07:51 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R2KHC1hs4zBR7bB; Fri, 14 Jul 2023 13:07:51 +0800 (CST) MIME-Version: 1.0 Date: Fri, 14 Jul 2023 13:07:51 +0800 From: shijie001@208suo.com To: alexander.deucher@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch Subject: [PATCH] drm/radeon: ERROR: space prohibited before that ', ' (ctx:WxV) In-Reply-To: References: User-Agent: Roundcube Webmail Message-ID: <501c1939cf8047584b11c1af2022518a@208suo.com> X-Sender: shijie001@208suo.com X-Mailman-Approved-At: Fri, 14 Jul 2023 07:14:54 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fix two occurrences of the checkpatch.pl error: ERROR: space prohibited before that ',' (ctx:WxV) ERROR: space required after that ',' (ctx:WxV) Signed-off-by: Jie Shi --- drivers/gpu/drm/radeon/atom-bits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/atom-bits.h b/drivers/gpu/drm/radeon/atom-bits.h index e8fae5c77514..2bfd6d0ff050 100644 --- a/drivers/gpu/drm/radeon/atom-bits.h +++ b/drivers/gpu/drm/radeon/atom-bits.h @@ -33,7 +33,7 @@ static inline uint8_t get_u8(void *bios, int ptr) #define CU8(ptr) get_u8(ctx->bios, (ptr)) static inline uint16_t get_u16(void *bios, int ptr) { - return get_u8(bios ,ptr)|(((uint16_t)get_u8(bios, ptr+1))<<8); + return get_u8(bios, ptr)|(((uint16_t)get_u8(bios, ptr+1))<<8); } #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) #define CU16(ptr) get_u16(ctx->bios, (ptr))