diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-11-16 18:52:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-16 18:52:32 +0100 |
commit | 3654654f7aa79a37dde130afb7409c55b11807e7 (patch) | |
tree | 4e65c0d211a6cc748509b7f3b2da7c45b05d3266 /mm/mprotect.c | |
parent | ipv6: fix missing in6_ifa_put in addrconf (diff) | |
download | linux-3654654f7aa79a37dde130afb7409c55b11807e7.tar.xz linux-3654654f7aa79a37dde130afb7409c55b11807e7.zip |
netlink: let nlmsg and nla functions take pointer-to-const args
The changed functions do not modify the NL messages and/or attributes
at all. They should use const (similar to strchr), so that callers
which have a const nlmsg/nlattr around can make use of them without
casting.
While at it, constify a data array.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions