commit | 3654654f7aa79a37dde130afb7409c55b11807e7 | [log] [tgz] |
---|---|---|
author | Jan Engelhardt <jengelh@medozas.de> | Tue Nov 16 09:52:32 2010 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 16 09:52:32 2010 -0800 |
tree | 4e65c0d211a6cc748509b7f3b2da7c45b05d3266 | |
parent | 9d82ca98f71fd686ef2f3017c5e3e6a4871b6e46 [diff] |
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>