Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1623076 > unrolled thread

Re: [RFC PATCH 1/3] clk: add clk_bulk_get accessories

Started byDong Aisheng <dongas86@gmail.com>
First post2017-04-13 16:30 +0200
Last post2017-04-13 16:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFC PATCH 1/3] clk: add clk_bulk_get accessories Dong Aisheng <dongas86@gmail.com> - 2017-04-13 16:30 +0200

#1623076 — Re: [RFC PATCH 1/3] clk: add clk_bulk_get accessories

FromDong Aisheng <dongas86@gmail.com>
Date2017-04-13 16:30 +0200
SubjectRe: [RFC PATCH 1/3] clk: add clk_bulk_get accessories
Message-ID<tvNV0-4bx-3@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web