All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, Stephen Hemminger <sthemmin@microsoft.com>
Subject: [PATCH net-next 3/7] socket: make sockfs_setattr static
Date: Tue, 10 Jan 2017 10:18:12 -0800	[thread overview]
Message-ID: <20170110181816.18991-4-sthemmin@microsoft.com> (raw)
In-Reply-To: <20170110181816.18991-1-sthemmin@microsoft.com>

Fix warning introduced by commit ead05568c7d5e
("net: core: Add a UID field to struct sock.")

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
---
 net/socket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/socket.c b/net/socket.c
index 3ef02e97ecf3..b7a63d5bc915 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -531,7 +531,7 @@ static ssize_t sockfs_listxattr(struct dentry *dentry, char *buffer,
 	return used;
 }
 
-int sockfs_setattr(struct dentry *dentry, struct iattr *iattr)
+static int sockfs_setattr(struct dentry *dentry, struct iattr *iattr)
 {
 	int err = simple_setattr(dentry, iattr);
 
-- 
2.11.0

  parent reply	other threads:[~2017-01-10 18:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-10 18:18 [PATCH net-next 0/7] warning related fixes Stephen Hemminger
2017-01-10 18:18 ` [PATCH net-next 1/7] flow_dissector: make local function static Stephen Hemminger
2017-01-10 18:32   ` David Miller
2017-01-10 18:43     ` Stephen Hemminger
2017-01-10 18:18 ` [PATCH net-next 2/7] vxlan: remove unused variable Stephen Hemminger
2017-01-10 18:18 ` Stephen Hemminger [this message]
2017-01-10 18:18 ` [PATCH net-next 4/7] dcb: validate netlink attribute link Stephen Hemminger
2017-01-10 18:18 ` [PATCH net-next 5/7] tcp_nv: make tcpnv_get_info static Stephen Hemminger
2017-01-10 19:50   ` Lawrence Brakmo
2017-01-10 18:18 ` [PATCH net-next 6/7] ipv6: make udpv6_queue_rcv_skb static Stephen Hemminger
2017-01-10 18:18 ` [PATCH net-next 7/7] fq_codel: fix set never used warning Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170110181816.18991-4-sthemmin@microsoft.com \
    --to=stephen@networkplumber.org \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=sthemmin@microsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.