Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1389123rdd; Wed, 10 Jan 2024 19:13:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRJ1Qfr9GVuwvxd/tW8jBS4vuSB9wgI3rZ8ahHeaT4KRkoGTaokt0rlYtw+dyN+j81FKK7 X-Received: by 2002:a05:6808:148d:b0:3bd:45ae:3775 with SMTP id e13-20020a056808148d00b003bd45ae3775mr757248oiw.27.1704942787328; Wed, 10 Jan 2024 19:13:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704942787; cv=none; d=google.com; s=arc-20160816; b=Sv+Jqukgh3ZCL0rzEavbTpSLxQEAtJvbnSsgFkL7dZgBsBqr2w/mrBdlEJVEuSz4dg NerKq03AG9VaFwR/C9bKy5UivHTlfUQgFp4bTIgwequu+o/Oxj0INWZO+Lw7wxjpLScF Ch5GzCnUdL6tolsEk0WuCiahdAoJ2MyJ+smkPiBnZ1XYACvZBADBXqzIlkygYpSY7lBm +JktLcr8GUShVPtMJAWW0YD9m6C5jkWFNQ0hLHn27xvURDCpXg5plKPPb0QsZKX8UYDN sMlYCS88c+SPavi9hgedqe4XnLvUqkuEfrSY9k3rD3qcSNdDtqn5ZYs6Q1y0YF7fZykP HG6g== 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=V+U+dM4OmVoTS2YC8AHkHWnI+5wCPS12G/XIW6Y2PUA=; fh=Ut4f0T+7sGKGBVJgMZA0HMbmDJ4wA75BD4rZeKhlDFA=; b=SHsLXC7U6SbJXE0o+1nsU4gr9ey5JGmYY/WgZ9t/C2Xy9QjXen+DrwUvzy9esHFjx+ HRH3Pmd4gOYg5trlqCJ9kHLN0rEe9Bt7UQPjX/6QG75I4Aq9onYl5WHJWK6mS+3O0NFY SgYCBrNR+T8E/ullY1yLWYDmrDtY9Jqy+lnEp3r2W1+7OuM0C5UV8MuWHk7AzwU3gp96 L3UbBi9Fk1yoEzhWkejnbPuLkc36jjA7H7FpCdl76eBHWV4PJuN5v0yDVlvVg9iKObac 8m7xC8UJBERmXsFxK5w6rAE5IbJ8gcBo+iTyItjsLmoPBr2q2YQJVYITuwQJPUXPv2kS U/qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=djDg4L3h; spf=pass (google.com: domain of linux-kernel+bounces-23013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23013-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 83-20020a630056000000b005ce004c1886si146658pga.468.2024.01.10.19.13.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 19:13:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=djDg4L3h; spf=pass (google.com: domain of linux-kernel+bounces-23013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23013-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C6940B26EF8 for ; Thu, 11 Jan 2024 03:10:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22FF4EC9; Thu, 11 Jan 2024 03:10:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=126.com header.i=@126.com header.b="djDg4L3h" Received: from m16.mail.126.com (m16.mail.126.com [220.197.31.8]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4678CEA3 for ; Thu, 11 Jan 2024 03:10:05 +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=V+U+dM4OmVoTS2YC8A HkHWnI+5wCPS12G/XIW6Y2PUA=; b=djDg4L3hZ0Xx/UqfoqIRFXLMjig4SvZ43D CNSAuDuagp3i4ferjDOHRpAe6FVO6FylnFkcrerNamkqwJWJrN2+FQfSXIpHQBKn 0frf5QvpBYft/UaAtjGcm+ZNSoS7KgHKpvlW9wZZGLVkb6W+/mriuxUKK/aGPhzf rHGZI+VsU= Received: from localhost.localdomain (unknown [182.148.14.173]) by gzga-smtp-mta-g1-3 (Coremail) with SMTP id _____wD3P8UAXJ9lO5guAA--.26719S2; Thu, 11 Jan 2024 11:09:53 +0800 (CST) From: chenxuebing To: daniel@ffwll.ch, christian.koenig@amd.com, Xinhui.Pan@amd.com, alexander.deucher@amd.com, airlied@gmail.com Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, chenxuebing Subject: [PATCH] drm/amd/include/vega10_ip_offset:Clean up errors in vega10_ip_offset.h Date: Thu, 11 Jan 2024 03:09:51 +0000 Message-Id: <20240111030951.7046-1-chenxb_99091@126.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID:_____wD3P8UAXJ9lO5guAA--.26719S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrtr1kGF1xAF1DJw1kKFW8Xrb_yoWfJrc_Ca 4xXwn3GFWxZFnIqF12kF1xC34jk3WruFn3Ww1SyFyftrZrAr1UW3y5GrnrXr4ruasxCFs7 Aa48XFy3ZrnagjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7xRRK9atUUUUU== X-CM-SenderInfo: hfkh05lebzmiizr6ij2wof0z/1tbiWQRixWVLYT7npQAAsJ Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Fix the following errors reported by checkpatch: ERROR: open brace '{' following enum go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/vega10_ip_offset.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/include/vega10_ip_offset.h b/drivers/gpu/drm/amd/include/vega10_ip_offset.h index 3a22a5d16919..1e1ca69f21f7 100644 --- a/drivers/gpu/drm/amd/include/vega10_ip_offset.h +++ b/drivers/gpu/drm/amd/include/vega10_ip_offset.h @@ -24,13 +24,11 @@ #define MAX_INSTANCE 5 #define MAX_SEGMENT 5 -struct IP_BASE_INSTANCE -{ +struct IP_BASE_INSTANCE { unsigned int segment[MAX_SEGMENT]; }; -struct IP_BASE -{ +struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; }; -- 2.17.1