From: David Miller <davem@davemloft.net>
To: fengguang.wu@intel.com
Cc: daniel.wagner@bmw-carit.de, netdev@vger.kernel.org
Subject: Re: [net-next:master 79/82] net/core/sock.c:1267:3: error: too many arguments to function 'sock_update_classid'
Date: Fri, 26 Oct 2012 05:07:20 -0400 (EDT) [thread overview]
Message-ID: <20121026.050720.367513259148701730.davem@davemloft.net> (raw)
In-Reply-To: <508a42d2./QGsZgSRCzpLxMff%fengguang.wu@intel.com>
Fixed thusly:
[PATCH] net: Update args to dummy sock_update_classid().
Only the real implementation got updated.
Signed-off-by: David S. Miller <davem@davemloft.net>
---
include/net/cls_cgroup.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/net/cls_cgroup.h b/include/net/cls_cgroup.h
index 571de6e..2581638 100644
--- a/include/net/cls_cgroup.h
+++ b/include/net/cls_cgroup.h
@@ -61,7 +61,7 @@ static inline u32 task_cls_classid(struct task_struct *p)
}
#endif
#else /* !CGROUP_NET_CLS_CGROUP */
-static inline void sock_update_classid(struct sock *sk)
+static inline void sock_update_classid(struct sock *sk, struct task_struct *task)
{
}
--
1.7.11.7
next prev parent reply other threads:[~2012-10-26 9:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-26 7:59 [net-next:master 79/82] net/core/sock.c:1267:3: error: too many arguments to function 'sock_update_classid' Fengguang Wu
2012-10-26 9:07 ` David Miller [this message]
2012-10-26 11:45 ` Daniel Wagner
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=20121026.050720.367513259148701730.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=daniel.wagner@bmw-carit.de \
--cc=fengguang.wu@intel.com \
--cc=netdev@vger.kernel.org \
/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).