[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151028054555.GB16963@localhost>
Date: Tue, 27 Oct 2015 22:45:55 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Michael Welling <mwelling@...e.org>
Cc: kbuild test robot <lkp@...el.com>, kbuild-all@...org,
Tony Lindgren <tony@...mide.com>, Pavel Machek <pavel@....cz>,
Felipe Balbi <balbi@...com>,
Sebastian Reichel <sre@...nel.org>,
Roger Quadros <rogerq@...com>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-input@...r.kernel.org
Subject: Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004
On Wed, Oct 28, 2015 at 12:38:31AM -0500, Michael Welling wrote:
> On Wed, Oct 28, 2015 at 12:37:35PM +0800, kbuild test robot wrote:
> > Hi Michael,
> >
> > [auto build test ERROR on input/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
> >
> > url: https://github.com/0day-ci/linux/commits/Michael-Welling/Input-tsc2005-Add-support-for-tsc2004/20151028-082017
> > config: x86_64-randconfig-s1-10281141 (attached as .config)
> > reproduce:
> > # save the attached .config to linux build tree
> > make ARCH=x86_64
> >
> > All errors (new ones prefixed by >>):
> >
> > drivers/built-in.o: In function `tsc2005_cmd':
> > tsc2005.c:(.text+0x21a352): undefined reference to `i2c_smbus_write_byte'
> > drivers/built-in.o: In function `tsc200x_probe_common':
> > >> tsc2005.c:(.text+0x21b554): undefined reference to `__devm_regmap_init_i2c'
> > drivers/built-in.o: In function `tsc2005_modinit':
> > tsc2005.c:(.init.text+0xe2b2): undefined reference to `i2c_register_driver'
> > drivers/built-in.o: In function `tsc2005_exit':
> > tsc2005.c:(.exit.text+0xf4c): undefined reference to `i2c_del_driver'
> >
>
> Sorry Mr. Robot but this configuration does not make sense.
>
> How is CONFIG_REGMAP_I2C=m set without CONFIG_I2C being selected?
> CONFIG_REGMAP_I2C depends on CONFIG_I2C.
The call to devm_regmap_init_i2c() in tsc200x_probe_common() is not
protected by #ifdef guard and we do not have stub for it in case of
!CONFIG_I2C.
Thanks.
--
Dmitry
--
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