]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/netlink/attr.c
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6-omap-h63xx.git] / net / netlink / attr.c
index 2d106cfe1d276bf5e234195753eb091cba7b7f1e..c83fea7da9a8246dce2b4fb137e357c395a83f9f 100644 (file)
@@ -233,7 +233,7 @@ size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize)
  *
  * Returns the number of bytes copied.
  */
-int nla_memcpy(void *dest, struct nlattr *src, int count)
+int nla_memcpy(void *dest, const struct nlattr *src, int count)
 {
        int minlen = min_t(int, count, nla_len(src));