]> git.baikalelectronics.ru Git - kernel.git/commit
xarray.h: correct return code documentation for xa_store_{bh,irq}()
authorManfred Spraul <manfred@colorfullife.com>
Mon, 8 Jun 2020 04:40:20 +0000 (21:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 8 Jun 2020 18:05:56 +0000 (11:05 -0700)
commit8c0c32c02939bcaafafdae1bba6282d22d22389f
tree84cf75f10c904079bab613912e5cb8b016ce3c83
parentffef6c02f041231ed1641a50efe0c119b95b1f72
xarray.h: correct return code documentation for xa_store_{bh,irq}()

__xa_store() and xa_store() document that the functions can fail, and
that the return code can be an xa_err() encoded error code.

xa_store_bh() and xa_store_irq() do not document that the functions can
fail and that they can also return xa_err() encoded error codes.

Thus: Update the documentation.

Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Matthew Wilcox <willy@infradead.org>
Link: http://lkml.kernel.org/r/20200430111424.16634-1-manfred@colorfullife.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/xarray.h