Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp533743ybv; Sat, 22 Feb 2020 08:45:47 -0800 (PST) X-Google-Smtp-Source: APXvYqyhp8kTjXhyLNR335JSvqWNZRT4DZVZMOt4nqp2jzkcByvw3yeyYUDf5ZyIW7kRnU8kr7LL X-Received: by 2002:a9d:7593:: with SMTP id s19mr31878539otk.219.1582389947337; Sat, 22 Feb 2020 08:45:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582389947; cv=none; d=google.com; s=arc-20160816; b=gNAEUTDkCLkhp3Srm04MkgyUHODkCJ24jnita+LfHndNdZAqnznX+WZpPJw2mN1Pts LgT8sdqt8jAReLO+F+D0joBB69DdM50rZo6V5WI6nOrvXWLYc9Aiifo0j9GCmUkOwPCj a74XO8UYLKv3eE3Ok4IMhGmm4E22GPfRm8R2sOobzImbn07FvI5ifDUrZSude3EAc5Ac X3ymcAUc+qD83zTckM6tF/EPSTHZr3XZG56+FnA4xTi6YOAM7jjHmCcf2I9geALiHNbV vt8xfCq4EIi0+PyF/YzQwkVWayZ3g467p7rV+v+vhzcSVVlJl/nZB8bxN4TxRPuU+a/s M2zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=lyiEGCvC61ZwtIZ3IRBNu+4p8EzOSVxRJvMltx6HBvU=; b=bY124X+3+BTn/NkT+ySTUGYqJnFn/Kw0DPwmQMCp1RGgZNbvPJMdQ5mpmZksNqkO5B YGCZM4jP6+ktiY480MF1TS5B53cg5PGV3PSXJrOwSVbLGBgUsyvRRs9dE1PhdPx8cZzq KdPKfGlksFqh0WdvgJ3UIpzvnOuW7Ogbuwu25QdX/4XG8F0JJQgNd51KdpU73DrSWsQf vbLSxauFjc9yz+xvPNO91gpDUyh+oLtddVZFwc6xhNGl7tBTH/eNqsnMPG2oYgINle/N U+PX2tIBBXUZh2SQYZaFponU04g0OgXNSVpzEmsmvF6vaty94XDfxIqKP/L4o/3bSnui AeWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id w5si3545682otk.244.2020.02.22.08.45.35; Sat, 22 Feb 2020 08:45:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726892AbgBVQpY (ORCPT + 99 others); Sat, 22 Feb 2020 11:45:24 -0500 Received: from mga18.intel.com ([134.134.136.126]:5654 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725976AbgBVQpX (ORCPT ); Sat, 22 Feb 2020 11:45:23 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Feb 2020 08:45:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,472,1574150400"; d="scan'208";a="283989618" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 22 Feb 2020 08:45:17 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1j5Xu0-0001QN-DO; Sun, 23 Feb 2020 00:45:16 +0800 Date: Sun, 23 Feb 2020 00:44:50 +0800 From: kbuild test robot To: Scott Branden Cc: kbuild-all@lists.01.org, Luis Chamberlain , Greg Kroah-Hartman , David Brown , Alexander Viro , Shuah Khan , bjorn.andersson@linaro.org, Shuah Khan , Arnd Bergmann , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-fsdevel@vger.kernel.org, BCM Kernel Feedback , Olof Johansson , Andrew Morton , Dan Carpenter , Colin Ian King , Kees Cook , Takashi Iwai , linux-kselftest@vger.kernel.org, Andy Gross , Scott Branden , Desmond Yan , James Hu , Linux Memory Management List Subject: [RFC PATCH] misc: bcm-vk: image_tab[] can be static Message-ID: <20200222164450.GA660@e50d7db646c3> References: <20200220004825.23372-7-scott.branden@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200220004825.23372-7-scott.branden@broadcom.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: b6354450d21b ("misc: bcm-vk: add Broadcom VK driver") Signed-off-by: kbuild test robot --- bcm_vk_dev.c | 2 +- bcm_vk_msg.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/misc/bcm-vk/bcm_vk_dev.c b/drivers/misc/bcm-vk/bcm_vk_dev.c index d8f59e898ca8a..24cdab04c8703 100644 --- a/drivers/misc/bcm-vk/bcm_vk_dev.c +++ b/drivers/misc/bcm-vk/bcm_vk_dev.c @@ -31,7 +31,7 @@ enum soc_idx { }; #define NUM_BOOT_STAGES 2 -const struct load_image_tab image_tab[][NUM_BOOT_STAGES] = { +static const struct load_image_tab image_tab[][NUM_BOOT_STAGES] = { [VALKYRIE] = { {VK_IMAGE_TYPE_BOOT1, VK_BOOT1_DEF_VALKYRIE_FILENAME}, {VK_IMAGE_TYPE_BOOT2, VK_BOOT2_DEF_VALKYRIE_FILENAME} diff --git a/drivers/misc/bcm-vk/bcm_vk_msg.c b/drivers/misc/bcm-vk/bcm_vk_msg.c index 651fba2149e28..9247d4bc50288 100644 --- a/drivers/misc/bcm-vk/bcm_vk_msg.c +++ b/drivers/misc/bcm-vk/bcm_vk_msg.c @@ -99,8 +99,8 @@ static void bcm_vk_h2vk_verify_blk #define BCM_VK_QSTATS_ACC_CNT 20000 #endif -void bcm_vk_update_qstats(struct bcm_vk *vk, const char *tag, - struct bcm_vk_qstats *qstats, uint32_t occupancy) +static void bcm_vk_update_qstats(struct bcm_vk *vk, const char *tag, + struct bcm_vk_qstats *qstats, uint32_t occupancy) { struct bcm_vk_qs_cnts *qcnts = &qstats->qcnts; @@ -731,7 +731,7 @@ int bcm_vk_send_shutdown_msg(struct bcm_vk *vk, uint32_t shut_type, return rc; } -int bcm_vk_handle_last_sess(struct bcm_vk *vk, struct task_struct *ppid) +static int bcm_vk_handle_last_sess(struct bcm_vk *vk, struct task_struct *ppid) { int rc = 0; pid_t pid = task_pid_nr(ppid);