Searched hist:"3654654 f" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/lib/ |
H A D | nlattr.c | 3654654f Tue Nov 16 11:52:32 CST 2010 Jan Engelhardt <jengelh@medozas.de> 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> 3654654f Tue Nov 16 11:52:32 CST 2010 Jan Engelhardt <jengelh@medozas.de> 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>
|
/openbmc/linux/include/net/ |
H A D | netlink.h | 3654654f Tue Nov 16 11:52:32 CST 2010 Jan Engelhardt <jengelh@medozas.de> 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> 3654654f Tue Nov 16 11:52:32 CST 2010 Jan Engelhardt <jengelh@medozas.de> 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>
|