netlink: let nlmsg and nla functions take pointer-to-const args
authorJan Engelhardt <jengelh@medozas.de>
Tue, 16 Nov 2010 17:52:32 +0000 (09:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Nov 2010 17:52:32 +0000 (09:52 -0800)
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>

No differences found