Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3483907pxj; Tue, 11 May 2021 05:40:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTc6J42EMh2TiSNYap+Ru40GxNCDLjlelF/l8AU/hj4fv/LL6j2Xe3fZCPvrbr2j/jJ8FM X-Received: by 2002:a17:906:17cc:: with SMTP id u12mr31075363eje.170.1620736832119; Tue, 11 May 2021 05:40:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620736832; cv=none; d=google.com; s=arc-20160816; b=zSp8dqknTPKVHyG4cIysx4kJlbtfEmtMXnPu9psv3edOlOiw7iZFhGiYEkKsrzJOWw JTDLeyF2E6DIxXddqjcihNrhfmewBylRc51ouTOH66CqmMjvrglDqQIoGm71/wDyDUN7 S2LhJyee4gCsHFn3jwY45zaISNZIBsivXPGu6KR6LS0h6yMNgeGQccgVZWRJyJUUHFK/ SAqbQeqXiiQMPbCAtOtGOAApy8ZllaED+/oyTqTRjFswvcpxlxPreq1c94+QR/V2cjEM kq/6JY/mW5OS4TXYQuOeftQqx2Pclw7lE4Cy4B3AArIgXavjG7kvmbkeXZ3ZkHvEhulI tOmA== 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=5RF7gzU3o5YSoEjI/SpirnG+kCW7YMeEQlvjxYAdvd8=; b=GcEr/H38vOhlvyJmsNPJakorpGnIqnGjv4emkm0kn2VBqOqufPQuUvXHs5u8gIwOAB YUW1jvIXOQtSCqicvddoiWZBk+Ha74te1EWcMsKtuP6JipErcLwwtTx4xmeImVXdyl0m s98IlF9mPz5linQWWSpR3TcTMHNV7W3Btt/hYLVmkHoB7lRT37/f3tmHEKRFJp876ii/ A35lq/ZwdURvvs6cmJa93GZ1nvHhONzxjKqoFt91dirA1+0RrXWzpTD3HNAfZlKdyP3c OpDLVsuTwIdKHOYwl5eKi6wqkRLq4hpLEg9+SF2faX6BN3XcnZ86N1gizVDq2WJEqrS0 7Csg== 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 z17si16876283ejb.394.2021.05.11.05.40.08; Tue, 11 May 2021 05:40:32 -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 S231623AbhEKMjl (ORCPT + 99 others); Tue, 11 May 2021 08:39:41 -0400 Received: from mga09.intel.com ([134.134.136.24]:2470 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230475AbhEKMjk (ORCPT ); Tue, 11 May 2021 08:39:40 -0400 IronPort-SDR: /V3rRbQL5qS4lUyOg2RKkAgmvj8+5Ft8IlcQG09j7LwJEDm3eaaueSv3npMxE7hrJDJnSTYWVe wV+QtJ8B5hrA== X-IronPort-AV: E=McAfee;i="6200,9189,9980"; a="199495462" X-IronPort-AV: E=Sophos;i="5.82,290,1613462400"; d="scan'208";a="199495462" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2021 05:38:32 -0700 IronPort-SDR: FRwwxEHA3LJBodNCNuQ5179JAjm/wOZzoYFL76sLvj/bAba2sAei3aqGxtn8bv8fUZZdHDgR9x EOaHLlryZreg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,290,1613462400"; d="scan'208";a="609470067" Received: from lkp-server01.sh.intel.com (HELO f375d57c4ed4) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 11 May 2021 05:38:29 -0700 Received: from kbuild by f375d57c4ed4 with local (Exim 4.92) (envelope-from ) id 1lgRee-0000hU-Ko; Tue, 11 May 2021 12:38:28 +0000 Date: Tue, 11 May 2021 20:37:58 +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: kxcjk1013_regs can be static Message-ID: <20210511123758.GA70037@86ca4a2db576> References: <20210511095409.9290-3-stephan@gerhold.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210511095409.9290-3-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:150:30: warning: symbol 'kxcjk1013_regs' was not declared. Should it be static? drivers/iio/accel/kxcjk-1013.c:162:30: warning: symbol 'kxtf9_regs' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- kxcjk-1013.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c index 8800ebf47b5a7..492f576f97348 100644 --- a/drivers/iio/accel/kxcjk-1013.c +++ b/drivers/iio/accel/kxcjk-1013.c @@ -147,7 +147,7 @@ struct kx_chipset_regs { u8 wake_thres; }; -const struct kx_chipset_regs kxcjk1013_regs = { +static const struct kx_chipset_regs kxcjk1013_regs = { .int_src1 = KXCJK1013_REG_INT_SRC1, .int_src2 = KXCJK1013_REG_INT_SRC2, .int_rel = KXCJK1013_REG_INT_REL, @@ -159,7 +159,7 @@ const struct kx_chipset_regs kxcjk1013_regs = { .wake_thres = KXCJK1013_REG_WAKE_THRES, }; -const struct kx_chipset_regs kxtf9_regs = { +static const struct kx_chipset_regs kxtf9_regs = { /* .int_src1 was moved to INT_SRC2 on KXTF9 */ .int_src1 = KXTF9_REG_INT_SRC2, /* .int_src2 is not available */