* [PATCH] i2c: zx2967: drop COMPILE_TEST dependency
@ 2017-06-24 14:25 Shawn Guo
2017-06-27 19:59 ` Wolfram Sang
0 siblings, 1 reply; 2+ messages in thread
From: Shawn Guo @ 2017-06-24 14:25 UTC (permalink / raw)
To: Wolfram Sang; +Cc: linux-i2c, Shawn Guo
From: Shawn Guo <shawn.guo@linaro.org>
0-DAY kernel test reports the following build issue on IA64 architecture
with allmodconfig.
drivers/i2c/busses/i2c-zx2967.c: In function 'zx2967_i2c_writesb':
>> drivers/i2c/busses/i2c-zx2967.c:87:2: error: implicit declaration of function 'writesb' [-Werror=implicit-function-declaration]
writesb(i2c->reg_base + reg, data, len);
^~~~~~~
drivers/i2c/busses/i2c-zx2967.c: In function 'zx2967_i2c_readsb':
>> drivers/i2c/busses/i2c-zx2967.c:93:2: error: implicit declaration of function 'readsb' [-Werror=implicit-function-declaration]
readsb(i2c->reg_base + reg, data, len);
^~~~~~
cc1: some warnings being treated as errors
It's caused by that writesb/readsb are unavailable on IA64 architecture.
Let's drop COMPILE_TEST dependency to avoid the build issue.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
---
drivers/i2c/busses/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index ec1f305294a6..a7bc042fe502 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -1262,7 +1262,7 @@ config I2C_OPAL
config I2C_ZX2967
tristate "ZTE ZX2967 I2C support"
- depends on ARCH_ZX || COMPILE_TEST
+ depends on ARCH_ZX
default y
help
Selecting this option will add ZX2967 I2C driver.
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] i2c: zx2967: drop COMPILE_TEST dependency
2017-06-24 14:25 [PATCH] i2c: zx2967: drop COMPILE_TEST dependency Shawn Guo
@ 2017-06-27 19:59 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2017-06-27 19:59 UTC (permalink / raw)
To: Shawn Guo; +Cc: linux-i2c, Shawn Guo
[-- Attachment #1: Type: text/plain, Size: 1089 bytes --]
On Sat, Jun 24, 2017 at 10:25:26PM +0800, Shawn Guo wrote:
> From: Shawn Guo <shawn.guo@linaro.org>
>
> 0-DAY kernel test reports the following build issue on IA64 architecture
> with allmodconfig.
>
> drivers/i2c/busses/i2c-zx2967.c: In function 'zx2967_i2c_writesb':
> >> drivers/i2c/busses/i2c-zx2967.c:87:2: error: implicit declaration of function 'writesb' [-Werror=implicit-function-declaration]
> writesb(i2c->reg_base + reg, data, len);
> ^~~~~~~
> drivers/i2c/busses/i2c-zx2967.c: In function 'zx2967_i2c_readsb':
> >> drivers/i2c/busses/i2c-zx2967.c:93:2: error: implicit declaration of function 'readsb' [-Werror=implicit-function-declaration]
> readsb(i2c->reg_base + reg, data, len);
> ^~~~~~
> cc1: some warnings being treated as errors
>
> It's caused by that writesb/readsb are unavailable on IA64 architecture.
> Let's drop COMPILE_TEST dependency to avoid the build issue.
>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Applied to for-next, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-27 19:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-24 14:25 [PATCH] i2c: zx2967: drop COMPILE_TEST dependency Shawn Guo
2017-06-27 19:59 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox