Received: by 10.213.65.68 with SMTP id h4csp2871797imn; Mon, 9 Apr 2018 10:19:01 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/1Bv8Ddrd5/SgwKgSbJ2jMQnf+gxgQyHVzjPMBW60jCgYd3n8OVh/FuL+VZt4EDEyjYubh X-Received: by 2002:a17:902:8c83:: with SMTP id t3-v6mr40028146plo.391.1523294341521; Mon, 09 Apr 2018 10:19:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523294341; cv=none; d=google.com; s=arc-20160816; b=OPIbZ2bhdOZq7MwnnZm04KiD1PMRnjoSfSBkghoWRNchVjIRNuURi3KSV4HE2T2mMj 2lYHq8RgdegIGBsJKA7Kik9+XDq4A9j2SStTgm3eo13zCMfQwPKcfoEHS9iG+TlRcdqK 5hxFKKeSX2DwlC0/Z/phSZuXTEa7l7DxC9n2SbhEwzjy+Nlfes8Td2bDUfwzMinRojZY 0fGbHlAalpoSFQrGEnEYuIIk1bocx4KO1vi3RTt3BBcGofK7MISeYS2IUpUv9xQAivhk VXIQDE+eRc1xIE+xqUfWnwpqs2amGyXGWd86ZrG6kHzChouacIvcJY4bkjwIsD/rzZHt YaUg== 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=iOTNcZCE1Mq5JAgJQSF96fKw0mw7v5EIorxbb01wHwQ=; b=GUnYzkxUCn8MTaZ2pXo2NbPBhp9osycC6mYAQGXfHj/2i7l8C7ssnwo0fEgH+4JKBk MjZXko0USxirQSB4qfzFBKGekAeDSWTIB2ALNDK2s2FAwhBx4w7pP6708x/QJ+4noHMK Q6IosNBDYmJKYzC8VsywgpuBPQ9oeD9UutfkpdWBfsTkrNFMpQy9251LYJexgG+FWj1/ cUWpByQY3culI7eN3k1AqEqJt6l+js+dkB0tKW0pDLZiZjOxhmF9Ir+Jyv7X8S2K/d4f ksOOdllg9f3KulK4wSQy6FYDDx86fP7RTmsvHDMOV45DnjfCOUf+eGv5irC4d+4+tih3 W52A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=lcDleMmk; dkim=fail header.i=@linux-foundation.org header.s=google header.b=WAJytU1e; 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 i7si465749pgq.583.2018.04.09.10.18.23; Mon, 09 Apr 2018 10:19:01 -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=lcDleMmk; dkim=fail header.i=@linux-foundation.org header.s=google header.b=WAJytU1e; 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 S1753944AbeDIRO3 (ORCPT + 99 others); Mon, 9 Apr 2018 13:14:29 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:52788 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752883AbeDIRO1 (ORCPT ); Mon, 9 Apr 2018 13:14:27 -0400 Received: by mail-it0-f68.google.com with SMTP id f6-v6so12049483ita.2 for ; Mon, 09 Apr 2018 10:14:26 -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=iOTNcZCE1Mq5JAgJQSF96fKw0mw7v5EIorxbb01wHwQ=; b=lcDleMmkekSHseNrU5bpGoCRxaxYqF7KfaQu/evGKHpBHGPLP0D0eSKpbS8Zts78Lc QSa6DSo2HOTISdXOD0+o5M9LSmfZgI3Q2J/rHBNmurAfF5Ueg7E2RtyeG9sTeD6NYmgh S8gOZIkYYJdIEAEDcpBrZlDj6WdEXiTlTQnvrqX3D6fxBbhT5RFb2CZnT8GUqlMM8Df4 LHdUJd9vPceXFiBOPH99FUinoJy9mLBulQ0TcR+HC6TWV8cPB/o9wkjarcbSReF/jJYn qsYBGZcVIvObsOJDEUb1pv2W0n1v/8UyWgGKwYhvprdWPjYDIFR4QE4DStnJitzvP6Bl uRmg== 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=iOTNcZCE1Mq5JAgJQSF96fKw0mw7v5EIorxbb01wHwQ=; b=WAJytU1epYU7l8VwyVk0WZ03WjmurBhP1XQyrMp2gUq+CvsoHcACLqc3PKjajFNii7 q2gkpKrpCxaH2eSBRCXmbxOIZZLShI5LbdDNXlA8/nZKzhb/09w3yT4I78w3aj+ajgad nYXqIyMRTZ53o4Wuq8FXywIjLNyo9OOCWPlQE= 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=iOTNcZCE1Mq5JAgJQSF96fKw0mw7v5EIorxbb01wHwQ=; b=DXl8S/NP7Tw1qIS+hv//KZX93LdvEtE0vemgxq6rjea0vCT6d2qs2ASKSm0JOFH2k9 WOjbJeEJpGQc8bnfD6BMEYElhNdZSTT3h3B39kHjsjMww8zSSSa+IyAQAuEpymDVTjSq mejfwxltkGOPsgfT3TVahJJfyZs4Xng8rjndi4B0AoGMjGpn0qNnfLmyRneSwzbhA0Jv arfRHggfNXELghTyFWJEf2F0jqPnuN1cyXazl14Zpz46kHVTb0OuCtjza23cc0A0W5wG E9Ny0BmwvGtgtZKDVNyyO2kjLD7prrBo6jUAenEZRliHitnXn9EhbFca5AKby23uDgOn D0IA== X-Gm-Message-State: ALQs6tBXB7MyRK2DtnkkwTpdHZAMCPVO/4eAbAVz+r0Xe56jfyygFoUv MW60yC2JPcUZSZfVNztZBo+bkc/AYjomxxWcnHs= X-Received: by 2002:a24:5b02:: with SMTP id g2-v6mr968623itb.100.1523294066201; Mon, 09 Apr 2018 10:14:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.95.15 with HTTP; Mon, 9 Apr 2018 10:14:25 -0700 (PDT) In-Reply-To: References: From: Linus Torvalds Date: Mon, 9 Apr 2018 10:14:25 -0700 X-Google-Sender-Auth: EPQm1K2UT7wWGoJcQmAPdfJT6jY 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: multipart/mixed; boundary="000000000000b484fa05696d89e5" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --000000000000b484fa05696d89e5 Content-Type: text/plain; charset="UTF-8" On Mon, Apr 9, 2018 at 10:03 AM, Linus Torvalds wrote: > > Our old "min()" had the internal variables called "min1" and "min2", > which is crazy too. Actually, no, it used the really cumbersome "__UNIQUE_ID" and then passed that odd as the name 'min1/2', Ugh, I find that really nasty to read, but it was obviously done because we hit this before. And our __UNIQUE_ID() macro is garbage anyway, since it falls back on the line number, which doesn't really work for macros anyway. But we have proper macros for both clang and gcc, so maybe we should ignore the broken fallback. A patch like the attached, perhaps? Linus --000000000000b484fa05696d89e5 Content-Type: text/x-patch; charset="US-ASCII"; name="patch.diff" Content-Disposition: attachment; filename="patch.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_jfshydrl0 IGluY2x1ZGUvbGludXgva2VybmVsLmggfCAxNyArKysrKysrKystLS0tLS0tLQog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