Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1364858rdd; Wed, 10 Jan 2024 18:04:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IFHDqYrjjCZ9yLXeW/RzcbsIAMYKnha12F63iRECtY8IneaSAdJ4FcA5HAy9W9TfeF1+3lR X-Received: by 2002:aa7:db5a:0:b0:557:9ecf:9b7a with SMTP id n26-20020aa7db5a000000b005579ecf9b7amr101529edt.64.1704938677239; Wed, 10 Jan 2024 18:04:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704938677; cv=none; d=google.com; s=arc-20160816; b=umQUGd6esTXeW9Xyo7otY8BIcbD/ez40nOi79Ah3D6GXLGlSG5IKbIWEqozwE5M4DZ XdJh1xUSHmo3w0l/Ry8L9oYp/Sd6/YBwd2H0oGzEour+50T7rB095ANgG8V1oRZN81sO 4I74UJBmgF+alicFLwl7vz4NUX+9n9nFe8xgv6Mm3iarOoEFwi51EtQW5ylLwderCNwS qw8zXVUt7hBwqEFr18e2bHcfTAyGqc6NpT8jw5aTGFnhaeTIOabioUxUwgyllPBOePHb ik43ljI1jYOoaybwjFbend8yeJtgLA453WHygdIIRaT/mxVG+dzJnecNojebKTI3O/r4 q32A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=0kRJudjq7tmrhqObxOTG1bQVC/NBVuREr9lAMxPysTI=; fh=11i+ZT/+h9C1IYakLmcdEHDmHqWKDSfo4snJf1ZMZPY=; b=xSsacZ2HWU1UwcKNmJ7Hk48hQwbQAc1qbujEzviO4DsMRNe2En+eO516oOAw/SYw2/ lv6BREgeJhov3/7885zY7+QFVV9OILmqxMzDDaLbXM66uUUMNTfYMVZLaIrcq3SAtDNn b/pXSRrD48Vr0pz9+JMJfGcMPvN7ebMgSELKOKOsDMkw/jVE0fBrBBVp2VgY1XjnQzO7 Ql1QbEYHPvLpys3wx+lVfBtLRLXoVYZoNPz98ODNXLMMW0jBgIInBJQI5F6AqaUOYJOy yNljiU/c3NVeAOob0M+vHmDde7TGtDUlCKS+o0xJMkP4I/PhucadySj4jYOzzqeNEhBO OWsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=T2+Ok+A4; spf=pass (google.com: domain of linux-kernel+bounces-22952-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22952-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c43-20020a509fae000000b00552f78380c5si43417edf.539.2024.01.10.18.04.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 18:04:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22952-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=T2+Ok+A4; spf=pass (google.com: domain of linux-kernel+bounces-22952-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22952-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 05B461F24202 for ; Thu, 11 Jan 2024 02:04:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D27D11366; Thu, 11 Jan 2024 02:01:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=126.com header.i=@126.com header.b="T2+Ok+A4" Received: from m16.mail.126.com (m16.mail.126.com [220.197.31.8]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 32EEA10FD for ; Thu, 11 Jan 2024 02:01:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=126.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=126.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-Id; bh=0kRJudjq7tmrhqObxO TG1bQVC/NBVuREr9lAMxPysTI=; b=T2+Ok+A4pZh7m5XiIs+3TcxbHFvTibwtKn P8haxL3rLaiHemOBosjbw6blR23uSuPpW1tOu7vmbNpZWzS0xCkEtsp4zuzghHvH 1k5fRgtqR9cANB4ZyrTlX9lVGxB1NjYmBjGk82tWOBkvuM85Gd2S9FCznmiAKvip Jnlsqm8RU= Received: from localhost.localdomain (unknown [182.148.14.173]) by gzga-smtp-mta-g0-3 (Coremail) with SMTP id _____wD334L0S59lWQGcAA--.53623S2; Thu, 11 Jan 2024 10:01:25 +0800 (CST) From: chenxuebing To: christian.koenig@amd.com, daniel@ffwll.ch, Xinhui.Pan@amd.com, airlied@gmail.com, alexander.deucher@amd.com Cc: amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, chenxuebing Subject: [PATCH] drm/amdgpu: Clean up errors in amdgpu_atomfirmware.h Date: Thu, 11 Jan 2024 02:01:23 +0000 Message-Id: <20240111020123.5523-1-chenxb_99091@126.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID:_____wD334L0S59lWQGcAA--.53623S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7uF1xWrW3Zw17ArWfAFWxtFb_yoW8GF13pF 4rJF1UJrZ8u3WrZryUXFWkua4Dt3W0qa48KrW8ZFyYg34qvF95JFyrtF4UAr9xArW8Cw43 JFZrA3y8Za4qvF7anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07UbF4iUUUUU= X-CM-SenderInfo: hfkh05lebzmiizr6ij2wof0z/1tbiWRhixWVLYT17lQAAs6 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Fix the following errors reported by checkpatch: ERROR: "foo* bar" should be "foo *bar" Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h index c7eb2caec65a..649b5530d8ae 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h @@ -36,7 +36,7 @@ int amdgpu_atomfirmware_get_clock_info(struct amdgpu_device *adev); int amdgpu_atomfirmware_get_gfx_info(struct amdgpu_device *adev); bool amdgpu_atomfirmware_mem_ecc_supported(struct amdgpu_device *adev); bool amdgpu_atomfirmware_sram_ecc_supported(struct amdgpu_device *adev); -bool amdgpu_atomfirmware_ras_rom_addr(struct amdgpu_device *adev, uint8_t* i2c_address); +bool amdgpu_atomfirmware_ras_rom_addr(struct amdgpu_device *adev, uint8_t *i2c_address); bool amdgpu_atomfirmware_mem_training_supported(struct amdgpu_device *adev); bool amdgpu_atomfirmware_dynamic_boot_config_supported(struct amdgpu_device *adev); int amdgpu_atomfirmware_get_fw_reserved_fb_size(struct amdgpu_device *adev); -- 2.17.1