diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-10-06 11:46:32 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-10-06 11:46:55 +0200 |
commit | 753d179ad001b25425beb977d00f2531540e7d42 (patch) | |
tree | de61b9e3c86b71e9a654cea002b188f90b1f8ef6 /lib/idr.c | |
parent | 503c1fb98ba3859c13863957c7c65c92371a9e50 (diff) | |
parent | cc71b7b071192ac1c288e272fdc3f3877eb96663 (diff) | |
download | linux-753d179ad001b25425beb977d00f2531540e7d42.tar.gz linux-753d179ad001b25425beb977d00f2531540e7d42.tar.xz |
Merge remote-tracking branch 'net-next/master' into mac80211-next
Merging this brings in the timer_setup() change, which allows
me to apply Kees's mac80211 changes for it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'lib/idr.c')
-rw-r--r-- | lib/idr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/idr.c b/lib/idr.c index f9adf4805fd7..edd9b2be1651 100644 --- a/lib/idr.c +++ b/lib/idr.c @@ -146,8 +146,8 @@ EXPORT_SYMBOL(idr_get_next_ext); * idr_alloc() and idr_remove() (as long as the ID being removed is not * the one being replaced!). * - * Returns: 0 on success. %-ENOENT indicates that @id was not found. - * %-EINVAL indicates that @id or @ptr were not valid. + * Returns: the old value on success. %-ENOENT indicates that @id was not + * found. %-EINVAL indicates that @id or @ptr were not valid. */ void *idr_replace(struct idr *idr, void *ptr, int id) { |