From: Jan Engelhardt Date: Tue, 16 Nov 2010 17:52:32 +0000 (-0800) Subject: netlink: let nlmsg and nla functions take pointer-to-const args X-Git-Tag: v2.6.38-rc1~476^2~556 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3654654f7aa79a37dde130afb7409c55b11807e7;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed