Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35049794rwd; Mon, 10 Jul 2023 01:38:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlEZt1Xk+NHT9VrI0V9RtPsVrPCT56z1V+Ywt++NZZJWPHyZcPMjyrsQM8WacexTgF7js8w2 X-Received: by 2002:a05:6512:220e:b0:4fb:c0d8:10ec with SMTP id h14-20020a056512220e00b004fbc0d810ecmr10963557lfu.1.1688978314674; Mon, 10 Jul 2023 01:38:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688978314; cv=none; d=google.com; s=arc-20160816; b=wg3l/j/hV05Wya4XjEZQww+MN0tzynM+kMTAY41MJrUOn0ZGlp4Zm3cF4C23/KQnYC 1mELXkaP041KurPBFoQRRfXwONO0lfEt7iExyyRwMpfrV/7EhN7gn9l9NbBqXy46r5xA 6W23eCbKaRUxr+7uQkmeS/jLIeAGbdr3W349uEl7Udge8xOAHKXg37p9lSMNyQhuw5vb aQyF+uhtzU57I23DGoGgGUjirO+czFGwdw6wsDGESG73/PcuUTXP9jHSaZrFd5bkMqie ZW+HQnyZSsBIuljI8w9V/Luwzdx/4hsoHYth2rLoQZmmSDMC3Fh1FWgpMOhpqgGzup8G gb/g== 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=wEqXANICHsv7AwgmLdGBqohrLr99E2Wu2hFKMvX0kOA=; fh=w3MrTgnKZTB9wwr4lgnssP4yLVGKA2BkNDBfDNI2iyU=; b=gwE51v8NmfSNz9NVjeNCP6ILIVS1iRy7qVvEjbPTcZ+99F664ATtKJ631xIi+V7o/x 5b0t9IwTGcVECZHLACVRB8wgxOvkExsiDliWnBRXZ8VUUU1el94DR1LX5iciiHt9vUF8 nDLdQ0VmmuXAZxS8wR4CRFRTvkmNVjMtYaC69SFgEz7dG190xXO+2XhgNUyboiuY6ktX g81xed2VrgOLMCX3btFWdueichPiQySAdBa76q+54lkV4SMrVDIw0N526HfbQ2TGI7+G SwWqcOVK41jE2DO+/pQXhMtmAUdA3AoaUnB1VP60Fa3+g3kJF0qVHbzJPZo9mYyEnEOs pVxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=PU50xK1v; 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 qw16-20020a170906fcb000b009930d4e327dsi7973992ejb.880.2023.07.10.01.38.10; Mon, 10 Jul 2023 01:38:34 -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=PU50xK1v; 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 S232661AbjGJI1I (ORCPT + 99 others); Mon, 10 Jul 2023 04:27:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230021AbjGJI1C (ORCPT ); Mon, 10 Jul 2023 04:27:02 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7152E91 for ; Mon, 10 Jul 2023 01:26:57 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4Qzxtj3PgdzBHXhD for ; Mon, 10 Jul 2023 16:26:53 +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=1688977613; x=1691569614; bh=5Vej+dXMd1ZoKmxJ2xQ73LD2u5v 65N0RUybJgRNbepE=; b=PU50xK1vmhNd6ANYnwm68oL8AGrTs00gHkm458ai71P 2XcQxiMyhua1stxu0sv4Zt2ocNrD63DZrDEENwU5XMKgMQPUtVO8fj2mMeEWO3qb z5+36ufFc0eGfpGxcI0u2PsccqjzT2MtTR8eCUiSJsEutz3Y6aplmMIf7l34xGTI hKtHQtDTC2hb/5jxkmzxv2AQJtry12t7wWT4HVcwPt4r1f6bDh0McDxEA1/aUqN6 1PKhHx4sj1aJdPmjpggal0Nm16VrOhPG0x30RoWvD+jX2PJe1G7nzTyCGiXeVn9c PrkiKxnTzVW3hoM4rAZk52AT0AJu4p6xro8VDKuUblA== 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 4P8Z4kr0E1Oj for ; Mon, 10 Jul 2023 16:26:53 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4Qzxtj14DnzBHXgt; Mon, 10 Jul 2023 16:26:53 +0800 (CST) MIME-Version: 1.0 Date: Mon, 10 Jul 2023 16:26:53 +0800 From: sunran001@208suo.com To: airlied@gmail.com, daniel@ffwll.ch Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/radeon: ERROR: "(foo*)" should be "(foo *)" In-Reply-To: <20230710082515.54604-1-xujianghui@cdjrlc.com> References: <20230710082515.54604-1-xujianghui@cdjrlc.com> User-Agent: Roundcube Webmail Message-ID: <0cd737878affc60b7b34d58ea9e10e50@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 four occurrences of the checkpatch.pl error: ERROR: "(foo*)" should be "(foo *)" Signed-off-by: Ran Sun --- drivers/gpu/drm/radeon/radeon_atombios.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c index bf3c411a55c5..85c4bb186203 100644 --- a/drivers/gpu/drm/radeon/radeon_atombios.c +++ b/drivers/gpu/drm/radeon/radeon_atombios.c @@ -1389,7 +1389,7 @@ bool radeon_atombios_get_ppll_ss_info(struct radeon_device *rdev, num_indices = (size - sizeof(ATOM_COMMON_TABLE_HEADER)) / sizeof(ATOM_SPREAD_SPECTRUM_ASSIGNMENT); - ss_assign = (struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT*) + ss_assign = (struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT *) ((u8 *)&ss_info->asSS_Info[0]); for (i = 0; i < num_indices; i++) { if (ss_assign->ucSS_Id == id) { @@ -1402,7 +1402,7 @@ bool radeon_atombios_get_ppll_ss_info(struct radeon_device *rdev, ss->refdiv = ss_assign->ucRecommendedRef_Div; return true; } - ss_assign = (struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT*) + ss_assign = (struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT *) ((u8 *)ss_assign + sizeof(struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT)); } } @@ -3406,7 +3406,7 @@ static ATOM_VOLTAGE_OBJECT_V2 *atom_lookup_voltage_object_v2(ATOM_VOLTAGE_OBJECT { u32 size = le16_to_cpu(v2->sHeader.usStructureSize); u32 offset = offsetof(ATOM_VOLTAGE_OBJECT_INFO_V2, asVoltageObj[0]); - u8 *start = (u8*)v2; + u8 *start = (u8 *)v2; while (offset < size) { ATOM_VOLTAGE_OBJECT_V2 *vo = (ATOM_VOLTAGE_OBJECT_V2 *)(start + offset); @@ -3423,7 +3423,7 @@ static ATOM_VOLTAGE_OBJECT_V3 *atom_lookup_voltage_object_v3(ATOM_VOLTAGE_OBJECT { u32 size = le16_to_cpu(v3->sHeader.usStructureSize); u32 offset = offsetof(ATOM_VOLTAGE_OBJECT_INFO_V3_1, asVoltageObj[0]); - u8 *start = (u8*)v3; + u8 *start = (u8 *)v3; while (offset < size) { ATOM_VOLTAGE_OBJECT_V3 *vo = (ATOM_VOLTAGE_OBJECT_V3 *)(start + offset);