Received: by 10.213.65.68 with SMTP id h4csp2860603imn; Mon, 9 Apr 2018 10:08:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx49v0qqPt4zr8kI0MGYA/Kqv0a6LgsH5jl+JLEETm7A//1MzVmdg4nbz1Q0zQvJYiqfOpqmL X-Received: by 10.99.142.201 with SMTP id k192mr25660488pge.278.1523293694815; Mon, 09 Apr 2018 10:08:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523293694; cv=none; d=google.com; s=arc-20160816; b=w2294xcYR0Na6YBS0sxsFDTo//EserAS+obOmj9SrPUBHterglX7XnKms0suDS9lDn CJWxDOKFzpjNBeEsFz6N08q5qRjwPg0eYtKmcJCd/LGd0f4i8RrGlS+nxdHzCS+Q/PfD jKg/JuZPSK0fTCCUk1xuOCvlE5UcJE+KAT5LXxKRuN8f3NCVxRzLmqTbUZ+kr/wNMJX7 KjKpjmijvOwFPu7U+s/Une4M2QGYJ+p+RcnVItTHCWr2A8xD0TozanHx2eKhoN9zBV11 A+utrViQrrf+I3EwEgctnbOEvDiO4XlYeOBJkQhBeUuc3HY/U5v4D+dVSPyOxJIdnkl5 CH1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=ym/piYDFx9Zg7D2gujUwLDbE9MUrBNkdjidPd7RtGbc=; b=Qc5gWT9WvM+tT8WrcsAxZTMx9Ve1Z0p3kn6RuucQcSTtVB6wlKBS+P/6VnNxX92BcO Z2WBiDdYHYiHq0gdcklZrh2DeMRQuw+bIH+1CQyurH2ECFHouwCVJ/nEwbc6G7BoHG0d xmD4Bx4fUOdG9UnW5GoeSu5pafz/zxuWRGkG6rSkIm8efEuU6SVi3069a5j+WwqRtprT h0xDkhm1/uGqhi0vGlvDQAQdzn+jvc7qSAUZl0sS/q7sAw+4D89GKAOMNavJx5VznG0N Su8c1xrD3r7Dk3d9JDtiobdHb4OJbDZnQYzaDvwiXJ1pSG3Eo3jVC+jMxAuZCqt2jIuG ocIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=N3/VZgkT; dkim=fail header.i=@linux-foundation.org header.s=google header.b=ETqJyQZS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s198si438833pgc.151.2018.04.09.10.07.37; Mon, 09 Apr 2018 10:08:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=N3/VZgkT; dkim=fail header.i=@linux-foundation.org header.s=google header.b=ETqJyQZS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753837AbeDIRDG (ORCPT + 99 others); Mon, 9 Apr 2018 13:03:06 -0400 Received: from mail-io0-f181.google.com ([209.85.223.181]:38208 "EHLO mail-io0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753150AbeDIRDF (ORCPT ); Mon, 9 Apr 2018 13:03:05 -0400 Received: by mail-io0-f181.google.com with SMTP id b20so10445504iof.5 for ; Mon, 09 Apr 2018 10:03:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ym/piYDFx9Zg7D2gujUwLDbE9MUrBNkdjidPd7RtGbc=; b=N3/VZgkTgIRSlTFg+NY22CB6uMgHaYrAwa0mi+QlCtUqLjXIOfXMk4MLVfCpv8foK/ q8gr1G48oPtio3iai7Spm2Dmzyv9fGZzh5/Eg1+NQrMsc1XcsCz/UGBlXd+gMBnE+8MH c3iOOFEmHKu2q56g386xJwVDTfEI80m9WbjKrdjfZJqyb+IyhZq2ukg1QeiNudXlWZOx UvAbbp7XSB58axXMr4CKdOf2BlazpainLavMvJP9aKg5oTzTKodBHw7Q69cxdQfNbnY2 BnkaYKHIH4RXNP47XUhYJKM3YXP97bLfL+JP59smtq0J7ZVA4OhlJx6uxf0Hw+M1bSid PLog== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ym/piYDFx9Zg7D2gujUwLDbE9MUrBNkdjidPd7RtGbc=; b=ETqJyQZSpkA4kKezdnl9KYY+4tkZr9StMmMX9RriYzASHrF1xSjDqFcJCEsGXA70Xz IiL6o/m8E1llZc8OV2HZt8iarTqOpwoQKKC2hVHczPYnb7SYvkxOiZRfCuQF8yWg5nWk L01UU+YY2F1k9juuZHfzNVOszBn1LVZa0FThU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ym/piYDFx9Zg7D2gujUwLDbE9MUrBNkdjidPd7RtGbc=; b=pO4EWN0CZhIrIVCAtvtdI8dum5LQn9etXdCS+tyOdjGlz13g7dPu77fuFZS+tQP6eV adWcPgWICltFRhSH4EvJQko0ZjeVmCDHdTFgSQjPPGNZCkXaDNH6AhV1RsXqZ+zVM8pq DL4ciRUKk+dm5RIdH9qBlG49khGbDNlKqVLePF8UR8RuvvkQCKnzRZU2BQaH29nHgTBx jaFGvDEzY1Caentr6xfOJbsT4ZAKC2E7dm+tWIgFSPqAtUEIF+PD19N7otLlpbrZF/qB VKQAif1Q5LMD5FV46ue+iSWZVsnplPyO1Fva+UgW80Y41a2254N+cciq0yuHxhn1u/qe 4H4A== X-Gm-Message-State: ALQs6tDG73NABQui0IVW7IunJzrqy1fbvYDMy5h2xsTz/JEZ2L9jN3Zj LklvO3mY4IbAtY5R/xtdLnYeuoHjSDZgrEr0joo= X-Received: by 10.107.10.219 with SMTP id 88mr37407171iok.259.1523293384360; Mon, 09 Apr 2018 10:03:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.95.15 with HTTP; Mon, 9 Apr 2018 10:03:03 -0700 (PDT) In-Reply-To: References: From: Linus Torvalds Date: Mon, 9 Apr 2018 10:03:03 -0700 X-Google-Sender-Auth: sSVk19khLXCzw06ZnOzLLFiblyQ Message-ID: Subject: Re: [bisected] 3c8ba0d61d04ced9f8d9ff93977995a9e4e96e91 oopses on s390 To: Sebastian Ott Cc: Kees Cook , Sebastian Ott , LKML , Heiko Carstens , Martin Uecker , Ingo Molnar , Miguel Ojeda Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 9, 2018 at 9:18 AM, Sebastian Ott 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