Re: [bisected] 3c8ba0d61d04ced9f8d9ff93977995a9e4e96e91 oopses on s390
From: Sebastian Ott
Date: Mon Apr 09 2018 - 13:11:34 EST
On Mon, 9 Apr 2018, Linus Torvalds wrote:
> On Mon, Apr 9, 2018 at 9:18 AM, Sebastian Ott <sebott@xxxxxxxxxxxxx> wrote:
> >
> > Both of the following return 0 on my machine:
> > + pr_warn("%u\n", min_not_zero(100, 1000));
> > + pr_warn("%u\n", min_not_zero(1000, 100));
>
> Oooh.
>
> [ Raises hand, and says "I know, I know, pick me, pick me" ]
>
> min_not_zero() hasinternal variables "__x" and "__y".
>
> And "__cmp_once()" has internal variables "__x" and "__y".
Argh....so obvious now :-)
When I change these it works.
Sebastian