[PATCH] drivers/vkms: checkpatch.pl suggested style fix

Brandon Pollack brpol at chromium.org
Wed Apr 26 04:03:27 UTC 2023


added a newline for block comment

checkpatch.pl output:

-------------------------------
drivers/gpu/drm/vkms/vkms_drv.c
-------------------------------
WARNING: Block comments use a trailing */ on a separate line
+        * which ix XRGB8888 in all cases. */

total: 0 errors, 1 warnings, 274 lines checked
---
 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 e3c9c9571c8d..3be240355255 100644
--- a/drivers/gpu/drm/vkms/vkms_drv.c
+++ b/drivers/gpu/drm/vkms/vkms_drv.c
@@ -148,7 +148,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.40.1.495.gc816e09b53d-goog



More information about the dri-devel mailing list