Re: [PATCH 2/2] futex: Fix argument handling in futex_lock_pi() calls
From: Michael Kerrisk (man-pages)
Date: Sat Jan 17 2015 - 03:42:26 EST
On 01/17/2015 03:04 AM, Darren Hart wrote:
> On Fri, Jan 16, 2015 at 08:28:06PM +0100, Michael Kerrisk (man-pages) wrote:
>> From: Michael Kerrisk <mtk.manpages@xxxxxxxxx>
>>
>> This patch fixes two separate buglets in calls to futex_lock_pi():
>>
>> * Eliminate unused 'detect' argument
>> * Change unused 'timeout' argument of FUTEX_TRYLOCK_PI to NULL
>
> One might argue these should be two separate fixes. Since both are trivial and functional
> no-ops, I'm going to ignore it and consider it a "cleanup" :-) Thomas may
> disagree.
Yup, and that's what I was going to do until I realized that the patches
changed the same line. Then I thought it easier to combine them (rather
than make dependent patches), since they're fairly trivial. But,
I'll split them if Thomas wishes.
Thanks,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/