Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7559656rwi; Mon, 24 Oct 2022 16:48:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5gxz75Aqp8gESOkkW0ZYXTqngF6vXVA5Nmb3mwLD16yHlEED3WqEsV2vjuy5CzfXo1Ohuj X-Received: by 2002:a05:6402:414d:b0:451:73f0:e113 with SMTP id x13-20020a056402414d00b0045173f0e113mr33501310eda.207.1666655281973; Mon, 24 Oct 2022 16:48:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666655281; cv=none; d=google.com; s=arc-20160816; b=Uiae+DzuMBQxwQTQC+5ZWriaZWyBjBOUL+XZLhn3uYZtjrdFxvTF89MpH11Z3xCB3A vYd+s1x9dPd9ivwcBdAa9NQQsGF5eeP+ydRSpeaoUYy7Wox4sGysVw3WJJ8A8M/PGOxm u3tfycuNQnh8TBRhU3X+RtNu9q1PsH/aUCWnSEy2P0Zrpwwo1fVPTu2kUmAnolNB0XT9 o3nZTDRC+ZBqbSjlNtS43LvlxUD9sAlLrznm3ZyzDEel6sQIaraBSctCeCYB/+zt6BSW NONGYd4XQaPaOyra6PivhiJs6OZLoXUuSkmKuPPCmFyxEFBX9oThHglXfWVTWDn5BC2Z Mohw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=sLb+tpNlS8wz/KvWAh2g0zCftuEOFP8AEbNuph1z/nM=; b=xfvLpk/On8wGIqcS5mYEiK7Qs0MmhQyxbDLlQffJ7z2NaqH0mnLkpEl391rimfT/bp TDWROmekcnq5FoZZ5yFNz4KiGMLlI7FvALuAjri6dB/Cc2tnwa2sghOYfIn8w8C76Z4h E7xINzC+JW7P7qgykpEx4g6uZIJeAkzud/SlhT9uIcMxkRQk1WzBWH0qhX+Sl75w5rw2 ovn5bqr2zQJ5RdnjQuOgFJJwK1TN3QSVTZOUdH2LKBNedhxXOr5ZvRY5xmQ9yq3NDkjG g77B0A2ukriUZ4KNVrcJCftUle5FHUvHE8B6mA5ieKE4ZQf/f+ymPFvR0EHjeC+Xka/P eHXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt3-20020a170907728300b0079dccbbf0c0si1147699ejc.146.2022.10.24.16.47.36; Mon, 24 Oct 2022 16:48:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230310AbiJXXEi (ORCPT + 99 others); Mon, 24 Oct 2022 19:04:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231857AbiJXXEB (ORCPT ); Mon, 24 Oct 2022 19:04:01 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44C782D8732 for ; Mon, 24 Oct 2022 14:25:10 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mtapsc-8-QO35gdfgOYKQaXrkZ7Sh9w-1; Mon, 24 Oct 2022 22:24:19 +0100 X-MC-Unique: QO35gdfgOYKQaXrkZ7Sh9w-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.42; Mon, 24 Oct 2022 22:24:19 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.042; Mon, 24 Oct 2022 22:24:19 +0100 From: David Laight To: "'Rafael J. Wysocki'" , Kees Cook CC: Andy Shevchenko , Greg Kroah-Hartman , Sakari Ailus , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 1/1] linux/container_of.h: Warn about loss of constness Thread-Topic: [PATCH 1/1] linux/container_of.h: Warn about loss of constness Thread-Index: AQHY59EzH4qdMwC1Yk+S6+0KOnujn64eCxPg Date: Mon, 24 Oct 2022 21:24:18 +0000 Message-ID: <4218173bd72b4f1899d4c41a8e251f0d@AcuMS.aculab.com> References: <20221024082610.74990-1-sakari.ailus@linux.intel.com> <202210241035.1487F523@keescook> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] 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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogUmFmYWVsIEouIFd5c29ja2kNCj4gU2VudDogMjQgT2N0b2JlciAyMDIy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