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/amd: open brace '{' following struct go on the same line Date: Fri, 14 Jul 2023 14:04:13 +0800 [thread overview] Message-ID: <e565a40b4ae73352204fbf49e55de452@208suo.com> (raw) In-Reply-To: <20230714060105.13377-1-xujianghui@cdjrlc.com> Fix the checkpatch error as open brace '{' following struct should go on the same line. Signed-off-by: Ran Sun <sunran001@208suo.com> --- drivers/gpu/drm/amd/include/yellow_carp_offset.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/include/yellow_carp_offset.h b/drivers/gpu/drm/amd/include/yellow_carp_offset.h index 0fea6a746611..a2c8dca2425e 100644 --- a/drivers/gpu/drm/amd/include/yellow_carp_offset.h +++ b/drivers/gpu/drm/amd/include/yellow_carp_offset.h @@ -7,13 +7,11 @@ #define MAX_SEGMENT 6 -struct IP_BASE_INSTANCE -{ +struct IP_BASE_INSTANCE { unsigned int segment[MAX_SEGMENT]; } __maybe_unused; -struct IP_BASE -{ +struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; } __maybe_unused;
WARNING: multiple messages have this Message-ID (diff)
From: sunran001@208suo.com To: airlied@gmail.com, daniel@ffwll.ch Cc: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/amd: open brace '{' following struct go on the same line Date: Fri, 14 Jul 2023 14:04:13 +0800 [thread overview] Message-ID: <e565a40b4ae73352204fbf49e55de452@208suo.com> (raw) In-Reply-To: <20230714060105.13377-1-xujianghui@cdjrlc.com> Fix the checkpatch error as open brace '{' following struct should go on the same line. Signed-off-by: Ran Sun <sunran001@208suo.com> --- drivers/gpu/drm/amd/include/yellow_carp_offset.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/include/yellow_carp_offset.h b/drivers/gpu/drm/amd/include/yellow_carp_offset.h index 0fea6a746611..a2c8dca2425e 100644 --- a/drivers/gpu/drm/amd/include/yellow_carp_offset.h +++ b/drivers/gpu/drm/amd/include/yellow_carp_offset.h @@ -7,13 +7,11 @@ #define MAX_SEGMENT 6 -struct IP_BASE_INSTANCE -{ +struct IP_BASE_INSTANCE { unsigned int segment[MAX_SEGMENT]; } __maybe_unused; -struct IP_BASE -{ +struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; } __maybe_unused;
next parent reply other threads:[~2023-07-14 6:04 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <20230714060105.13377-1-xujianghui@cdjrlc.com> 2023-07-14 6:04 ` sunran001 [this message] 2023-07-14 6:04 ` [PATCH] drm/amd: open brace '{' following struct go on the same line sunran001 2023-07-18 14:34 ` Alex Deucher 2023-07-18 14:34 ` Alex Deucher 2023-07-18 14:34 ` Alex Deucher [not found] <20230714062152.13738-1-xujianghui@cdjrlc.com> 2023-07-14 6:23 ` sunran001 2023-07-14 6:23 ` sunran001 [not found] <20230721012635.4552-1-xujianghui@cdjrlc.com> 2023-07-21 1:31 ` sunran001 2023-07-21 1:31 ` sunran001 2023-07-21 15:55 ` Alex Deucher 2023-07-21 15:55 ` Alex Deucher 2023-07-21 15:55 ` Alex Deucher
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=e565a40b4ae73352204fbf49e55de452@208suo.com \ --to=sunran001@208suo.com \ --cc=airlied@gmail.com \ --cc=amd-gfx@lists.freedesktop.org \ --cc=daniel@ffwll.ch \ --cc=dri-devel@lists.freedesktop.org \ --cc=linux-kernel@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.