From: David Miller <davem@davemloft.net>
To: tklauser@distanz.ch
Cc: netdev@vger.kernel.org, lorenzo@google.com
Subject: Re: [PATCH net] net: socket: Make unnecessarily global sockfs_setattr() static
Date: Tue, 10 Jan 2017 11:30:32 -0500 (EST) [thread overview]
Message-ID: <20170110.113032.1681128574789977926.davem@davemloft.net> (raw)
In-Reply-To: <20170110083051.753-1-tklauser@distanz.ch>
From: Tobias Klauser <tklauser@distanz.ch>
Date: Tue, 10 Jan 2017 09:30:51 +0100
> Make sockfs_setattr() static as it is not used outside of net/socket.c
>
> This fixes the following GCC warning:
> net/socket.c:534:5: warning: no previous prototype for ‘sockfs_setattr’ [-Wmissing-prototypes]
>
> Fixes: 86741ec25462 ("net: core: Add a UID field to struct sock.")
> Cc: Lorenzo Colitti <lorenzo@google.com>
> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Applied, thanks.
prev parent reply other threads:[~2017-01-10 16:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-10 8:30 [PATCH net] net: socket: Make unnecessarily global sockfs_setattr() static Tobias Klauser
2017-01-10 8:32 ` Lorenzo Colitti
2017-01-10 16:30 ` David Miller [this message]
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=20170110.113032.1681128574789977926.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=lorenzo@google.com \
--cc=netdev@vger.kernel.org \
--cc=tklauser@distanz.ch \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).