ptr_ring: clean up documentation
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 25 Jan 2018 23:36:28 +0000 (01:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jan 2018 17:02:53 +0000 (12:02 -0500)
commit8619d384eb5e9256a9d4ebe96c1832ac9b9049d6
tree5eafe065bab22056a0f6ee6410f78b7debb2f5a5
parent406de7555424d93849166684d0bd172743d2a30c
ptr_ring: clean up documentation

The only function safe to call without locks
is __ptr_ring_empty. Move documentation about
lockless use there to make sure people do not
try to use __ptr_ring_peek outside locks.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ptr_ring.h