]> git.baikalelectronics.ru Git - kernel.git/commit
net: Document that dev_get_stats() returns the given pointer
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 9 Jul 2010 09:12:41 +0000 (09:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Jul 2010 00:41:57 +0000 (17:41 -0700)
commit43d19530627c467545dea773ac910f80dac5490e
tree7210d55197b283c72bb8c74a0aeb8cd386b21a74
parent9424e370ad56ec949318b9c523169ba3822a5b29
net: Document that dev_get_stats() returns the given pointer

Document that dev_get_stats() returns the same stats pointer it was
given.  Remove const qualification from the returned pointer since the
caller may do what it likes with that structure.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c