Skip to content

Commit cf683e8

Browse files
author
Thomas Zimmermann
committed
fbdev: Use /* */ comment in initializer macro
Use /* */ in initializer macro to avoid out-commenting the comma at the end of the line. Reported-by: Christian König <[email protected]> Closes: https://lore.kernel.org/dri-devel/[email protected]/T/#m356cda2679c17d7a01f30ce2b5282cd9046ea6d4 Fixes: f1061fa ("fbdev: Add initializer macros for struct fb_ops") Cc: Sam Ravnborg <[email protected]> Cc: Helge Deller <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent db6da59 commit cf683e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/fb.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ extern ssize_t fb_io_write(struct fb_info *info, const char __user *buf,
552552
.fb_imageblit = cfb_imageblit
553553

554554
#define __FB_DEFAULT_IO_OPS_MMAP \
555-
.fb_mmap = NULL // default implementation
555+
.fb_mmap = NULL /* default implementation */
556556

557557
#define FB_DEFAULT_IO_OPS \
558558
__FB_DEFAULT_IO_OPS_RDWR, \
@@ -585,7 +585,7 @@ extern ssize_t fb_sys_write(struct fb_info *info, const char __user *buf,
585585
.fb_imageblit = sys_imageblit
586586

587587
#define __FB_DEFAULT_SYS_OPS_MMAP \
588-
.fb_mmap = NULL // default implementation
588+
.fb_mmap = NULL /* default implementation */
589589

590590
#define FB_DEFAULT_SYS_OPS \
591591
__FB_DEFAULT_SYS_OPS_RDWR, \

0 commit comments

Comments
 (0)