[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201501090239.gPJgrJIE%fengguang.wu@intel.com>
Date: Fri, 9 Jan 2015 02:07:53 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Wolfram Sang <wsa@...-dreams.de>
Cc: kbuild-all@...org, Lars Poeschel <poeschel@...onage.de>,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [wsa:i2c/quirks 10/11] drivers/i2c/busses/i2c-viperboard.c:357:27:
sparse: symbol 'vprbrd_quirks' was not declared. Should it be static?
tree: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/quirks
head: b1d39af8ae21f4930854b0656aa83a83fd38049e
commit: 5f7099010eda61b777ba84cf9b64dc8428846d25 [10/11] i2c: viperboard: make use of the new infrastructure for quirks
reproduce:
# apt-get install sparse
git checkout 5f7099010eda61b777ba84cf9b64dc8428846d25
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
drivers/i2c/busses/i2c-viperboard.c:128:35: sparse: incorrect type in assignment (different base types)
drivers/i2c/busses/i2c-viperboard.c:128:35: expected unsigned short [unsigned] [usertype] addr
drivers/i2c/busses/i2c-viperboard.c:128:35: got restricted __le16 [usertype] <noident>
drivers/i2c/busses/i2c-viperboard.c:201:34: sparse: incorrect type in assignment (different base types)
drivers/i2c/busses/i2c-viperboard.c:201:34: expected unsigned short [unsigned] [usertype] tf1
drivers/i2c/busses/i2c-viperboard.c:201:34: got restricted __le16 [usertype] <noident>
drivers/i2c/busses/i2c-viperboard.c:202:34: sparse: incorrect type in assignment (different base types)
drivers/i2c/busses/i2c-viperboard.c:202:34: expected unsigned short [unsigned] [usertype] tf2
drivers/i2c/busses/i2c-viperboard.c:202:34: got restricted __le16 [usertype] <noident>
drivers/i2c/busses/i2c-viperboard.c:237:35: sparse: incorrect type in assignment (different base types)
drivers/i2c/busses/i2c-viperboard.c:237:35: expected unsigned short [unsigned] [usertype] addr
drivers/i2c/busses/i2c-viperboard.c:237:35: got restricted __le16 [usertype] <noident>
drivers/i2c/busses/i2c-viperboard.c:300:35: sparse: incorrect type in assignment (different base types)
drivers/i2c/busses/i2c-viperboard.c:300:35: expected unsigned short [unsigned] [usertype] len
drivers/i2c/busses/i2c-viperboard.c:300:35: got restricted __le16 [usertype] <noident>
drivers/i2c/busses/i2c-viperboard.c:325:35: sparse: incorrect type in assignment (different base types)
drivers/i2c/busses/i2c-viperboard.c:325:35: expected unsigned short [unsigned] [usertype] len
drivers/i2c/busses/i2c-viperboard.c:325:35: got restricted __le16 [usertype] <noident>
>> drivers/i2c/busses/i2c-viperboard.c:357:27: sparse: symbol 'vprbrd_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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists