Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35156468rwd; Mon, 10 Jul 2023 03:30:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlE9g3mwt7nhcsf/arFmNGB4nCNlFHXmNSO34Kdu8QTRMGXa8QSzBF9hpyewq3UIQ/Z2CvL2 X-Received: by 2002:a05:6a00:1953:b0:668:731b:517e with SMTP id s19-20020a056a00195300b00668731b517emr13781706pfk.24.1688985048046; Mon, 10 Jul 2023 03:30:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688985048; cv=none; d=google.com; s=arc-20160816; b=mUEd+uFTSc8YOqZJRhUdHbeItsEv6GvrUeYI9VaCw9dcUwIrj6ntfwhk0E3Fuppqkw UVwbaCcgdTzfTWzJ0bczOukcfJV1Ap+DTqtkjntb71JyqPYvHdSXGjqmQgrnoFCI9zJJ vPSTpA8DT2ciEBiv5uRH08/4vY9qMCFCXj9VbKKq6LM+k/8H+Jz5a+8hacRSa+rJnDDY ADFNI8TCTV3XUjzOjiHeJlriXzVbNwXv6QWv0hZxR6GZhvkJDtMViMagDCLl2yhNXk3/ YFIQT5E68ZwOKYFtndDbQUCa4Jg/EP448wADPLNiaV6/xK4I0b5TfIDU+SPWuoAAWqYH /i8w== 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=17k8Dc7yiGfTznxNpZAbOJLts5258jom8IHfCtAjqM4=; fh=OuVFioq957D+R9N2OC9WXEEGdIplHg0U8QytwS1HxuU=; b=CXr2adREbIpFXd8DhA3mpI/U7UtHZzQ7qhDz4+Xz+nJnCZJJ20QUaUYg6C8irXVvhv rocv7puSiX0ZXip4qINKVUPnSzoMwA2IYylNfvMLhJQu5pe2QrxXHF5jKcDuPejeaCGX MwK88YvSd4j7PLUh30/FxmnFFMOc3c4kE+esiRi2ZI6LAMtdzwUqYAuyx87PsRl3gO3Y uDUg7HpIZc8+6Bydhp2/e1pgflufO5RyPynC26kPNCLnjmYZnalxOiJKELEennL39Kzb tEfQ8nazw28cXPviPvYyxrmRg+souMnIzOdBPjaYae+hv0PLmAhFEPFdwpEJwY0QHOg4 ziHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=cMhE0ZzD; 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 bq24-20020a056a000e1800b0068188beefedsi8759219pfb.88.2023.07.10.03.30.36; Mon, 10 Jul 2023 03:30:48 -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=neutral (bad version) header.i=@208.org header.s=dkim header.b=cMhE0ZzD; 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 S233127AbjGJKRM (ORCPT + 99 others); Mon, 10 Jul 2023 06:17:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbjGJKQx (ORCPT ); Mon, 10 Jul 2023 06:16:53 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5504FE7C for ; Mon, 10 Jul 2023 03:16:28 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R00255XydzBHXhD for ; Mon, 10 Jul 2023 18:03:25 +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=1688983405; x=1691575406; bh=9eGsasZCdvlfGHZbPBuBp6LJrAr WhWGbB1Y1Gl7O060=; b=cMhE0ZzDYHXQtRtw2S7cGuQ+AEgRA92QIB0jpxylIQw v7Um2xeXdYWbxagnj8oqKVD3yQbl9wkkxhyFXfYE9JKSc92hxnyy2kqouopzyPwO yAzz5HqO7VDhBcMap+ckhSt3A5eOfijX5BTKhwYUIC6h6htnRQpkAsMO5iZZ9f3B 5JUAoAjWQQ6i9WPPp+T10cOlVETKtkTVBG68XlIywX2F1KAzpwm5FeiidKl6kf00 PmGIOAlzr2S7tdcQ8tkv1AAwg9M2iHQNcTbP4bhrhKN/GiXy8IVQVVr17Df6WqJM AEX4/ZwMnWkuwHIV+DePS/03wHY8sMjot+OiDu/lRfg== 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 ixD7zODK_b95 for ; Mon, 10 Jul 2023 18:03:25 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R00252j4hzBHXhC; Mon, 10 Jul 2023 18:03:25 +0800 (CST) MIME-Version: 1.0 Date: Mon, 10 Jul 2023 18:03:25 +0800 From: sunran001@208suo.com To: airlied@gmail.com, daniel@ffwll.ch Cc: dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/radeon: ERROR: "(foo*)" should be "(foo *)" In-Reply-To: <20230710091057.64085-1-xujianghui@cdjrlc.com> References: <20230710091057.64085-1-xujianghui@cdjrlc.com> User-Agent: Roundcube Webmail Message-ID: <3a541f425a1ab6d2664a6d74cc4c3a51@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,RCVD_IN_DNSWL_BLOCKED,RDNS_NONE,SPF_HELO_FAIL,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 Fix five occurrences of the checkpatch.pl error: ERROR: "(foo*)" should be "(foo *)" Signed-off-by: Ran Sun --- drivers/gpu/drm/radeon/radeon_kms.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c index e0214cf1b43b..a16590c6247f 100644 --- a/drivers/gpu/drm/radeon/radeon_kms.c +++ b/drivers/gpu/drm/radeon/radeon_kms.c @@ -444,7 +444,7 @@ int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) DRM_DEBUG_KMS("timestamp is r6xx+ only!\n"); return -EINVAL; } - value = (uint32_t*)&value64; + value = (uint32_t *)&value64; value_size = sizeof(uint64_t); value64 = radeon_get_gpu_clock_counter(rdev); break; @@ -543,18 +543,18 @@ int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) *value = rdev->vce.fb_version; break; case RADEON_INFO_NUM_BYTES_MOVED: - value = (uint32_t*)&value64; + value = (uint32_t *)&value64; value_size = sizeof(uint64_t); value64 = atomic64_read(&rdev->num_bytes_moved); break; case RADEON_INFO_VRAM_USAGE: - value = (uint32_t*)&value64; + value = (uint32_t *)&value64; value_size = sizeof(uint64_t); man = ttm_manager_type(&rdev->mman.bdev, TTM_PL_VRAM); value64 = ttm_resource_manager_usage(man); break; case RADEON_INFO_GTT_USAGE: - value = (uint32_t*)&value64; + value = (uint32_t *)&value64; value_size = sizeof(uint64_t); man = ttm_manager_type(&rdev->mman.bdev, TTM_PL_TT); value64 = ttm_resource_manager_usage(man); @@ -614,7 +614,7 @@ int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) DRM_DEBUG_KMS("Invalid request %d\n", info->request); return -EINVAL; } - if (copy_to_user(value_ptr, (char*)value, value_size)) { + if (copy_to_user(value_ptr, (char *)value, value_size)) { DRM_ERROR("copy_to_user %s:%u\n", __func__, __LINE__); return -EFAULT; }