Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp806868ybn; Tue, 24 Sep 2019 09:48:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqymQA4gGwCclVKIeju8oJffRGjAb+UOKg0vqPnBaYWUHd/XvwpdS8AADZVpvfyWqOTGo2a/ X-Received: by 2002:a17:906:fd4:: with SMTP id c20mr3308325ejk.41.1569343689322; Tue, 24 Sep 2019 09:48:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569343689; cv=none; d=google.com; s=arc-20160816; b=JaT3HwV0rp9D+KcVWsPELH0uUUpYcj7CIUrs34se8YhvNGvClCqyjAf/qbLHRSQpem A0UCjAEa07a94AlxFFe2ANn4p2AmQLr+1RLuxNMuSfEc9l1yTIVTGm3Ev1xEH97W7QzU T7Z6fOjY4lf2aau/+h7fIKDHs7J/kOtY1OKXbplEVok7wmYVPdbNTxTPmHgjBB7YiR57 6m2trVg9yM1ywpow9J8xK100d7fSF5fvrw2PSKD214TamrNqcrYxO4z3tgvfabS2vaTr oS5SUx5dIQd5pA8FfsuSF7BvGk3vR10+QNh0nDxo5mdLaAAukwAC2eERWRZodavKgvmA icwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=WRqWsZRxt4P1tDfihGGI2/IUUGj3kU+2JZlO0b9RgMM=; b=vcAioknikct0dHwwFIiUWznmalerEER9Vr4sRoC6+6MLF9A8iUUq4wmYTP3xlxDQeF uaLXPCeDHx3cq0ynkV5nhVv9lAFTsfY/KbXUWYC8QIz1W0rDQd4l4w1tSnQAbCMadx1c sBgu1ebHL+hi2QpG72J7lpDae8RsPF9ilcIN44kjXiQvp+NZMr6IKbB191qBqP1y/91b UYfvT2FmpxZQ0qUyt2/sM7nNiIlh5rwTQso9+aya1v/bCJmJ/vW5RtCSaQUntryKJBzY TqpYTpzqIhvoe6rUuVC/gUrVu7h2SSzO5Nxcc/WogvERg7TeC4lnYgJeibDpQvnU6UHR nvxQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n6si1248759eju.100.2019.09.24.09.47.46; Tue, 24 Sep 2019 09:48:09 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392042AbfIWFxn (ORCPT + 99 others); Mon, 23 Sep 2019 01:53:43 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:2706 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387519AbfIWFxm (ORCPT ); Mon, 23 Sep 2019 01:53:42 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 1AFA97CF542F51D455A4; Mon, 23 Sep 2019 13:53:40 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.439.0; Mon, 23 Sep 2019 13:53:30 +0800 From: YueHaibing To: , CC: , , YueHaibing Subject: [PATCH -next] fuse: Make fuse_args_to_req static Date: Mon, 23 Sep 2019 13:52:31 +0800 Message-ID: <20190923055231.19728-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix sparse warning: fs/fuse/dev.c:468:6: warning: symbol 'fuse_args_to_req' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing --- fs/fuse/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index 46d68d4..7844d35 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -465,7 +465,7 @@ static void fuse_force_creds(struct fuse_conn *fc, struct fuse_req *req) req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns); } -void fuse_args_to_req(struct fuse_req *req, struct fuse_args *args) +static void fuse_args_to_req(struct fuse_req *req, struct fuse_args *args) { req->in.h.opcode = args->opcode; req->in.h.nodeid = args->nodeid; -- 2.7.4