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:23:49 +0800 [thread overview] Message-ID: <41b04a00f926becfd2ca9cd4c5406074@208suo.com> (raw) In-Reply-To: <20230714062152.13738-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/atomfirmwareid.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/include/atomfirmwareid.h b/drivers/gpu/drm/amd/include/atomfirmwareid.h index e6256efd03ae..1ca5fe7b131b 100644 --- a/drivers/gpu/drm/amd/include/atomfirmwareid.h +++ b/drivers/gpu/drm/amd/include/atomfirmwareid.h @@ -28,8 +28,7 @@ #ifndef _ATOMFIRMWAREID_H_ #define _ATOMFIRMWAREID_H_ -enum atom_master_data_table_id -{ +enum atom_master_data_table_id { VBIOS_DATA_TBL_ID__UTILITY_PIPELINE, VBIOS_DATA_TBL_ID__MULTIMEDIA_INF, VBIOS_DATA_TBL_ID__FIRMWARE_INF, @@ -51,8 +50,7 @@ enum atom_master_data_table_id VBIOS_DATA_TBL_ID__UNDEFINED, }; -enum atom_master_command_table_id -{ +enum atom_master_command_table_id { VBIOS_CMD_TBL_ID__ASIC_INIT, VBIOS_CMD_TBL_ID__DIGX_ENCODER_CONTROL, VBIOS_CMD_TBL_ID__SET_ENGINE_CLOCK,
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:23:49 +0800 [thread overview] Message-ID: <41b04a00f926becfd2ca9cd4c5406074@208suo.com> (raw) In-Reply-To: <20230714062152.13738-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/atomfirmwareid.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/include/atomfirmwareid.h b/drivers/gpu/drm/amd/include/atomfirmwareid.h index e6256efd03ae..1ca5fe7b131b 100644 --- a/drivers/gpu/drm/amd/include/atomfirmwareid.h +++ b/drivers/gpu/drm/amd/include/atomfirmwareid.h @@ -28,8 +28,7 @@ #ifndef _ATOMFIRMWAREID_H_ #define _ATOMFIRMWAREID_H_ -enum atom_master_data_table_id -{ +enum atom_master_data_table_id { VBIOS_DATA_TBL_ID__UTILITY_PIPELINE, VBIOS_DATA_TBL_ID__MULTIMEDIA_INF, VBIOS_DATA_TBL_ID__FIRMWARE_INF, @@ -51,8 +50,7 @@ enum atom_master_data_table_id VBIOS_DATA_TBL_ID__UNDEFINED, }; -enum atom_master_command_table_id -{ +enum atom_master_command_table_id { VBIOS_CMD_TBL_ID__ASIC_INIT, VBIOS_CMD_TBL_ID__DIGX_ENCODER_CONTROL, VBIOS_CMD_TBL_ID__SET_ENGINE_CLOCK,
next parent reply other threads:[~2023-07-14 6:24 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <20230714062152.13738-1-xujianghui@cdjrlc.com> 2023-07-14 6:23 ` sunran001 [this message] 2023-07-14 6:23 ` [PATCH] drm/amd: open brace '{' following struct go on the same line 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 [not found] <20230714060105.13377-1-xujianghui@cdjrlc.com> 2023-07-14 6:04 ` sunran001 2023-07-14 6:04 ` sunran001 2023-07-18 14:34 ` Alex Deucher 2023-07-18 14:34 ` Alex Deucher 2023-07-18 14:34 ` 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=41b04a00f926becfd2ca9cd4c5406074@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.