Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3514942pxj; Tue, 11 May 2021 06:18:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6tRNl6ISdZj/lJm0R9dn6eDIEcfhAAJaSKfRhKIyRSRwKH1YJLO0xcmFzLCz3uOK1Fqkt X-Received: by 2002:a17:906:8468:: with SMTP id hx8mr31625772ejc.18.1620739111338; Tue, 11 May 2021 06:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620739111; cv=none; d=google.com; s=arc-20160816; b=p2MkWMyJQf+DPLty5MNdHlAEfL1LB8DD29NTvAJKGtdJvrFJYmBVzcOn02Do9Sr99Y hNckjhUMnrydu0du/pKhkAaMZ5YOaZvwq4lXOYcTjGAkllTodSYq2D8fdn8FacGwJvNg KyKDFFL7z0XsYV6XrhPkYExAMV55XFF5SvEGxr7mObMVQdJ/u25jDKooz6Z/bQGqo7CH zNWnhaaUuFwJ7+X7qDd2zfayz75Z7poMCr9hTD0vjEIDiHYcY0W41LNohWkAhE3o/jWt FRRwCdXcjzvVJB93/tADxc3PWyBpVl2FlCiSGGCntWfEXGWiWAaQOF/AbyaiXWB5651T 2TYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=ZK3+vDVPhFtjzinBOetYLEOjmrjt1WDRRZjsO23RCQ4=; b=D2jWRSzLqODElHUTVuHbqIiQA3mXKhopm3OjHaN2C98e66qFacU/7YZsAuu9oI56OC U8j5kCGNLmtRJGO3DNoKsNo1RmOZRr16HB15rEnhebshka2/W4l3IuLAH8PXuaeBKkFt VsdsNk+gpp5AVYG3ptaRYly3e6oVZqxz1aD5O/8icrN+jnD+L1Qk2pRR9SW1mRbRZ0ZP ubXUIpcFclqOOeQMuvnWk5GUiHEHOSfiq3MM1zWiucwnkhm+DaSMl+huCH4DZyvKQTLW ZKDeViJ3mN6RyrdW5Rpd6oF3hsDiFAkRzD8UDQi3txS9wrRdOplEQfVmvzmtqPrvM9Ik 74yA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a24si14134306edt.144.2021.05.11.06.18.05; Tue, 11 May 2021 06:18:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231643AbhEKNPn (ORCPT + 99 others); Tue, 11 May 2021 09:15:43 -0400 Received: from mga03.intel.com ([134.134.136.65]:57715 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230514AbhEKNPn (ORCPT ); Tue, 11 May 2021 09:15:43 -0400 IronPort-SDR: 8rf1XAHqSOsITkLOpIw5ND9sJoNiIv6Xtuwo7GwisZunPR+XVRY7hFH6BRiwMjYyyJoMB5/X+7 JmQ8wmael+pg== X-IronPort-AV: E=McAfee;i="6200,9189,9980"; a="199488739" X-IronPort-AV: E=Sophos;i="5.82,290,1613462400"; d="scan'208";a="199488739" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2021 06:14:35 -0700 IronPort-SDR: IFqboA5SRJgcv0vgocHVMwr1gogTVvzA8YrPWlZOKLz0uc7NbjwQkiQle9EZMmVLre9MbWDgnU aBVkv32yy4hw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,290,1613462400"; d="scan'208";a="609485461" Received: from lkp-server01.sh.intel.com (HELO f375d57c4ed4) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 11 May 2021 06:14:32 -0700 Received: from kbuild by f375d57c4ed4 with local (Exim 4.92) (envelope-from ) id 1lgSDX-0000iM-Lb; Tue, 11 May 2021 13:14:31 +0000 Date: Tue, 11 May 2021 21:14:22 +0800 From: kernel test robot To: Stephan Gerhold , Jonathan Cameron Cc: kbuild-all@lists.01.org, Lars-Peter Clausen , Rob Herring , Robert Yang , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , Srinivas Pandruvada , ~postmarketos/upstreaming@lists.sr.ht Subject: [RFC PATCH] iio: accel: kxcjk-1013: kx0231025_regs can be static Message-ID: <20210511131422.GA31783@86ca4a2db576> References: <20210511095409.9290-4-stephan@gerhold.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210511095409.9290-4-stephan@gerhold.net> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org drivers/iio/accel/kxcjk-1013.c:224:30: warning: symbol 'kx0231025_regs' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- kxcjk-1013.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c index 5aa2a1cb2309d..1e5e241f2bcdf 100644 --- a/drivers/iio/accel/kxcjk-1013.c +++ b/drivers/iio/accel/kxcjk-1013.c @@ -221,7 +221,7 @@ const struct kx_chipset_regs kxtf9_regs = { }; /* The registers have totally different names but the bits are compatible */ -const struct kx_chipset_regs kx0231025_regs = { +static const struct kx_chipset_regs kx0231025_regs = { .int_src1 = KX023_REG_INS2, .int_src2 = KX023_REG_INS3, .int_rel = KX023_REG_INT_REL,