Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp85894img; Tue, 19 Mar 2019 18:33:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1amR84DTkSNbPivYJ1ev6rJBGlTgMuS7gIeyAxPFpT9hRxjw+vYBUDjLF7tjpPSN2BnW9 X-Received: by 2002:a65:6554:: with SMTP id a20mr4732759pgw.170.1553045632218; Tue, 19 Mar 2019 18:33:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553045632; cv=none; d=google.com; s=arc-20160816; b=bsHttTkoOOhqIjvJZRL1spEpc3lwn6yfPkee8oQ3nmKOUX6LyiIyeoeQPRIMYwYXmM 5PvWl++uNdRpysKbWtbh71OhG0ZlkUvNN0eHfg+VG2A2vRno6E/I6PKquhye6r1vjfhY aGTrDO8j39+XFlRjoYA9Nznr3UJMl3opktbmEhApRHtrIZ8dHgvU0+vOesH7GW2DsNsO jUFCE/P1bvjCCN+AxtaoXhwN+UUPENU+qwETBhkG6DxkkKDn0W10OMJGDp/bYWOkmGlk FelR2jqK8d0upbjTaF6zRVdXzecLkzMrGd5soxn3zGtqDCjcWJqF8n0jt/onEPvj3wHG fOiQ== 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 :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=qSQeThEKPMrpY7CH3uJVXjbCO0Sp5s0mD/77W9hs0xk=; b=gf8rOI4hEcudeglg5uKqZoIhRbIS040efW5LS36IB+45BUyY4iEz/Kqe3kgMIuti0R dDnTo0K/cHjcfOxbeDYEEjdX0e6Ehj5oKXWXCnF/lt4n796LsVJNO8QjoMvtY+6Yh2a+ AuRd6ftswEYLEcKBkw0vjPsy0QV8GrblEvIUy0uJmvSUnS/O1b8OD1G1IF3Ic+knrfyb cW+s4Iavy68cXOp74giQ2957XmCMi6IS/0t4Tfqg0wQdrCyAULacgfbpDvdcgXd/RdhL 2Ki3fVSv3OWEugTFliVZ19cZ/+yBo884Sad4MFSu6nA57uPrdwwvDQJOLkm9+sCd4xmZ DVhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=KqGJO9Fd; 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 g2si539978plo.354.2019.03.19.18.33.37; Tue, 19 Mar 2019 18:33:52 -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=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=KqGJO9Fd; 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 S1727304AbfCTBbd (ORCPT + 99 others); Tue, 19 Mar 2019 21:31:33 -0400 Received: from mail-eopbgr720076.outbound.protection.outlook.com ([40.107.72.76]:48232 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726686AbfCTBbd (ORCPT ); Tue, 19 Mar 2019 21:31:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qSQeThEKPMrpY7CH3uJVXjbCO0Sp5s0mD/77W9hs0xk=; b=KqGJO9Fd9LjFucf7wlOSPT35/uqlUQqrffCDIX1OCxPHxdzpicSbwAwc80wqzuv0jYY6b4YIsvNRIQGOOPiYfUmoWVQFRL6kHFxbIiqeccTI1Jn6YsyfJ/NFoVaiOvZHpMKEToDVSBXiIca1KDEfmcapHnTHLc7HUFQXLqMfeUw= Received: from SN6PR12MB2800.namprd12.prod.outlook.com (52.135.107.150) by SN6PR12MB2815.namprd12.prod.outlook.com (52.135.107.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Wed, 20 Mar 2019 01:31:27 +0000 Received: from SN6PR12MB2800.namprd12.prod.outlook.com ([fe80::3d38:28e0:e1b5:215b]) by SN6PR12MB2800.namprd12.prod.outlook.com ([fe80::3d38:28e0:e1b5:215b%4]) with mapi id 15.20.1709.015; Wed, 20 Mar 2019 01:31:27 +0000 From: "Pan, Xinhui" To: Nathan Chancellor , "Deucher, Alexander" , "Koenig, Christian" , "Zhou, David(ChunMing)" CC: "amd-gfx@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , "clang-built-linux@googlegroups.com" Subject: RE: Clang warning in drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c Thread-Topic: Clang warning in drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c Thread-Index: AQHU3rdvxNmFG67CBEah8A4XIlBblqYTucrw Date: Wed, 20 Mar 2019 01:31:27 +0000 Message-ID: References: <20190320005406.GA16412@archlinux-ryzen> In-Reply-To: <20190320005406.GA16412@archlinux-ryzen> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Xinhui.Pan@amd.com; x-originating-ip: [58.35.10.124] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a2fa6b77-d5c4-4d44-2283-08d6acd3c5e7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(4534185)(4627221)(201703031133081)(201702281549075)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:SN6PR12MB2815; x-ms-traffictypediagnostic: SN6PR12MB2815: x-microsoft-antispam-prvs: x-forefront-prvs: 098291215C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(396003)(346002)(376002)(366004)(136003)(53754006)(13464003)(189003)(199004)(14454004)(2906002)(72206003)(106356001)(66066001)(105586002)(478600001)(8676002)(110136005)(54906003)(25786009)(229853002)(7736002)(81156014)(81166006)(33656002)(316002)(8936002)(6116002)(3846002)(446003)(6246003)(6636002)(5660300002)(76176011)(71190400001)(53936002)(71200400001)(86362001)(476003)(11346002)(97736004)(256004)(102836004)(14444005)(53546011)(6506007)(305945005)(99286004)(7696005)(52536014)(55016002)(6436002)(4326008)(486006)(186003)(26005)(68736007)(74316002)(9686003);DIR:OUT;SFP:1101;SCL:1;SRVR:SN6PR12MB2815;H:SN6PR12MB2800.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: vdC+YCzG7o77H4xH+U/ADSAoCc52EdkhGI44SMR41aqbbido8CyrmZU2jcpIdNM5nATbCt5zbPqPq1GNJH8WUbeupjo0S4QnUfRvztya6eavM1d46bkSASqrtgwm60tHYsaGu23Fr+OajuCAE0YWpvcnhMMkoY1wn3XW8o5YL0Y/dLBWuDOTFcShMA9rYPoe4EF3I6z+XM484Jlp0r/LEfGxBk23Ii+kHyoz95CLsNyQK6F+bO7+D5EqGVGnbLf7AUUdKQMcKPge/ePiyQ5ODYZyYOPKPfnVyAN2+OAMxrJiVqhO2d8wls1E6p6whkk6FydB8aCA9/IM9rsMC3gKRgddHb7TyDbCtL3KEuhp1jXA0ZeW/466TWPeDxwM74v3NxFiK2g30VOMc50v86cGXeheYqgstozSS/rOhrdONUY= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: a2fa6b77-d5c4-4d44-2283-08d6acd3c5e7 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2019 01:31:27.6639 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR12MB2815 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org dGhlc2UgdHdvIGVudW1lcmF0ZWQgdHlwZXMgYXJlIHNhbWUgZm9yIG5vdy4gYm90aCBvZiB0aGVt IG1pZ2h0IGNoYW5nZSBpbiB0aGUgZnV0dXJlLg0KDQpJIGhhdmUgbm90IHVzZWQgY2xhbmcsIGJ1 dCB3b3VsZCAgLmJsb2NrX2lkID0gIChpbnQpaGVhZC0+YmxvY2sgZml4IHlvdXIgd2FybmluZz8g SWYgc3VjaCBjaGFuZ2UgaXMgYWNjZXB0YWJsZSwgSSBjYW4gbWFrZSBvbmUgdGhlbi4NCg0KVGhh bmtzDQp4aW5odWkNCg0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogTmF0aGFu IENoYW5jZWxsb3IgPG5hdGVjaGFuY2VsbG9yQGdtYWlsLmNvbT4gDQpTZW50OiAyMDE5xOoz1MIy MMjVIDg6NTQNClRvOiBEZXVjaGVyLCBBbGV4YW5kZXIgPEFsZXhhbmRlci5EZXVjaGVyQGFtZC5j b20+OyBLb2VuaWcsIENocmlzdGlhbiA8Q2hyaXN0aWFuLktvZW5pZ0BhbWQuY29tPjsgWmhvdSwg RGF2aWQoQ2h1bk1pbmcpIDxEYXZpZDEuWmhvdUBhbWQuY29tPjsgUGFuLCBYaW5odWkgPFhpbmh1 aS5QYW5AY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