Re: [wsa:i2c/quirks 8/11] drivers/i2c/busses/i2c-dln2.c:184:27: sparse: symbol 'dln2_i2c_quirks' was not declared. Should it be static?

From: Wolfram Sang
Date: Thu Jan 08 2015 - 13:38:00 EST


On Fri, Jan 09, 2015 at 02:02:00AM +0800, kbuild test robot wrote:
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/quirks
> head: b1d39af8ae21f4930854b0656aa83a83fd38049e
> commit: dfd33ddaa80259918c200cfacb9076c75cf1da82 [8/11] i2c: dln2: make use of the new infrastructure for quirks
> reproduce:
> # apt-get install sparse
> git checkout dfd33ddaa80259918c200cfacb9076c75cf1da82
> make ARCH=x86_64 allmodconfig
> make C=1 CF=-D__CHECK_ENDIAN__
>
>
> sparse warnings: (new ones prefixed by >>)
>
> >> drivers/i2c/busses/i2c-dln2.c:184:27: sparse: symbol 'dln2_i2c_quirks' was not declared. Should it be static?
>
> Please review and possibly fold the followup patch.

Development branch noise, please ignore.

Attachment: signature.asc
Description: Digital signature