Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4134ybi; Thu, 1 Aug 2019 13:31:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0wEGc+ErS5cpudY3DO5ejB645QmiHb0vBNMRx5cISCvqTf840C4YlCw9TeZvwizpRMFCP X-Received: by 2002:a17:90a:9b08:: with SMTP id f8mr610283pjp.103.1564691489065; Thu, 01 Aug 2019 13:31:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564691489; cv=none; d=google.com; s=arc-20160816; b=XW5f6W5Riud99Zql4cCmVS4KWF216U8zJHwGwsvTQRAkbJZp/e21ozSsu8zEWEI5Jw 66evpVxyZRZWnwZzsLPgDXiagL5js4b2FGxPzdE6ne1a92GolwkgD3N+EBWEiFTC1uxW 8UTJmJnKuw43H6S6dGkUHnqvgt3HqgJ6iYxE7J+yWoIagE0eACa8npsFz+wJKDh8hsGW GJvKeit9UOqv4AZKzFEW48m3xvecwdO55cxfkhZQA3v2EXjYlis8DQRZh87uwVottYpU zhXgFRjUvY5ikqo/KfWhUz8tmbuofvnOMH/c5PumpB0kK/PxdUf0cBKTTCl++PR0gD2z vYsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=+CTTSmBPDmJLnDv7lr7Tv1gKPl7M0xLqhkQkxHgUhQQ=; b=r2QaHGTtWPvg+QaI23MUbxAOI3V4CMCLRUGPaA/Le20eoVyc8oPsUwkCrgbI08kpGU U9doIKzP6HaBpm4817OLm4joxK37H1wMxMG+0HN8qz1F/fMmBzRwO7KbuXHkFozs3Cvc 0fFK7mKN1jD0knjNn3/Yh7wnwp7eZCcpRcZrzqkvH5/pwSiYU/3ngCYJCxl/B1jycOAH Ph2H/YHq4kwGUP6C/eaVFbiMO9QqmoF9vRWxucCqXUj421NzOczwtSNax9reTurjdUtD nFbnVb4ChZXkhMNHTQs2SLH545JuynETTQJbOgjfrcvxWOeQFD1iF8XGIh6Vxq0hFYmu Muzw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z4si35849753pgr.69.2019.08.01.13.31.10; Thu, 01 Aug 2019 13:31:29 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728996AbfHAU2y (ORCPT + 99 others); Thu, 1 Aug 2019 16:28:54 -0400 Received: from mga12.intel.com ([192.55.52.136]:18135 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728271AbfHAU2y (ORCPT ); Thu, 1 Aug 2019 16:28:54 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Aug 2019 13:28:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,335,1559545200"; d="scan'208";a="175366267" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by orsmga003.jf.intel.com with ESMTP; 01 Aug 2019 13:28:53 -0700 Received: from orsmsx126.amr.corp.intel.com (10.22.240.126) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 1 Aug 2019 13:28:52 -0700 Received: from orsmsx110.amr.corp.intel.com ([169.254.10.211]) by ORSMSX126.amr.corp.intel.com ([169.254.4.77]) with mapi id 14.03.0439.000; Thu, 1 Aug 2019 13:28:52 -0700 From: "Moore, Robert" To: "Schmauss, Erik" , Qian Cai , "Wysocki, Rafael J" CC: "jkim@FreeBSD.org" , "lenb@kernel.org" , "ndesaulniers@google.com" , "linux-acpi@vger.kernel.org" , "devel@acpica.org" , "clang-built-linux@googlegroups.com" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v2] acpica: fix -Wnull-pointer-arithmetic warnings Thread-Topic: [PATCH v2] acpica: fix -Wnull-pointer-arithmetic warnings Thread-Index: AQHVPaHylXmfzBauvEybJLDaugeeCqbdV0WAgAneAYCAABE2gP//jYhw Date: Thu, 1 Aug 2019 20:28:51 +0000 Message-ID: <94F2FBAB4432B54E8AACC7DFDE6C92E3B96643D0@ORSMSX110.amr.corp.intel.com> References: <20190718194846.1880-1-cai@lca.pw> <94F2FBAB4432B54E8AACC7DFDE6C92E3B9661CBD@ORSMSX110.amr.corp.intel.com> <1564686979.11067.48.camel@lca.pw> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODI2ZGY1OTItNDEyMS00ZGYzLWFiYjgtOTUzMDk4MzM4OWY5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiakVRcDFSYXhteXJsblwvTnFwZ3ZPcVwvQkJvQjh6bVZSRXBnTmt6dkhsbkViTU11SEl0SkZCY2NpZVU1MWdNbElkIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBTY2htYXVzcywgRXJpayANClNl bnQ6IFRodXJzZGF5LCBBdWd1c3QgMDEsIDIwMTkgMToxOCBQTQ0KVG86IFFpYW4gQ2FpIDxjYWlA bGNhLnB3PjsgTW9vcmUsIFJvYmVydCA8cm9iZXJ0Lm1vb3JlQGludGVsLmNvbT47IFd5c29ja2ks IFJhZmFlbCBKIDxyYWZhZWwuai53eXNvY2tpQGludGVsLmNvbT4NCkNjOiBqa2ltQEZyZWVCU0Qu b3JnOyBsZW5iQGtlcm5lbC5vcmc7IG5kZXNhdWxuaWVyc0Bnb29nbGUuY29tOyBsaW51eC1hY3Bp QHZnZXIua2VybmVsLm9yZzsgZGV2ZWxAYWNwaWNhLm9yZzsgY2xhbmctYnVpbHQtbGludXhAZ29v Z2xlZ3JvdXBzLmNvbTsgbGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZw0KU3ViamVjdDogUkU6 IFtQQVRDSCB2Ml0gYWNwaWNhOiBmaXggLVdudWxsLXBvaW50ZXItYXJpdGhtZXRpYyB3YXJuaW5n cw0KDQoNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBRaWFuIENhaSBb bWFpbHRvOmNhaUBsY2EucHddDQo+IFNlbnQ6IFRodXJzZGF5LCBBdWd1c3QgMSwgMjA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