[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101116.095247.48487805.davem@davemloft.net>
Date: Tue, 16 Nov 2010 09:52:47 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jengelh@...ozas.de
Cc: netdev@...r.kernel.org
Subject: Re: [patch] netlink: let nlmsg and nla functions take
pointer-to-const args
From: Jan Engelhardt <jengelh@...ozas.de>
Date: Wed, 10 Nov 2010 01:06:36 +0100 (CET)
> parent 2531add5568de01edcabf321d1bbb69a6a6d6c27 (v2.6.36-4468-g2531add)
> commit f87d7f1b74689c96cc2f53b8cabfd309d7ad1bda
> Author: Jan Engelhardt <jengelh@...ozas.de>
> Date: Wed Nov 10 00:10:55 2010 +0100
>
> 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@...ozas.de>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists