From nobody Thu Dec 25 23:24:31 2025 Received: from m16.mail.126.com (m16.mail.126.com [220.197.31.7]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A3B0415C2 for ; Thu, 11 Jan 2024 03:26:13 +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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=126.com header.i=@126.com header.b="ToJ47kxQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-Id; bh=+fG4AXicLXIqBy2X4Q F4COIcQVewS78vBq1OfsVfqfI=; b=ToJ47kxQrvs2DSsZxlEHCZWqlm4FCaOt3S yPdjGkFEbjyHON3/6t6OSoDUlzwXp49oKzw4BvV1kMHCGstcR2peMIeSehL8RZGo zr8eV7MHx+M7TqibpVpJa5oUe7zbS8RZNm2cUYv3cHEEuiRbHFeTpI9i1wSYpju+ FbFXLJKWU= Received: from localhost.localdomain (unknown [182.148.14.173]) by gzga-smtp-mta-g1-1 (Coremail) with SMTP id _____wDX_9rGX59llvsuAA--.18065S2; Thu, 11 Jan 2024 11:25:58 +0800 (CST) From: chenxuebing To: daniel@ffwll.ch, airlied@gmail.com, alexander.deucher@amd.com, Xinhui.Pan@amd.com, christian.koenig@amd.com Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, chenxuebing Subject: [PATCH] drm/amd/include/sienna_cichlid_ip_offset: Clean up errors in sienna_cichlid_ip_offset.h Date: Thu, 11 Jan 2024 03:25:57 +0000 Message-Id: <20240111032557.7578-1-chenxb_99091@126.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: _____wDX_9rGX59llvsuAA--.18065S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrtF1DCF48KF47Kw1DGw4DArb_yoWfWFX_Ca yxtwn3GrW7ZFnrWF1xCFZrZ3y293WkuF1kXw1fta4SyrnrAw1ru3y5Jr47X3yruFn3KFZr XayrZFy5WrnxWjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7xRRt8nDUUUUU== X-CM-SenderInfo: hfkh05lebzmiizr6ij2wof0z/1tbiOgpixWVEuXtJ5QAAsY Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: chenxuebing --- drivers/gpu/drm/amd/include/sienna_cichlid_ip_offset.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/include/sienna_cichlid_ip_offset.h b/drive= rs/gpu/drm/amd/include/sienna_cichlid_ip_offset.h index b07bc2dd895d..054790470800 100644 --- a/drivers/gpu/drm/amd/include/sienna_cichlid_ip_offset.h +++ b/drivers/gpu/drm/amd/include/sienna_cichlid_ip_offset.h @@ -25,13 +25,11 @@ #define MAX_SEGMENT 5 =20 =20 -struct IP_BASE_INSTANCE -{ +struct IP_BASE_INSTANCE { unsigned int segment[MAX_SEGMENT]; }; =20 -struct IP_BASE -{ +struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; } __maybe_unused; =20 --=20 2.17.1