projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
include
/
net
/
netlink.h
diff --git
a/include/net/netlink.h
b/include/net/netlink.h
index 007bdb07dabb22f9aabc1e9014a55440de86769b..a63b2192ac1cdf83dfc636ba362e58bd5da8b9ad 100644
(file)
--- a/
include/net/netlink.h
+++ b/
include/net/netlink.h
@@
-365,7
+365,7
@@
static inline struct nlmsghdr *nlmsg_next(struct nlmsghdr *nlh, int *remaining)
*
* See nla_parse()
*/
*
* See nla_parse()
*/
-static inline int nlmsg_parse(struct nlmsghdr *nlh, int hdrlen,
+static inline int nlmsg_parse(
const
struct nlmsghdr *nlh, int hdrlen,
struct nlattr *tb[], int maxtype,
const struct nla_policy *policy)
{
struct nlattr *tb[], int maxtype,
const struct nla_policy *policy)
{
@@
-414,7
+414,7
@@
static inline int nlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype,
*
* Returns 1 if a report back to the application is requested.
*/
*
* Returns 1 if a report back to the application is requested.
*/
-static inline int nlmsg_report(struct nlmsghdr *nlh)
+static inline int nlmsg_report(
const
struct nlmsghdr *nlh)
{
return !!(nlh->nlmsg_flags & NLM_F_ECHO);
}
{
return !!(nlh->nlmsg_flags & NLM_F_ECHO);
}