aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-06-14 15:12:12 +0200
committerThomas Zimmermann <[email protected]>2023-06-15 10:45:17 +0200
commitcf683e8870bd4be0fd6b98639286700a35088660 (patch)
tree4852130f0864cbd08208503cb3c8a547c8882d9e
parentdb6da59cf27b5661ced03754ae0550f8914eda9e (diff)
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: f1061fa641b8 ("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]
-rw-r--r--include/linux/fb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index ce6823e157e6..ce7d588edc3e 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -552,7 +552,7 @@ extern ssize_t fb_io_write(struct fb_info *info, const char __user *buf,
.fb_imageblit = cfb_imageblit
#define __FB_DEFAULT_IO_OPS_MMAP \
- .fb_mmap = NULL // default implementation
+ .fb_mmap = NULL /* default implementation */
#define FB_DEFAULT_IO_OPS \
__FB_DEFAULT_IO_OPS_RDWR, \
@@ -585,7 +585,7 @@ extern ssize_t fb_sys_write(struct fb_info *info, const char __user *buf,
.fb_imageblit = sys_imageblit
#define __FB_DEFAULT_SYS_OPS_MMAP \
- .fb_mmap = NULL // default implementation
+ .fb_mmap = NULL /* default implementation */
#define FB_DEFAULT_SYS_OPS \
__FB_DEFAULT_SYS_OPS_RDWR, \