提交 b19a5aec 编写于 作者: P Philipp Zabel

reset: uniphier: enclose UNIPHIER_RESET_ID_END value in parentheses

Fixes a checkpatch error:

  ERROR: Macros with complex values should be enclosed in parentheses
  #23: FILE: drivers/reset/reset-uniphier.c:23:
  +#define UNIPHIER_RESET_ID_END		(unsigned int)(-1)
Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
上级 71400c3f
...@@ -20,7 +20,7 @@ struct uniphier_reset_data { ...@@ -20,7 +20,7 @@ struct uniphier_reset_data {
#define UNIPHIER_RESET_ACTIVE_LOW BIT(0) #define UNIPHIER_RESET_ACTIVE_LOW BIT(0)
}; };
#define UNIPHIER_RESET_ID_END (unsigned int)(-1) #define UNIPHIER_RESET_ID_END ((unsigned int)(-1))
#define UNIPHIER_RESET_END \ #define UNIPHIER_RESET_END \
{ .id = UNIPHIER_RESET_ID_END } { .id = UNIPHIER_RESET_ID_END }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册