Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp104119imu; Wed, 7 Nov 2018 13:47:05 -0800 (PST) X-Google-Smtp-Source: AJdET5er5O3wAT794gVFkdKmu8S4Bl1SNmUqqNIbHicSJltAoVrgOkcyGOtrxyLlVqGb77bMY7/T X-Received: by 2002:a63:6445:: with SMTP id y66mr1723050pgb.250.1541627225635; Wed, 07 Nov 2018 13:47:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541627225; cv=none; d=google.com; s=arc-20160816; b=NobMjRQ1hmiFnTjgKMbNLCYEGieWFwhWbH19ZKxaCH6d+tcTsxx6gPegX5M27SdSJF xaXlgBexAeuGEO1vydMg/CG4dmcsP3NzPy05X/0LTjt/jxRE+EcI/0NzRAxqvwG6/Ik9 Urra5INTqOjaCcraloB/4mAnOXmnCeeijtr0PeqLF2RkLHe8FS63A3vrS/fhUq0qnAQP SlNhs0GJghSC+XjEUe2wwBJFX4y9Y1ivT9bLfqCt0UNgxYwRQZkIjh15bZGrTf9CpWYP 6nLACMN55GOdh3JZfEfICv0WfIdThouZe+8iJjZ148xwT90L1OhBFYYhEfqpCOs/34PF z0Aw== 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 :in-reply-to:references:mime-version; bh=Bl4XBzChAiSJPUt2k5QMhkayMvCShYfg/vrTQSrWxCc=; b=QogDqyc1xH4b12YDwepp961IoUPE7MerMHimlGX0x1kfMh8d2xMYhfI0Emw9y3039s FJu8aXj67oGovnlaqzXwjVDcNbxucb8anJWxW4VWIZw5vPrPZTp5s43QehoQ9XTXF0mM km+On+zqEj05/Y/KI2jy7wdQ798lSMhV39xUU52XTrPRpn4bQPUGknvV19ArobYPIHrq I0BKuI1HE/3yHhtIGLF+jQfBDq+tZ2lMZQ/WQ4jWobFQU3ukMSLQYieiKR6PR58PoCf8 Ds6diq3V4VNUFf7vR3LAh0xXAGJT8XEZv+ZrBAZHu/JkTNloJ+1uKjak2MMDIuspsh0f Ywcw== ARC-Authentication-Results: i=1; mx.google.com; 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 30-v6si1966848pla.56.2018.11.07.13.46.50; Wed, 07 Nov 2018 13:47:05 -0800 (PST) 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; 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 S1727136AbeKHHRT (ORCPT + 99 others); Thu, 8 Nov 2018 02:17:19 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:46743 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726653AbeKHHRT (ORCPT ); Thu, 8 Nov 2018 02:17:19 -0500 Received: by mail-qk1-f195.google.com with SMTP id q1so23088616qkf.13 for ; Wed, 07 Nov 2018 13:45:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Bl4XBzChAiSJPUt2k5QMhkayMvCShYfg/vrTQSrWxCc=; b=FkUcJ5L7cLRfFdmLPtTiggzxzR7VmjZzi3eQq+4WVP1nIX9p6nywW2VIiIlvD711TT 9VlCtDmo1UqNjJ95/depACgqUskDmE8/Pia0TOTtH81XWPBD3ePHAQD2Z0M/oa5u3iqB 0+fPJ7pbWUVgZMDm2vvFCB+D2GD1gfBnGVbzvUur7ANK2wbu5EkRaT/wITIbxPxE/r6v BcK69TiHXtOd8e8a/CU89eIjAAieY5jeaKatAyxRHoup/ZBdLRPOBNd/RjfWtiE5O3QB MeZX85QAD2qBs8EOAlt5ZKxuI5f10UDFMv/L95WrrBvkFMNraemejY8qfLfIzDN8/0Xg hGPQ== X-Gm-Message-State: AGRZ1gIaW1TUlHG72c5N24JVuO8GitD7mbcQMcT+NeBHJXIIAN65FusF g+VyMCbAeRcdaCirCJY/RN64C0WOb/54ExWhYS7WDg== X-Received: by 2002:ac8:410a:: with SMTP id q10-v6mr1919392qtl.96.1541627102347; Wed, 07 Nov 2018 13:45:02 -0800 (PST) MIME-Version: 1.0 References: <20181107144516.4587-1-aryabinin@virtuozzo.com> <20181107125517.b5677f03a9a1978a5d179c9a@linux-foundation.org> In-Reply-To: <20181107125517.b5677f03a9a1978a5d179c9a@linux-foundation.org> From: Arnd Bergmann Date: Wed, 7 Nov 2018 22:44:46 +0100 Message-ID: Subject: Re: [PATCH v2] ubsan: don't mark __ubsan_handle_builtin_unreachable as noreturn To: Andrew Morton Cc: Andrey Ryabinin , Linux Kernel Mailing List , Olof Johansson 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 Wed, Nov 7, 2018 at 9:55 PM Andrew Morton wrote: > > On Wed, 7 Nov 2018 17:45:16 +0300 Andrey Ryabinin wrote: > > > From: Arnd Bergmann > > --- a/lib/ubsan.c > > +++ b/lib/ubsan.c > > @@ -427,8 +427,7 @@ void __ubsan_handle_shift_out_of_bounds(struct shift_out_of_bounds_data *data, > > EXPORT_SYMBOL(__ubsan_handle_shift_out_of_bounds); > > > > > > -void __noreturn > > -__ubsan_handle_builtin_unreachable(struct unreachable_data *data) > > +void __ubsan_handle_builtin_unreachable(struct unreachable_data *data) > > { > > unsigned long flags; > > This code has been here since 2016 and presumably people will want to > build older kernels with newer gcc's. So I'll add cc:stable, OK? > Yes, sounds good. Thanks, arnd