Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp300118lqg; Thu, 11 Apr 2024 03:28:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW1PxODH+Y+BQd9OGI2jWHWrQwQtX8I8RrRSV2kSrxb/0QTj3wW3J1fz2WmJR0t9wFUgd45EkI2aKB8xKf6e8dfsUCok7Qy1yb8EohLKw== X-Google-Smtp-Source: AGHT+IFDoYB94zRzO2B9W0up9CEaT/+TlZPB4sByE4Wo0Lc40Ur1YobO0HKf01zeO5z6UYfVX8a+ X-Received: by 2002:a05:6a21:3e0d:b0:1a3:66e2:f2e1 with SMTP id bk13-20020a056a213e0d00b001a366e2f2e1mr5233158pzc.28.1712831293902; Thu, 11 Apr 2024 03:28:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712831293; cv=pass; d=google.com; s=arc-20160816; b=Fl7lQPRUnPGD0yErpv6shMD4W1uJpGAQqsezYU5zOzvKdkUZgZSk1rNFF9aAfJwWg/ pRlTj2y2AG2fI/FGwELsiWaExi8F4qQOMr01kL1UntZ3T7gX1gSxU3yh+z13KPqN84cd 1qkWWR7SbsD1vL64XsBTvvanceK/t65xdD6uONm6PN3xhxJKKSQnbCgOzXgFFUFWd5+4 Y8FLp34lq771otg9NjJ6CXPBIhjSEnAGO33bnmqoiCTBlQodWU2tCQiC8gUMfIw5Fjq3 qqsPRdSlVqqAbciN1EHIEeyG6unNkY3PVld1Kwy9+WzLAoKnCku5lS58xcG/+Fd2H1Tg /z5w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=S8CuP0uAJf1JsvKaTi8HzyGFRr5zKo+GObz4MF1+pT8=; fh=7ZMVfP9pgLZ7BJCq3WPWnr5vdBqE6VW6877Yi+74cP8=; b=XhcpIsYSt0deLA4gLvOenA2y83OMo6OWrY/s+DUYXf/Rv7x47DyOhDzY9AA/1ZDLZo aFTYzLFNObo/duvLA2Dp2qm9o9ECNJeZIfcscgPriAnZrwSdgqhJ/SthxtkUj45eGPpY Hxnw7eJqp8oJt4H5WPr1GKqwRgorzMdYSPCM6Lx7rUjspmcKjovx82roJwSsMZWBr3uD EW4+L4+MM7xJkkg0DlUE56BPDXJVr0SIJ1FX6EKQ8SCC12ijTupkYdSvdZS4hBIShvkY 6An3YL9kfODO402wXOrvrmGAu8sHuaJF2+ZHzY0mx10Zw2aRovaHBUZKh6HVFrAzizZs hsjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-140240-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140240-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d6-20020a17090ab30600b002a5bccc1b7csi1184920pjr.176.2024.04.11.03.28.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 03:28:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140240-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-140240-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140240-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8ABD2281BFB for ; Thu, 11 Apr 2024 10:28:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1AD51146A8C; Thu, 11 Apr 2024 10:28:07 +0000 (UTC) Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8FDA914600E for ; Thu, 11 Apr 2024 10:28:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.58.86.151 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712831286; cv=none; b=Lul7SuzViZXvEjaR1v8h+uJqxDDFpN2NfAk75j+8BFGDtvXFE6pPhF6f0rXcv3t0Ju8N37xXxKOywgNoNsZYCgkxRJfEXbHqGAz4x4ZV/oh6ucR1n3Wc5lcxdc7Z9hOvinQguZ/a/71e9l/nBRfzyfVqrzdt9P2p3k+4gldJffo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712831286; c=relaxed/simple; bh=S8CuP0uAJf1JsvKaTi8HzyGFRr5zKo+GObz4MF1+pT8=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: MIME-Version:Content-Type; b=ssnc45VSGaO3zL1kl6b2DS+PbDkdA4E5Fytt40PHbpmgJUjsyehRzpcIMib1/UuU4i/bcClMMYPw44XT87CNz5Vw1RjTrnVRTz19Li4FyIGg3oApEJdKPlCmMIIx2bhj8EP8UNF/Ll1h4tz2gP0sZjMqsAdhELFsDr4nafwADa4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM; spf=pass smtp.mailfrom=aculab.com; arc=none smtp.client-ip=185.58.86.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aculab.com Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-37-dtAk8lfNPqaLMtFIigBSZg-1; Thu, 11 Apr 2024 11:27:51 +0100 X-MC-Unique: dtAk8lfNPqaLMtFIigBSZg-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 11 Apr 2024 11:27:23 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Thu, 11 Apr 2024 11:27:23 +0100 From: David Laight To: 'Adrian Hunter' , Arnd Bergmann CC: Peter Zijlstra , Dave Hansen , John Stultz , "H. Peter Anvin" , Alexander Gordeev , "Vincenzo Frascino" , "linux-s390@vger.kernel.org" , Naresh Kamboju , "x86@kernel.org" , Aneesh Kumar K.V , Ingo Molnar , "Naveen N. Rao" , Christian Borntraeger , Vasily Gorbik , "Heiko Carstens" , Nicholas Piggin , "Borislav Petkov" , Andy Lutomirski , Bjorn Helgaas , Thomas Gleixner , "Anna-Maria Gleixner" , Stephen Boyd , "Randy Dunlap" , "linux-kernel@vger.kernel.org" , Sven Schnelle , "linuxppc-dev@lists.ozlabs.org" Subject: RE: [PATCH] bug: Fix no-return-statement warning with !CONFIG_BUG Thread-Topic: [PATCH] bug: Fix no-return-statement warning with !CONFIG_BUG Thread-Index: AQHai+8rQSO3zfnELkWMcaajEoNC87Fi2ofw Date: Thu, 11 Apr 2024 10:27:23 +0000 Message-ID: References: <20240410153212.127477-1-adrian.hunter@intel.com> <87be83da-6102-483d-b1dc-a77eecc9f780@app.fastmail.com> <0fd5e869-720f-41bb-9f0f-c0f3925ffc1b@intel.com> In-Reply-To: <0fd5e869-720f-41bb-9f0f-c0f3925ffc1b@intel.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 RnJvbTogQWRyaWFuIEh1bnRlcg0KPiBTZW50OiAxMSBBcHJpbCAyMDI0IDEwOjA0DQo+IA0KPiBP biAxMS8wNC8yNCAxMDo1NiwgQXJuZCBCZXJnbWFubiB3cm90ZToNCj4gPiBPbiBUaHUsIEFwciAx MSwgMjAyNCwgYXQgMDk6MTYsIEFkcmlhbiBIdW50ZXIgd3JvdGU6DQo+ID4+IE9uIDExLzA0LzI0 IDEwOjA0LCBBcm5kIEJlcmdtYW5uIHdyb3RlOg0KPiA+Pj4gT24gV2VkLCBBcHIgMTAsIDIwMjQs IGF0IDE3OjMyLCBBZHJpYW4gSHVudGVyIHdyb3RlOg0KPiA+Pj4+IEJVRygpIGRvZXMgbm90IHJl dHVybiwgYW5kIGFyY2ggaW1wbGVtZW50YXRpb25zIG9mIEJVRygpIHVzZSB1bnJlYWNoYWJsZSgp DQo+ID4+Pj4gb3Igb3RoZXIgbm9uLXJldHVybmluZyBjb2RlLiBIb3dldmVyIHdpdGggIUNPTkZJ R19CVUcsIHRoZSBkZWZhdWx0DQo+ID4+Pj4gaW1wbGVtZW50YXRpb24gaXMgb2Z0ZW4gdXNlZCBp bnN0ZWFkLCBhbmQgdGhhdCBkb2VzIG5vdCBkbyB0aGF0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