On Mon, Dec 11, 2017 at 08:37:11AM +0100, Jiri Slaby wrote:
> On 12/10/2017, 09:50 PM, Linus Torvalds wrote:
> > On Thu, Nov 30, 2017 at 6:35 AM, Jiri Slaby wrote:
> >> sign_extend32 counts the sign bit parameter from 0, not from 1. So we
> >> have to use "11" for 12th bit, not "12".
> >
> > This
On 12/10/2017, 09:50 PM, Linus Torvalds wrote:
> On Thu, Nov 30, 2017 at 6:35 AM, Jiri Slaby wrote:
>> sign_extend32 counts the sign bit parameter from 0, not from 1. So we
>> have to use "11" for 12th bit, not "12".
>
> This interface is crap. It really doesn't make much sense. I wonder
> how ma
On Thu, Nov 30, 2017 at 6:35 AM, Jiri Slaby wrote:
> sign_extend32 counts the sign bit parameter from 0, not from 1. So we
> have to use "11" for 12th bit, not "12".
This interface is crap. It really doesn't make much sense. I wonder
how many people have gotten this wrong, but it's hard to tell.
sign_extend32 counts the sign bit parameter from 0, not from 1. So we
have to use "11" for 12th bit, not "12".
This mistake means we have not allowed negative op and cmp args since
commit 30d6e0a4190d ("futex: Remove duplicated code and fix undefined
behaviour") till now.
Fixes: 30d6e0a4190d ("fu
4 matches
Mail list logo