* Fwd: [PATCH] drm/vmwgfx: "foo* const bar" should be "foo * const bar"\ that ope- n brace { should be on the previous line [not found] <tencent_4F166AB6DC9C757B0454E3F4875027411F08@qq.com> @ 2023-07-13 3:11 ` liubin001 2023-07-13 3:17 ` liubin001 0 siblings, 1 reply; 2+ messages in thread From: liubin001 @ 2023-07-13 3:11 UTC (permalink / raw) To: airlied, daniel; +Cc: linux-kernel, dri-devel -------- 原始邮件 -------- 主题: [PATCH] drm/vmwgfx: "foo* const bar" should be "foo * const bar"\ that ope- n brace { should be on the previous line 日期: 2023-07-13 10:44 发件人: fujie <2459483872@qq.com> 收件人: liubin001@208suo.com 抄送: fujie <2459483872@qq.com> (1)The standard format for declaring a pointer is to add a space bet- ween the type name and the * symbol, as well as between the * symbol and the variable name. (2) that open brace { should be on the previous line Signed-off-by: fujie <2459483872@qq.com> --- drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c b/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c index 96504a320c2a..b56936f95d31 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c @@ -87,7 +87,7 @@ struct rpc_channel { #if IS_ENABLED(CONFIG_DRM_VMWGFX_MKSSTATS) /* Kernel mksGuestStats counter names and desciptions; same order as enum mksstat_kern_stats_t */ -static const char* const mksstat_kern_name_desc[MKSSTAT_KERN_COUNT][2] = { { "vmw_execbuf_ioctl", "vmw_execbuf_ioctl" }, { "vmw_cotable_resize", "vmw_cotable_resize" }, }; +static const char * const mksstat_kern_name_desc[MKSSTAT_KERN_COUNT][2] = { { "vmw_execbuf_ioctl", "vmw_execbuf_ioctl" }, { "vmw_cotable_resize", "vmw_cotable_resize" }, }; ^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] drm/vmwgfx: "foo* const bar" should be "foo * const bar"\ that ope- n brace { should be on the previous line 2023-07-13 3:11 ` Fwd: [PATCH] drm/vmwgfx: "foo* const bar" should be "foo * const bar"\ that ope- n brace { should be on the previous line liubin001 @ 2023-07-13 3:17 ` liubin001 0 siblings, 0 replies; 2+ messages in thread From: liubin001 @ 2023-07-13 3:17 UTC (permalink / raw) To: airlied, daniel; +Cc: linux-kernel, dri-devel (1)The standard format for declaring a pointer is to add a space bet- ween the type name and the * symbol, as well as between the * symbol and the variable name. (2) that open brace { should be on the previous line Signed-off-by: Bin Liu <liubin001@208suo.com> --- drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c b/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c index 96504a320c2a..b56936f95d31 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c @@ -87,7 +87,7 @@ struct rpc_channel { #if IS_ENABLED(CONFIG_DRM_VMWGFX_MKSSTATS) /* Kernel mksGuestStats counter names and desciptions; same order as enum mksstat_kern_stats_t */ -static const char* const mksstat_kern_name_desc[MKSSTAT_KERN_COUNT][2] = { { "vmw_execbuf_ioctl", "vmw_execbuf_ioctl" }, { "vmw_cotable_resize", "vmw_cotable_resize" }, }; +static const char * const mksstat_kern_name_desc[MKSSTAT_KERN_COUNT][2] = { { "vmw_execbuf_ioctl", "vmw_execbuf_ioctl" }, { "vmw_cotable_resize", "vmw_cotable_resize" }, }; ^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-13 7:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <tencent_4F166AB6DC9C757B0454E3F4875027411F08@qq.com>
2023-07-13 3:11 ` Fwd: [PATCH] drm/vmwgfx: "foo* const bar" should be "foo * const bar"\ that ope- n brace { should be on the previous line liubin001
2023-07-13 3:17 ` liubin001
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox