diff mbox series

[v2] media: imx: utils: Enclose IMX_BUS_FMTS macro in parenthesis

Message ID 20230412175101.8746-1-angelalbertoc.r@gmail.com
State Accepted
Commit 8111496ceb52870157e663d747c71f5520ec9c94
Headers show
Series [v2] media: imx: utils: Enclose IMX_BUS_FMTS macro in parenthesis | expand

Commit Message

Angel Alberto Carretero April 12, 2023, 5:51 p.m. UTC
Conform to kernel coding style by wrapping macro in parenthesis. Issue
found by checkpatch.

Signed-off-by: Angel Alberto Carretero <angelalbertoc.r@gmail.com>
---
v2: changed commit message and description thanks to Alison suggestion
---
 drivers/staging/media/imx/imx-media-utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/staging/media/imx/imx-media-utils.c b/drivers/staging/media/imx/imx-media-utils.c
index 411e907b68eb..eb44c09071de 100644
--- a/drivers/staging/media/imx/imx-media-utils.c
+++ b/drivers/staging/media/imx/imx-media-utils.c
@@ -7,7 +7,7 @@ 
 #include <linux/module.h>
 #include "imx-media.h"
 
-#define IMX_BUS_FMTS(fmt...) (const u32[]) {fmt, 0}
+#define IMX_BUS_FMTS(fmt...) ((const u32[]) {fmt, 0})
 
 /*
  * List of supported pixel formats for the subdevs.