Re: [PATCH v4 07/20] futex: Introduce throughput-optimized (TP) futexes
From: kbuild test robot
Date: Thu Dec 29 2016 - 16:18:43 EST
Hi Waiman,
[auto build test WARNING on linus/master]
[also build test WARNING on v4.10-rc1 next-20161224]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Waiman-Long/futex-Introducing-throughput-optimized-TP-futexes/20161230-020021
reproduce: make htmldocs
All warnings (new ones prefixed by >>):
>> kernel/futex.c:3419: warning: No description found for parameter 'uaddr'
>> kernel/futex.c:3419: warning: No description found for parameter 'vpid'
>> kernel/futex.c:3419: warning: No description found for parameter 'puval'
>> kernel/futex.c:3419: warning: No description found for parameter 'waiter'
kernel/futex.c:3456: warning: No description found for parameter 'uaddr'
kernel/futex.c:3456: warning: No description found for parameter 'vpid'
kernel/futex.c:3456: warning: No description found for parameter 'puval'
vim +/uaddr +3419 kernel/futex.c
3403 * The HB fs_lock should NOT be held while calling this function.
3404 * The flag bits are ignored in the trylock.
3405 *
3406 * If waiter is true
3407 * then
3408 * don't preserve the flag bits;
3409 * else
3410 * preserve the flag bits
3411 * endif
3412 *
3413 * Return: 1 if lock acquired;
3414 * 0 if lock acquisition failed;
3415 * -EFAULT if an error happened.
3416 */
3417 static inline int futex_trylock(u32 __user *uaddr, const u32 vpid, u32 *puval,
3418 const bool waiter)
> 3419 {
3420 u32 uval, flags = 0;
3421
3422 if (unlikely(get_futex_value(puval, uaddr)))
3423 return -EFAULT;
3424
3425 uval = *puval;
3426
3427 if (uval & FUTEX_TID_MASK)
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip