Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp149665pxb; Thu, 21 Jan 2021 03:48:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwuwwVYSq96uXLWVIfYxY8d84xBC5QOILcOz4e16DTWgow3as6fpivY9ds0qdDeQ4BsUsZQ X-Received: by 2002:a05:6402:278a:: with SMTP id b10mr8813093ede.347.1611229695480; Thu, 21 Jan 2021 03:48:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611229695; cv=none; d=google.com; s=arc-20160816; b=0ixV8BFPq746L4XNlK1vIKDM5IyiZN5fh2YK7FpQBrGfKthriSnrP/6YX4Miv60+Mf YvIw9HEz5XssfjWjoYZGO0bh9jTNZmk7rm86Hnhr6Agr8ucEBwzKnAdZ4/VJuSN0un4v d5QeR3K6g+OkzK+8W/FV6faTD1Q8W96IHeo29HE4M6njfIsFViZ31tS5W2m+FNRV32of iyTs6B224Al4HFo47HZ2TPmq4gBnHQSbaG+wkbdC7WPpA7pBO6ztyOv7bFxh6L8FvU4h Wcp4Unk3tbuLjYpujjjkrVPKv+r72+/Q+rR5k+dUhwnDOYaR91+Beq5q/97QOfiYX+l5 jZZw== 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=ZwwzXB2xoaRlmbp06E98XaduSLDs3+Y9fgOamIhaZS8=; b=EnGXrNqlnniKfpbbYOSh+E7uCWyHpMliUXUVRSQ/PMoRaUxFGVYWcJtR0uNVe/J9cq N71gIAzZlk1kfmS+2JqmfJNqo26IJOLb/pHvGkldryuZBlI4yi+JioSpf/PAuC+amuKU l08NFqTwQsxGxHkh+B5/q8sDd/xoCc4hsSJate9erOD3g+X33dUJ0fNt5BORhXezZbGU hI2K6bM4MDyytU2l6CQIRo+MOL26LNgAuZm2xP7UHU8xW4OgIPa4bpiXRDXd+m/tlaMc dJEnnsPaV/J/YA4ayIiZyyNs+F8vTGY/w+2PPaCjijSUy5UMb6GxtIvMiKJl7AB2HX/C yp4g== 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 h24si1822943ejt.638.2021.01.21.03.47.50; Thu, 21 Jan 2021 03:48:15 -0800 (PST) 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 S1729567AbhAULqu (ORCPT + 99 others); Thu, 21 Jan 2021 06:46:50 -0500 Received: from mga18.intel.com ([134.134.136.126]:34585 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730362AbhAULo6 (ORCPT ); Thu, 21 Jan 2021 06:44:58 -0500 IronPort-SDR: DJRglo1xkDYhwZwdllSjl2DpdZHPBrBJ7nFOA5P/iCAlPRILqwkQ9EkVTu2stvl4jtnP/WeAyA zZGkJo5UG6vQ== X-IronPort-AV: E=McAfee;i="6000,8403,9870"; a="166927233" X-IronPort-AV: E=Sophos;i="5.79,363,1602572400"; d="scan'208";a="166927233" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2021 03:44:10 -0800 IronPort-SDR: fpiFMNWJdv+kNBcat3hUI51nNJ3fyv2YaW+Eqz0AFrLPcOV9EM4nIYSVPtWFfnSZMXEb2r1mUs /CvXfPJHJgBQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,363,1602572400"; d="scan'208";a="354727258" Received: from lkp-server01.sh.intel.com (HELO 260eafd5ecd0) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 21 Jan 2021 03:44:08 -0800 Received: from kbuild by 260eafd5ecd0 with local (Exim 4.92) (envelope-from ) id 1l2YNj-0006U3-Lv; Thu, 21 Jan 2021 11:44:07 +0000 Date: Thu, 21 Jan 2021 19:43:28 +0800 From: kernel test robot To: Zhou Wang , Zhangfei Gao , Arnd Bergmann , Greg Kroah-Hartman Cc: kbuild-all@lists.01.org, linux-accelerators@lists.ozlabs.org, linux-kernel@vger.kernel.org, Zhou Wang , Sihang Chen Subject: [RFC PATCH] uacce: uacce_ctrl_open() can be static Message-ID: <20210121114328.GA80090@0beca8d15ecb> References: <1611220154-90232-1-git-send-email-wangzhou1@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1611220154-90232-1-git-send-email-wangzhou1@hisilicon.com> 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 Reported-by: kernel test robot Signed-off-by: kernel test robot --- uacce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/uacce/uacce.c b/drivers/misc/uacce/uacce.c index b8ac4080a7d6f76..11cbb69422221a5 100644 --- a/drivers/misc/uacce/uacce.c +++ b/drivers/misc/uacce/uacce.c @@ -508,7 +508,7 @@ void uacce_remove(struct uacce_device *uacce) } EXPORT_SYMBOL_GPL(uacce_remove); -int uacce_ctrl_open(struct inode *inode, struct file *file) +static int uacce_ctrl_open(struct inode *inode, struct file *file) { struct uacce_pin_container *p; @@ -522,7 +522,7 @@ int uacce_ctrl_open(struct inode *inode, struct file *file) return 0; } -int uacce_ctrl_release(struct inode *inode, struct file *file) +static int uacce_ctrl_release(struct inode *inode, struct file *file) { struct uacce_pin_container *priv = file->private_data; struct pin_pages *p;