Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21771845ybl; Mon, 6 Jan 2020 10:56:40 -0800 (PST) X-Google-Smtp-Source: APXvYqz9YWJUuMWMpIJh5KD3tzjiXiIDFYv5yWtOA1609vn907c6lg7TT15P09OvIEVIY7eBTm8a X-Received: by 2002:a05:6830:2009:: with SMTP id e9mr66235673otp.160.1578337000382; Mon, 06 Jan 2020 10:56:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578337000; cv=none; d=google.com; s=arc-20160816; b=W2MnDtIs0zcXzeUj0geQvcc+VsTsCAfFamuDmD/EMA1/tVnllLaHryc3Wds6Pkl3bZ D3SlIpDL5EKqnVF/1tR007GyBMez4YPV7Ey0+YtauJys29iDokgk1vCEBsHj6lOMIYmv ypZ+7oP/zwTHOZuv7I6Y5E6JTY/dcZvf1SbMZ69VsQ5kpNMZyGDW8zTCyrzg9gILvRMJ wJ7PwOX02wnRZXEYT3A91sVIHmEQmToXpGWFdoIMnoPPPx+gkTAx0n4bjTi7a2VmAuRc YG1a8rsbWOG1IabbnAP2f3o1oJ/gBsi12R1JT1uSj0ZUGtnlvtSPaJvE+FQ8Vm4qiOl1 5MRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=wy0TndcXT1skUXZqvb8tuxri02CbQdJn6TND9F2D5Lc=; b=TKm2d85jTQ6LP/AF8mCdPcfpfmPVbGT4FWBV4L7tLW3JIOdZmLsBVD+f7wA3JAl0ky eTqz0E3AomP04slsmmCDwh0JerqLBAEQ2sUVzKCHtOYrbv5V6/CZERJmPnvZbl5SIyYk +R3ge76fOU6723jbdVRDRWU647tU7Vc3lwKvO11xZYyMlW9YmxSxqQBQQ+S6syV9I6Zh leYOsc4bqeJPJfTvvkO+olF/eKhrlG2a1chbyJg/p/BovBpRNMqbZ7X5zL7PQH0hMY3O mtgnmvDzzFQwc9Gcr8Ptuvd0N4r0PprYjtpC5IjYtbM+sTPLmtqL/KFvR2fqXdkSPu+h z2eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YQTXH2uQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v11si28406943otr.158.2020.01.06.10.56.28; Mon, 06 Jan 2020 10:56:40 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YQTXH2uQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726912AbgAFSzJ (ORCPT + 99 others); Mon, 6 Jan 2020 13:55:09 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:45704 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726823AbgAFSzE (ORCPT ); Mon, 6 Jan 2020 13:55:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578336903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:in-reply-to: references:references:references; bh=wy0TndcXT1skUXZqvb8tuxri02CbQdJn6TND9F2D5Lc=; b=YQTXH2uQ/7lOzChJ12ok15JhxvXdq/QZLZVF/T/P5WmVbYPf1k8ulGIZSxzXi+a84wnKPZ WeMRkj69czUgAcLLG0tag0oph11pIYZzCoCJ+YBDGBjrNfkymiNqdqCUk/a9VUhN3UhDs1 s50vI2Kt7VOdNWghTZJaFt3ApbpzFQ8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-337-sFa9Qx8dPmuPesHmWNhDjA-1; Mon, 06 Jan 2020 13:55:02 -0500 X-MC-Unique: sFa9Qx8dPmuPesHmWNhDjA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8DDF4DBA5; Mon, 6 Jan 2020 18:54:59 +0000 (UTC) Received: from madcap2.tricolour.ca (ovpn-112-34.phx2.redhat.com [10.3.112.34]) by smtp.corp.redhat.com (Postfix) with ESMTP id 862AD5D9E5; Mon, 6 Jan 2020 18:54:56 +0000 (UTC) From: Richard Guy Briggs To: Linux-Audit Mailing List , LKML , netfilter-devel@vger.kernel.org Cc: Paul Moore , sgrubb@redhat.com, omosnace@redhat.com, fw@strlen.de, twoerner@redhat.com, eparis@parisplace.org, ebiederm@xmission.com, tgraf@infradead.org, Richard Guy Briggs Subject: [PATCH ghak25 v2 3/9] netfilter: normalize ebtables function declarations II Date: Mon, 6 Jan 2020 13:54:04 -0500 Message-Id: <7df83e229cff2518e73425cdc712505fb773a9c2.1577830902.git.rgb@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Align all function declaration parameters with open parenthesis. Signed-off-by: Richard Guy Briggs --- net/bridge/netfilter/ebtables.c | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/net/bridge/netfilter/ebtables.c b/net/bridge/netfilter/ebtables.c index c9dff9e11ddb..b3c784ae33a0 100644 --- a/net/bridge/netfilter/ebtables.c +++ b/net/bridge/netfilter/ebtables.c @@ -1248,9 +1248,9 @@ void ebt_unregister_table(struct net *net, struct ebt_table *table, /* userspace just supplied us with counters */ static int do_update_counters(struct net *net, const char *name, - struct ebt_counter __user *counters, - unsigned int num_counters, - const void __user *user, unsigned int len) + struct ebt_counter __user *counters, + unsigned int num_counters, + const void __user *user, unsigned int len) { int i, ret; struct ebt_counter *tmp; @@ -1294,7 +1294,7 @@ static int do_update_counters(struct net *net, const char *name, } static int update_counters(struct net *net, const void __user *user, - unsigned int len) + unsigned int len) { struct ebt_replace hlp; @@ -1457,8 +1457,8 @@ static int copy_everything_to_user(struct ebt_table *t, void __user *user, ebt_entry_to_user, entries, tmp.entries); } -static int do_ebt_set_ctl(struct sock *sk, - int cmd, void __user *user, unsigned int len) +static int do_ebt_set_ctl(struct sock *sk, int cmd, void __user *user, + unsigned int len) { int ret; struct net *net = sock_net(sk); @@ -1660,7 +1660,7 @@ static int compat_watcher_to_user(struct ebt_entry_watcher *w, } static int compat_copy_entry_to_user(struct ebt_entry *e, void __user **dstptr, - unsigned int *size) + unsigned int *size) { struct ebt_entry_target *t; struct ebt_entry __user *ce; @@ -2149,7 +2149,7 @@ static int size_entry_mwt(struct ebt_entry *entry, const unsigned char *base, * Called before validation is performed. */ static int compat_copy_entries(unsigned char *data, unsigned int size_user, - struct ebt_entries_buf_state *state) + struct ebt_entries_buf_state *state) { unsigned int size_remaining = size_user; int ret; @@ -2167,7 +2167,8 @@ static int compat_copy_entries(unsigned char *data, unsigned int size_user, static int compat_copy_ebt_replace_from_user(struct ebt_replace *repl, - void __user *user, unsigned int len) + void __user *user, + unsigned int len) { struct compat_ebt_replace tmp; int i; @@ -2321,8 +2322,8 @@ static int compat_update_counters(struct net *net, void __user *user, hlp.num_counters, user, len); } -static int compat_do_ebt_set_ctl(struct sock *sk, - int cmd, void __user *user, unsigned int len) +static int compat_do_ebt_set_ctl(struct sock *sk, int cmd, void __user *user, + unsigned int len) { int ret; struct net *net = sock_net(sk); @@ -2343,8 +2344,8 @@ static int compat_do_ebt_set_ctl(struct sock *sk, return ret; } -static int compat_do_ebt_get_ctl(struct sock *sk, int cmd, - void __user *user, int *len) +static int compat_do_ebt_get_ctl(struct sock *sk, int cmd, void __user *user, + int *len) { int ret; struct compat_ebt_replace tmp; -- 1.8.3.1