linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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?
@ 2015-01-08 18:02 kbuild test robot
  2015-01-08 18:02 ` [PATCH wsa] i2c: dln2: dln2_i2c_quirks can be static kbuild test robot
  2015-01-08 18:37 ` [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? Wolfram Sang
  0 siblings, 2 replies; 3+ messages in thread
From: kbuild test robot @ 2015-01-08 18:02 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: kbuild-all-JC7UmRfGjtg, Lee Jones, Octavian Purdila, Johan Hovold,
	Laurentiu Palcu, linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

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.

---
0-DAY kernel test infrastructure                Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH wsa] i2c: dln2: dln2_i2c_quirks can be static
  2015-01-08 18:02 [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? kbuild test robot
@ 2015-01-08 18:02 ` kbuild test robot
  2015-01-08 18:37 ` [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? Wolfram Sang
  1 sibling, 0 replies; 3+ messages in thread
From: kbuild test robot @ 2015-01-08 18:02 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: kbuild-all, Octavian Purdila, Lee Jones, Johan Hovold,
	Laurentiu Palcu, linux-i2c, linux-kernel

drivers/i2c/busses/i2c-dln2.c:184:27: sparse: symbol 'dln2_i2c_quirks' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 i2c-dln2.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/i2c-dln2.c b/drivers/i2c/busses/i2c-dln2.c
index 3e47811..b6f9ba7 100644
--- a/drivers/i2c/busses/i2c-dln2.c
+++ b/drivers/i2c/busses/i2c-dln2.c
@@ -181,7 +181,7 @@ static const struct i2c_algorithm dln2_i2c_usb_algorithm = {
 	.functionality = dln2_i2c_func,
 };
 
-struct i2c_adapter_quirks dln2_i2c_quirks = {
+static struct i2c_adapter_quirks dln2_i2c_quirks = {
 	.max_read_len = DLN2_I2C_MAX_XFER_SIZE,
 	.max_write_len = DLN2_I2C_MAX_XFER_SIZE,
 };

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* 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?
  2015-01-08 18:02 [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? kbuild test robot
  2015-01-08 18:02 ` [PATCH wsa] i2c: dln2: dln2_i2c_quirks can be static kbuild test robot
@ 2015-01-08 18:37 ` Wolfram Sang
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2015-01-08 18:37 UTC (permalink / raw)
  To: kbuild test robot
  Cc: kbuild-all, Lee Jones, Octavian Purdila, Johan Hovold,
	Laurentiu Palcu, linux-i2c, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-08 18:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-08 18:02 [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? kbuild test robot
2015-01-08 18:02 ` [PATCH wsa] i2c: dln2: dln2_i2c_quirks can be static kbuild test robot
2015-01-08 18:37 ` [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? Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).