Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5988641ybe; Tue, 10 Sep 2019 11:48:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbPfkyJK05jhhhTqhCfZ8TB4bp42VZnxHSBJfs31ALU0zO4/gG/3Ss0A/rdnXTHNZytoiQ X-Received: by 2002:a50:fe17:: with SMTP id f23mr20132694edt.224.1568141306606; Tue, 10 Sep 2019 11:48:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568141306; cv=none; d=google.com; s=arc-20160816; b=EQCmH/A0YPHD4esm2iUAQFRVVC3lm7+b8UGave2ipQRB/jcDMVJsmJvpFWtc0A2IFU HNQQGZ/iPb1CfqFOV43ZB8oOaa67Ho07xggKYb0vBWDdjK5YxTotBjl/MbgQTp3jnsnp oFz6NLMLHtRd6ERcPw8IQUeqfiXHARnciTkwx45/2SExmkojDxBIP3lrHos3eh46DFZz zszvHHQs2inDf9FPs+1TA3V+TpMWv+Lp6XynIwEUGSjfgplnJfMrPGp9PbrU6SiBkLyr luqRa08eT4ZWuxyJYvTLsKyUh+uMZMe5wk7CQDj1aNZghyd/ffCkkZjPpFYqz/Dy4g+s xSaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=K2MsIgziQw7dACRPmp1ipv9+28mJ8gpQGRnGTTF0ZWQ=; b=FQvO47x60Bkx7CGQwNr4V0steLXeiSX3xNbSp1DKihVdudUWCrnkGkKoOHX17rgRku e/acUrbGLCnukjDcclj0Y/qjNcQxJkJKuPOXvoplfVuCTaHK+GXqdVpx5m0Md751ce99 RodK+sPuOYbqD5ZYJm8xxm5IlUH2zp9ukKiYiOm9ULanfl0vXwgIYRhj7Jb4mLRhvjVV 6CYQn6yozUMGT3V4OXRP+EsvItkNcxdMWKmkXMrwaQdQg2+rERLk0MYRZXa/24OSOdR4 SRzp4pX7JzWz04rH+6lCt73nspvbSJxOat+clHPJKJuVRYv8pksnz8tDjqUdBfhRWZ/+ t6qQ== 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 z15si11958412edd.431.2019.09.10.11.48.02; Tue, 10 Sep 2019 11:48:26 -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 S2404030AbfIJCcm (ORCPT + 99 others); Mon, 9 Sep 2019 22:32:42 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:52354 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2392735AbfIJCcm (ORCPT ); Mon, 9 Sep 2019 22:32:42 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 98B1043E833CED385D60; Tue, 10 Sep 2019 10:32:39 +0800 (CST) Received: from huawei.com (10.175.104.217) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.439.0; Tue, 10 Sep 2019 10:32:30 +0800 From: Miaohe Lin To: , , , , , , , , CC: , Subject: [PATCH] proc:fix confusing macro arg name Date: Tue, 10 Sep 2019 10:17:47 +0800 Message-ID: <20190910021747.11216-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.21.GIT MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.104.217] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org state_size and ops are in the wrong position, fix it. Signed-off-by: Miaohe Lin --- include/linux/proc_fs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index a705aa2d03f9..0640be56dcbd 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h @@ -58,8 +58,8 @@ extern int remove_proc_subtree(const char *, struct proc_dir_entry *); struct proc_dir_entry *proc_create_net_data(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct seq_operations *ops, unsigned int state_size, void *data); -#define proc_create_net(name, mode, parent, state_size, ops) \ - proc_create_net_data(name, mode, parent, state_size, ops, NULL) +#define proc_create_net(name, mode, parent, ops, state_size) \ + proc_create_net_data(name, mode, parent, ops, state_size, NULL) struct proc_dir_entry *proc_create_net_single(const char *name, umode_t mode, struct proc_dir_entry *parent, int (*show)(struct seq_file *, void *), void *data); -- 2.21.GIT