[RFC PATCH 1/3] clk: add clk_bulk_get accessories
Dong Aisheng
dongas86 at gmail.com
Thu Apr 13 10:25:27 EDT 2017
On Wed, Apr 12, 2017 at 12:03:27PM +0800, Dong Aisheng wrote:
...
> @@ -445,6 +543,12 @@ static inline struct clk *clk_get(struct device *dev, const char *id)
> return NULL;
> }
>
> +static inline int clk_bulk_get(struct device *dev, int num_clks,
> + struct clk_bulk_data *clks)
> +{
> + return NULL;
Here needs to be changed to 'return 0'.
It's catched by 0day robot.
include/linux/clk.h: In function 'clk_bulk_get':
include/linux/stddef.h:7:14: warning: return makes integer from pointer without a cast [-Wint-conversion]
#define NULL ((void *)0)
Good job! Robot!
Regards
Dong Aisheng
More information about the linux-arm-kernel
mailing list