Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp380257img; Wed, 20 Mar 2019 02:38:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+Umni02/wnfOvIpDFEWhp1fOsri03ScwgZoR/smSmrXqyeur1FzuZj7ZSXaKnCsr7ThP2 X-Received: by 2002:aa7:83ca:: with SMTP id j10mr29441474pfn.50.1553074686928; Wed, 20 Mar 2019 02:38:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553074686; cv=none; d=google.com; s=arc-20160816; b=mcfKHwh92HXKRbQdsq/vh6AZLYQafFRrkS15fc2eAqoi773BfCFJb0L3jvD6uKkjum EvBPQLiM1xezfrWa6ptUzzLoJoqp9GiIUNbI2O0UW8IEPCYCHLiShMuNkc9Z0WmRSPZF FyC6JicdjwBhN+g9BjS2GhfycXM/R8SBD0K/RpZKmV+pNBiUO1Qd6/UNVfs8OiU9hGcH FcPlSFsHKRSNXXh6ybTa/+RMZSgPA9YuZt4GdLHl+MLkOCAbjSXujWy8PyJ95zAaqGO4 uFTpl3+YNn00veZRa1wPqMrA8oOH3K6rfMPXg5Xh1AyEyiZLZoxsflDkmCTkmjIKBvbT 69tQ== 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-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=q21QDBaUmdp5mfq/JJOBSO1l+d7Mu2xscATlHJ7oVi4=; b=h/bvfj7h72YdpcxVUeyE38qiV22FvR3Ivir4vH0v4yUek5jLNYRoD1urfiEu7/v38A XMJy9i+RQ8Fp/qrOjsS6w25JuUR4/RuIB2yYqpqpwxj8fouOOkzqN3SCunaWt3b1mTXi zATpaJ/REaVgNnuuOFTNic3ThqClG0RQbk5p806fsJ+v8MDtgGLwwz3YEnYtZ1LLLu/h yhIyusnxDn/kVHcZPrULgWTBq6sFCD2cFlIvd5qcePVXE1CcFi4UXABPoE1JnQUcoB1F /zUKqRs5e1HHv1KFWFWgZgNHR9xE1Z4PjV/L6xyDpdqI71s68Yvf3ooQpexEuY15l/Wy i37g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=kqd+yjPA; 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 p9si1388425plr.63.2019.03.20.02.37.51; Wed, 20 Mar 2019 02:38:06 -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=kqd+yjPA; 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 S1727116AbfCTJhP (ORCPT + 99 others); Wed, 20 Mar 2019 05:37:15 -0400 Received: from mail-eopbgr790040.outbound.protection.outlook.com ([40.107.79.40]:2947 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725905AbfCTJhP (ORCPT ); Wed, 20 Mar 2019 05:37:15 -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=q21QDBaUmdp5mfq/JJOBSO1l+d7Mu2xscATlHJ7oVi4=; b=kqd+yjPA5Ks7BhaYWjKziCZRNlzprHWFGc7SDfl1zQlMkZM92uWbJO3nDndnozfxEk/rNMOvRy8DzzbgbaUGEDLH6ZvVfHhzGWZX3yYOQt0eV6j0ooLIdftcMP2daTwzpQkrO19LQqYKqLWr+gugusEsQFg3laO5V4RdXmC2RqY= Received: from DM5PR12MB1546.namprd12.prod.outlook.com (10.172.36.23) by DM5PR12MB1452.namprd12.prod.outlook.com (10.172.38.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.15; Wed, 20 Mar 2019 09:37:09 +0000 Received: from DM5PR12MB1546.namprd12.prod.outlook.com ([fe80::9559:5e05:6b91:5ab4]) by DM5PR12MB1546.namprd12.prod.outlook.com ([fe80::9559:5e05:6b91:5ab4%6]) with mapi id 15.20.1709.015; Wed, 20 Mar 2019 09:37:09 +0000 From: "Koenig, Christian" To: Nathan Chancellor , "Pan, Xinhui" CC: "Deucher, Alexander" , "Zhou, David(ChunMing)" , "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: AQHU3rdvvgMJOAy5E0q2ZMtxTsRIQqYTu9eAgAAzMACAAFR5AA== Date: Wed, 20 Mar 2019 09:37:09 +0000 Message-ID: <63518f1f-b808-77b0-aac6-ee1ece669c4b@amd.com> References: <20190320005406.GA16412@archlinux-ryzen> <20190320043440.GA23335@archlinux-ryzen> In-Reply-To: <20190320043440.GA23335@archlinux-ryzen> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 x-originating-ip: [2a02:908:1252:fb60:be8a:bd56:1f94:86e7] x-clientproxiedby: AM6PR0202CA0028.eurprd02.prod.outlook.com (2603:10a6:209:15::41) To DM5PR12MB1546.namprd12.prod.outlook.com (2603:10b6:4:8::23) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Christian.Koenig@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bdaebf8c-e504-4e6a-e26a-08d6ad179f44 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:DM5PR12MB1452; x-ms-traffictypediagnostic: DM5PR12MB1452: x-microsoft-antispam-prvs: x-forefront-prvs: 098291215C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(136003)(346002)(376002)(396003)(13464003)(189003)(199004)(53754006)(76176011)(53546011)(6506007)(386003)(102836004)(105586002)(106356001)(52116002)(99286004)(31686004)(14444005)(256004)(71190400001)(71200400001)(5660300002)(6116002)(446003)(11346002)(2616005)(476003)(486006)(186003)(97736004)(46003)(36756003)(25786009)(316002)(58126008)(54906003)(110136005)(72206003)(14454004)(478600001)(8936002)(8676002)(81166006)(81156014)(4326008)(305945005)(7736002)(68736007)(65826007)(6636002)(53936002)(6246003)(229853002)(64126003)(65956001)(65806001)(2906002)(6512007)(6486002)(6436002)(86362001)(31696002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1452;H:DM5PR12MB1546.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: R6fRTxy+aX5PN257VyJyhULmHcv/AZpuLGTvQge8IMG275EcFYTqQKzQHyKjTUPzfhR+3XBjwfqLquVxk/FjpRrwJuQZ+YQ+wRWgjXUP28QrNnBd93m/xZID2D+FmrnMJuImpB+61jUz1r7iQtPxuvX/rk8YHn7TMzb53QJOREaWFqVAFAv7WXJPyNHf/BX+09L/Q057FNI2rYOx6c2Cb3VgV9n8w3NVHBKZO6ysDz3MYe31yiYTpt6Eai0xlvR/QFY/0HbHFUwkzczLiLKJ3IVy5OcXmJkDhoJeQ+U+KxOU+nmVgbKZCN5ZNs6t+kAltao3kJ4ZHOMAY/JUPlABLq57JZu57rn8iyVsOv3IFZHAo+WOYkeiPjyZwNZ5itEKFuEjMu+Fh5Apqu2cyedcjVs2hwUF9uNJwECJNnIF8Nk= Content-Type: text/plain; charset="utf-8" Content-ID: <80C3C9A258FB5945A28214A03316D192@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: bdaebf8c-e504-4e6a-e26a-08d6ad179f44 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2019 09:37:09.1902 (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: DM5PR12MB1452 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QW0gMjAuMDMuMTkgdW0gMDU6MzQgc2NocmllYiBOYXRoYW4gQ2hhbmNlbGxvcjoNCj4gT24gV2Vk LCBNYXIgMjAsIDIwMTkgYXQgMDE6MzE6MjdBTSArMDAwMCwgUGFuLCBYaW5odWkgd3JvdGU6DQo+ PiB0aGVzZSB0d28gZW51bWVyYXRlZCB0eXBlcyBhcmUgc2FtZSBmb3Igbm93LiBib3RoIG9mIHRo ZW0gbWlnaHQgY2hhbmdlIGluIHRoZSBmdXR1cmUuDQo+Pg0KPj4gSSBoYXZlIG5vdCB1c2VkIGNs YW5nLCBidXQgd291bGQgIC5ibG9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