[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <42ea49aa-1301-da62-9d9e-b2634ffa23eb@infradead.org>
Date: Tue, 5 Jun 2018 08:46:07 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
Linux-Next Mailing List <linux-next@...r.kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
USB list <linux-usb@...r.kernel.org>,
ShuFan Lee <shufan_lee@...htek.com>
Subject: Re: linux-next: Tree for Jun 5 (drivers/staging/typec/tcpci_rt1711h)
On 06/05/2018 04:47 AM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20180604:
>
on x86_64 (randconfig):
WARNING: unmet direct dependencies detected for TYPEC_TCPCI
Depends on [n]: STAGING [=y] && TYPEC_TCPM [=y] && I2C [=n]
Selected by [y]:
- TYPEC_RT1711H [=y] && STAGING [=y] && TYPEC_TCPM [=y]
../drivers/staging/typec/tcpci.c:593:1: warning: data definition has no type or storage class [enabled by default]
module_i2c_driver(tcpci_i2c_driver);
^
../drivers/staging/typec/tcpci.c:593:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
../drivers/staging/typec/tcpci.c:593:1: warning: parameter names (without types) in function declaration [enabled by default]
../drivers/staging/typec/tcpci.c:584:26: warning: 'tcpci_i2c_driver' defined but not used [-Wunused-variable]
static struct i2c_driver tcpci_i2c_driver = {
^
cc1: some warnings being treated as errors
../drivers/staging/typec/tcpci_rt1711h.c: In function 'rt1711h_check_revision':
../drivers/staging/typec/tcpci_rt1711h.c:218:2: error: implicit declaration of function 'i2c_smbus_read_word_data' [-Werror=implicit-function-declaration]
ret = i2c_smbus_read_word_data(i2c, TCPC_VENDOR_ID);
^
../drivers/staging/typec/tcpci_rt1711h.c: At top level:
../drivers/staging/typec/tcpci_rt1711h.c:308:1: warning: data definition has no type or storage class [enabled by default]
module_i2c_driver(rt1711h_i2c_driver);
^
../drivers/staging/typec/tcpci_rt1711h.c:308:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
../drivers/staging/typec/tcpci_rt1711h.c:308:1: warning: parameter names (without types) in function declaration [enabled by default]
../drivers/staging/typec/tcpci_rt1711h.c:299:26: warning: 'rt1711h_i2c_driver' defined but not used [-Wunused-variable]
static struct i2c_driver rt1711h_i2c_driver = {
^
CC drivers/staging/speakup/speakup_keypc.o
cc1: some warnings being treated as errors
# CONFIG_I2C is not set
--
~Randy
Powered by blists - more mailing lists