From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751823AbeFEPqM (ORCPT ); Tue, 5 Jun 2018 11:46:12 -0400 Received: from merlin.infradead.org ([205.233.59.134]:40350 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751539AbeFEPqK (ORCPT ); Tue, 5 Jun 2018 11:46:10 -0400 Subject: Re: linux-next: Tree for Jun 5 (drivers/staging/typec/tcpci_rt1711h) To: Stephen Rothwell , Linux-Next Mailing List Cc: Linux Kernel Mailing List , USB list , ShuFan Lee References: <20180605214728.366c0a85@canb.auug.org.au> From: Randy Dunlap Message-ID: <42ea49aa-1301-da62-9d9e-b2634ffa23eb@infradead.org> Date: Tue, 5 Jun 2018 08:46:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180605214728.366c0a85@canb.auug.org.au> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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