Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1892927ima; Sun, 21 Oct 2018 23:55:53 -0700 (PDT) X-Google-Smtp-Source: AJdET5eC1TcjNrgfF4osLgQlgTPy4/ZFujLZimViq7W0n5Pim4JeEEhsGFObUoH6GydUeTfXaSFy X-Received: by 2002:a17:902:29e3:: with SMTP id h90-v6mr163902plb.158.1540191353119; Sun, 21 Oct 2018 23:55:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540191353; cv=none; d=google.com; s=arc-20160816; b=bu67lNFr3Wum2AQCT2oFXdYZ4gI7l/LGlRoTa9FEY5XLqdLrPu12r4C4E/ATMBMBkx Yx/lAVg6x40DERPV0PppcVB0r7lzuodbxmZfhYAaiNbphJyJET5hhPy1LXL1HViFdkH2 6JP47aQDfTJuN/gWycY1U8BH8gl8wYydq8ArWcEy0HxIxQDytrWtrwIa/RkYagKPlK5/ pdbh5dvOT8PoaGMhmOYRMOeVqUbMe+HfkM3UE96Lk01sfMC0QJXHcJUO3k1H6NN3y6rc /yQ6y/xda+benETbfyYN66EsDPAnm+Cllw4f4Md+gZIsrM7eYBq1pQmpWJcVlNIpa0xK ISJg== 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:spamdiagnosticmetadata:spamdiagnosticoutput:user-agent :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=40zhhrAGW12YoHb2EsqmL0hB1pIJIK7mOmpkY9KZIbA=; b=cAHG1p3huFgbA91ex3C1f2WLZxiB+Kd4hPX5jp0bBZHAzqTxXsZ1BHIeYqKrvOF90n bIJFSSSRFbRACAsqvzb1KrXnmoK7xs1CGTaTEMM78FjVFcg3Dw6OWCm9nMK5o54Hs9WC W0rOjDjoLr3/hd/dVTptUHhUybjXW78698/+SSYiOZttVHJO+jfoRY7LQ/TukZknV3MH 1+SFIAmX4L5kYb1rVRflR4wleFIkFrFttbSFBHump0fntjmZbPfU1xZQy++q3hSQMJFM 7l5HQnMSvJbwwcF01Nvnf4yvf+pQDxL/Wosx3IUHJGVMPqr0vuk8jOHiLOEah4HFq08u q7nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=WzRQqmTn; 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 z10-v6si9109025pgk.330.2018.10.21.23.55.38; Sun, 21 Oct 2018 23:55:53 -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=WzRQqmTn; 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 S1727542AbeJVPMW (ORCPT + 99 others); Mon, 22 Oct 2018 11:12:22 -0400 Received: from mail-by2nam03on0089.outbound.protection.outlook.com ([104.47.42.89]:10469 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726964AbeJVPMV (ORCPT ); Mon, 22 Oct 2018 11:12:21 -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=40zhhrAGW12YoHb2EsqmL0hB1pIJIK7mOmpkY9KZIbA=; b=WzRQqmTnPwPEmpyDKiVzOBsNBJmVB/PTT5rJL3rF7Z97I17xdsaaH2y5pU4hHgc4d61wZbxYLqi0DA15UdrCu7ZxhNuYj8X/uqE4wTFp6JnHBRXlgzbcrKO75cifVi7IWJJM2OyR5o8wAWLDDilVVSMPsRmUFsc4kaTOsjEPy8c= Received: from BN6PR12MB1714.namprd12.prod.outlook.com (10.175.101.11) by BN6PR12MB1924.namprd12.prod.outlook.com (10.175.102.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.26; Mon, 22 Oct 2018 06:55:04 +0000 Received: from BN6PR12MB1714.namprd12.prod.outlook.com ([fe80::5472:26e2:affa:2b41]) by BN6PR12MB1714.namprd12.prod.outlook.com ([fe80::5472:26e2:affa:2b41%7]) with mapi id 15.20.1250.028; Mon, 22 Oct 2018 06:55:04 +0000 From: "Koenig, Christian" To: Wenwen Wang CC: Kangjie Lu , "Deucher, Alexander" , "Zhou, David(ChunMing)" , David Airlie , "Wang, Ken" , "open list:RADEON and AMDGPU DRM DRIVERS" , "open list:DRM DRIVERS" , open list Subject: Re: [PATCH] drm/amdgpu: fix a missing-check bug Thread-Topic: [PATCH] drm/amdgpu: fix a missing-check bug Thread-Index: AQHUaLea8TchUe8FQkSOGnWuMxL3Z6Uq1tqA Date: Mon, 22 Oct 2018 06:55:04 +0000 Message-ID: References: <1540069075-18358-1-git-send-email-wang6495@umn.edu> In-Reply-To: <1540069075-18358-1-git-send-email-wang6495@umn.edu> 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.2.1 x-originating-ip: [2a02:908:1257:4460:1ab8:55c1:a639:6740] x-clientproxiedby: AM6P193CA0113.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:85::18) To BN6PR12MB1714.namprd12.prod.outlook.com (2603:10b6:404:106::11) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Christian.Koenig@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN6PR12MB1924;20:o3CV5nV3hxPZ5GuttG0aLfzyHWcRXD8dppLXIdlgE1tZdbxvrxlqM9ofgVDBRIvmNYJpKNEekzLnY0fT9DqNnTTVwEx2z/qeAqeKz23Dq/eBSE0mGY3ES98JCmu5+qYYdXutfQmaE/fwJQz6XdjgYVo8oybTyojeP/OPa0EPaWbYquw6vc1aE6PkWZF6R0I3/GOVunPKjsHDfwULEuAMLRtZ8EYflvZwG6tR/vfZoMpYbYKK2YVPap/1tbmnkzec x-ms-office365-filtering-correlation-id: aabf8ad2-9ec0-4748-c460-08d637eb4acf x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:BN6PR12MB1924; x-ms-traffictypediagnostic: BN6PR12MB1924: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(192374486261705)(8104003914727); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095);SRVR:BN6PR12MB1924;BCL:0;PCL:0;RULEID:;SRVR:BN6PR12MB1924; x-forefront-prvs: 08331F819E x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39860400002)(376002)(346002)(136003)(366004)(189003)(199004)(305945005)(86362001)(54906003)(446003)(58126008)(106356001)(486006)(64126003)(31696002)(53936002)(316002)(6246003)(2171002)(2900100001)(105586002)(71200400001)(7736002)(81166006)(71190400001)(97736004)(229853002)(6512007)(81156014)(186003)(8676002)(478600001)(46003)(6506007)(14444005)(256004)(76176011)(31686004)(8936002)(6486002)(6116002)(6436002)(386003)(65826007)(14454004)(6916009)(5660300001)(4326008)(2906002)(72206003)(102836004)(68736007)(476003)(2616005)(36756003)(11346002)(99286004)(5250100002)(52116002)(65806001)(25786009)(65956001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR12MB1924;H:BN6PR12MB1714.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-microsoft-antispam-message-info: UvDde1MldI2TuoBHnbXwKx8NqfLPogkhN3O3qlN97PMFbiOlEHxKe4WJah+h6Q0nd7yoCq/uO9mrdI42IqpiB9LXyMBQjG5tpvFVaeRWUxnX/v7IWrpBiTEpUEzB9h2NHpS/bk5G7b0ajyIueX6IVtgispACVjarDOhG0BH9nzwEgH/GHTP3QNLdC0bhFn8jqKL6FXzAjxNLCSTBV8bog1IiNSZ9iZJ25vF9UUBMHUEazUuAaNo5lF8RAEOk3fli+X+6r/sUNu8Ot4Iwh7bn5Un8O8a05cTzM1d2Y34A3XQgjyPpAYkg69VBc2oWNMbc5o2rv804XIod+xiszOMibEEsV+H/QgaxwcQoy6nOjwc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: aabf8ad2-9ec0-4748-c460-08d637eb4acf X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2018 06:55:04.0851 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1924 Sender: lin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