lkml.org 
[lkml]   [2018]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [bisected] 3c8ba0d61d04ced9f8d9ff93977995a9e4e96e91 oopses on s390
    On Mon, Apr 9, 2018 at 9:18 AM, Sebastian Ott <sebott@linux.ibm.com> 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".

    When min_not_zero does

    min(__x, __y));

    that expands to crazy stuff.

    Out old "min()" had the internal variables called "min1" and "min2",
    which is crazy too.

    Linus

    \
     
     \ /
      Last update: 2018-04-09 19:03    [W:3.281 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site