From: Louis Chauvet <louis.chauvet@bootlin.com>
To: Bruno Rocha Levi <brunolevilevi@usp.br>
Cc: rodrigosiqueiramelo@gmail.com, melissa.srw@gmail.com,
mairacanal@riseup.net, maarten.lankhorst@linux.intel.com,
mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com,
daniel@ffwll.ch, Bruno Rocha Levi <brunolevilevi@gmail.com>,
Lucas Antonio <lucasantonio.santos@usp.br>,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 1/2] drm/vkms: Fix misalignment in comment block
Date: Tue, 28 May 2024 16:38:56 +0200 [thread overview]
Message-ID: <ZlXsf_c1TYbhslJJ@localhost.localdomain> (raw)
In-Reply-To: <20240528131026.214773-2-brunolevilevi@usp.br>
Le 28/05/24 - 10:08, Bruno Rocha Levi a écrit :
> From: Bruno Rocha Levi <brunolevilevi@gmail.com>
>
> This change fixes a warning from checkpatch, it improves readability of a
> comment that was previously misaligned, by ensuring the trailing */ is on
> the same line as the opening /*.
Hi,
Do you mean same column?
Maybe in the same patch, also add the missing first empty line in the
comment [1]:
/*
* FIXME: [...]
*/
https://www.kernel.org/doc/html/latest/process/coding-style.html#commenting
Thanks,
Louis Chauvet
> Co-developed-by: Lucas Antonio <lucasantonio.santos@usp.br>
> Signed-off-by: Lucas Antonio <lucasantonio.santos@usp.br>
> Signed-off-by: Bruno Rocha Levi <brunolevilevi@usp.br>
> ---
> drivers/gpu/drm/vkms/vkms_drv.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/vkms/vkms_drv.c b/drivers/gpu/drm/vkms/vkms_drv.c
> index dd0af086e..e8612759a 100644
> --- a/drivers/gpu/drm/vkms/vkms_drv.c
> +++ b/drivers/gpu/drm/vkms/vkms_drv.c
> @@ -166,7 +166,8 @@ static int vkms_modeset_init(struct vkms_device *vkmsdev)
> dev->mode_config.cursor_height = 512;
> /* FIXME: There's a confusion between bpp and depth between this and
> * fbdev helpers. We have to go with 0, meaning "pick the default",
> - * which ix XRGB8888 in all cases. */
> + * which ix XRGB8888 in all cases.
> + */
> dev->mode_config.preferred_depth = 0;
> dev->mode_config.helper_private = &vkms_mode_config_helpers;
>
> --
> 2.45.1
>
--
Louis Chauvet, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2024-05-28 14:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-28 13:08 [PATCH 0/2] Fix alignment in comment blocks Bruno Rocha Levi
2024-05-28 13:08 ` [PATCH 1/2] drm/vkms: Fix misalignment in comment block Bruno Rocha Levi
2024-05-28 14:38 ` Louis Chauvet [this message]
2024-05-28 13:08 ` [PATCH 2/2] drivers/gpu: " Bruno Rocha Levi
2024-05-28 15:23 ` 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=ZlXsf_c1TYbhslJJ@localhost.localdomain \
--to=louis.chauvet@bootlin.com \
--cc=airlied@gmail.com \
--cc=brunolevilevi@gmail.com \
--cc=brunolevilevi@usp.br \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=lucasantonio.santos@usp.br \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mairacanal@riseup.net \
--cc=melissa.srw@gmail.com \
--cc=mripard@kernel.org \
--cc=rodrigosiqueiramelo@gmail.com \
--cc=tzimmermann@suse.de \
/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: link
Be 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.