diff options
Diffstat (limited to 'include/linux/xarray.h')
-rw-r--r-- | include/linux/xarray.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/xarray.h b/include/linux/xarray.h index e11841537631..57cf35c4d094 100644 --- a/include/linux/xarray.h +++ b/include/linux/xarray.h | |||
@@ -664,7 +664,7 @@ static inline void *xa_cmpxchg_irq(struct xarray *xa, unsigned long index, | |||
664 | * | 664 | * |
665 | * Context: Any context. Takes and releases the xa_lock. May sleep if | 665 | * Context: Any context. Takes and releases the xa_lock. May sleep if |
666 | * the @gfp flags permit. | 666 | * the @gfp flags permit. |
667 | * Return: 0 if the store succeeded. -EEXIST if another entry was present. | 667 | * Return: 0 if the store succeeded. -EBUSY if another entry was present. |
668 | * -ENOMEM if memory could not be allocated. | 668 | * -ENOMEM if memory could not be allocated. |
669 | */ | 669 | */ |
670 | static inline int xa_insert(struct xarray *xa, unsigned long index, | 670 | static inline int xa_insert(struct xarray *xa, unsigned long index, |
@@ -693,7 +693,7 @@ static inline int xa_insert(struct xarray *xa, unsigned long index, | |||
693 | * | 693 | * |
694 | * Context: Any context. Takes and releases the xa_lock while | 694 | * Context: Any context. Takes and releases the xa_lock while |
695 | * disabling softirqs. May sleep if the @gfp flags permit. | 695 | * disabling softirqs. May sleep if the @gfp flags permit. |
696 | * Return: 0 if the store succeeded. -EEXIST if another entry was present. | 696 | * Return: 0 if the store succeeded. -EBUSY if another entry was present. |
697 | * -ENOMEM if memory could not be allocated. | 697 | * -ENOMEM if memory could not be allocated. |
698 | */ | 698 | */ |
699 | static inline int xa_insert_bh(struct xarray *xa, unsigned long index, | 699 | static inline int xa_insert_bh(struct xarray *xa, unsigned long index, |
@@ -722,7 +722,7 @@ static inline int xa_insert_bh(struct xarray *xa, unsigned long index, | |||
722 | * | 722 | * |
723 | * Context: Process context. Takes and releases the xa_lock while | 723 | * Context: Process context. Takes and releases the xa_lock while |
724 | * disabling interrupts. May sleep if the @gfp flags permit. | 724 | * disabling interrupts. May sleep if the @gfp flags permit. |
725 | * Return: 0 if the store succeeded. -EEXIST if another entry was present. | 725 | * Return: 0 if the store succeeded. -EBUSY if another entry was present. |
726 | * -ENOMEM if memory could not be allocated. | 726 | * -ENOMEM if memory could not be allocated. |
727 | */ | 727 | */ |
728 | static inline int xa_insert_irq(struct xarray *xa, unsigned long index, | 728 | static inline int xa_insert_irq(struct xarray *xa, unsigned long index, |