From patchwork Sat Jun 24 14:25:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 106289 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp689536qgd; Sat, 24 Jun 2017 07:25:43 -0700 (PDT) X-Received: by 10.99.2.144 with SMTP id 138mr13145619pgc.265.1498314343100; Sat, 24 Jun 2017 07:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498314343; cv=none; d=google.com; s=arc-20160816; b=jHx5daROLqPscLLCDOpdE0Rwn9kwxzX4je/ca0YaC/+xi/xr1abOilLT6lhDObgMV2 U86CDeP0GjoKj4YJ/gP+F6/QINh4+JDhS0R6nTGJxYjRb2hILRyhNfMDVGX/+XO/DV/P hYKneQWsmaA4rAcDpLnTDagEz04pO+HxKw2uRQtj0feShEG3YMh6MNIeZ/CRF4SoF5ho MJ7GGJfH7H+Ap6LKGv6FMaMwFrdeS4vRMdQ+/utyY2DMZxaR631vJBa7MOBrhNJ3NYPJ 3GXI6xtQby6Ivhi3QjpPWkqwbNhsnN6UtqOsgkCBQok5dpxkrNsiP+vxrUKz0PjcLkQk +Xxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:arc-authentication-results; bh=Mu7Fo7jXyhcbbnzuQxoQdET2X6VVx0pFUvlZK6xtB5Q=; b=QJNzSf65xZonNVbG6zZH6ZXf9FU2LS6DBICwV4tiPTtI6WYqU5SKBmod2VdjtNh7cl f0SI/XOgwjVCjsf39ZOTpiAGN78t49h5hpDfRY7Y3A/e5NfevhPh/DFZaYmd58fiFSPZ kEVS+kbtjzdj/tL5E5WuB5RMQNmlZl5pQO9GMJfaP3nh/WSQ46ZuprDCTLBk8+sSnfQd rbfDsnVPKewRn7X8WOUGhqJTMLJKEOJGDkjXejwf1GrvTxzluCekcnA/4jxaL+kl7AOg tGYf+lYq0cjAH3pNLsCVuJkzoPA6PoeZ+ShDNbWzt2Ja91ixYQDX/urX3AZnDjjz9K/y el0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v19si5124954pgo.347.2017.06.24.07.25.42; Sat, 24 Jun 2017 07:25:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751305AbdFXOZm (ORCPT + 1 other); Sat, 24 Jun 2017 10:25:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:50070 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751301AbdFXOZm (ORCPT ); Sat, 24 Jun 2017 10:25:42 -0400 Received: from localhost.localdomain (li411-102.members.linode.com [106.187.91.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5B88D22B5D; Sat, 24 Jun 2017 14:25:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B88D22B5D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=shawnguo@kernel.org From: Shawn Guo To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, Shawn Guo Subject: [PATCH] i2c: zx2967: drop COMPILE_TEST dependency Date: Sat, 24 Jun 2017 22:25:26 +0800 Message-Id: <1498314326-16121-1-git-send-email-shawnguo@kernel.org> X-Mailer: git-send-email 1.9.1 Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org From: Shawn Guo 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 Signed-off-by: Shawn Guo --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 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.