Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2837054imm; Fri, 19 Oct 2018 00:03:04 -0700 (PDT) X-Google-Smtp-Source: ACcGV62/aWh/NH3auY/TdqwZMTKEsjxFScnMDOCNXG+760aMi66s6bvznOx406jCJtOvKa5tcTw9 X-Received: by 2002:a65:638a:: with SMTP id h10-v6mr31472721pgv.136.1539932584430; Fri, 19 Oct 2018 00:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539932584; cv=none; d=google.com; s=arc-20160816; b=yL3exnAwktyG5UiX+cdEwOhDYPkWpyWQUDMr5lW0WF7i0yh1/LCQaoxPtdkxIDsXI3 TGIT3AIXQGk25jTYp9Ube6ykB/rW3GwFlsYN8TIM3oYTKBboYrZ8RHM0xw2P9JdL2PpR pXFrLBeCGLqejxlXfkvwaTOMkr5D4eoVOd8a9mqvaOrS7axM1jBBriL3FxShGHyrb2RT ZbUb1xLfDswux9YYusk0a+DX6dHFkJqwsJzmNvbvjZkMMERYeNNzHnGfbYA4++uAZpr6 lGeDzw7tbmk8MqfqQfv+gi9XAkpadrUV/lY54mimbASGHRMe2gWEEUE3Pos9O7TSidLt 7O5g== 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=gWgM0VyrzvNfgBuyTiXP3Fx90lK9BswnU0NZVOvJ+r8=; b=z9ufDnMzSgxL2r1i6FCDZvzZEhbHpyn71cOYC/xgKBUcyqo168UIXfnAcwVbMsKA2K 2Zbel0+shfMwQPwTk5hRXfB+TIVSudZH1leGsHXRq78XyN5Tbax+QmTtDnPUA10nyVPh Q1VeWHUpiINxpIn/F/M2Nw6mjSqEMhLRsYFJiq+abvMz2K4pQu+Ilv1h/rhEQBkaIh1y hJMRONHJ6iCTf7jxA7T0VdmG0hEqDwGtwgd4yoo8pbsRi2DVv0PXRQJm/0RQEsGO4okw KNoRGjmQJ8POHTQKevLuso+vlsxzksY/YU+7uuU9iwLYvIGhWpPU+sWRC/mXcjO7PAgp nupA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=Xsu4ZWYY; 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 az12-v6si22963760plb.67.2018.10.19.00.02.48; Fri, 19 Oct 2018 00:03:04 -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=Xsu4ZWYY; 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 S1726864AbeJSPHJ (ORCPT + 99 others); Fri, 19 Oct 2018 11:07:09 -0400 Received: from mail-bl2nam02on0057.outbound.protection.outlook.com ([104.47.38.57]:55073 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726340AbeJSPHJ (ORCPT ); Fri, 19 Oct 2018 11:07:09 -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=gWgM0VyrzvNfgBuyTiXP3Fx90lK9BswnU0NZVOvJ+r8=; b=Xsu4ZWYYWcYSiV5V/KSk6goKSKmfZ5bQAh5QAklQANXo6+SugN44sPyRukIIeAgCml26GC1MSt7kc3ypKGqtkQk1MAerUtcmtPO6/P56LcaPOpjtc8BH23UABKNifSQ1C/k9RdnA5hG3bvk4e1rQmPbyCzR0HYvpr4YZZiMtgcQ= Received: from BN6PR12MB1714.namprd12.prod.outlook.com (10.175.101.11) by BN6PR12MB1730.namprd12.prod.outlook.com (10.175.101.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.25; Fri, 19 Oct 2018 07:02:16 +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; Fri, 19 Oct 2018 07:02:16 +0000 From: "Koenig, Christian" To: Wenwen Wang CC: Kangjie Lu , "Deucher, Alexander" , "Zhou, David(ChunMing)" , David Airlie , "open list:RADEON and AMDGPU DRM DRIVERS" , "open list:DRM DRIVERS" , open list Subject: Re: [PATCH] drm/radeon: fix a missing-check bug Thread-Topic: [PATCH] drm/radeon: fix a missing-check bug Thread-Index: AQHUZwXu+tUJTIxJoU26tNMgKJilKaUmJUSA Date: Fri, 19 Oct 2018 07:02:16 +0000 Message-ID: <90c22763-fdba-0415-c570-ef8e85bf5889@amd.com> References: <1539882809-7189-1-git-send-email-wang6495@umn.edu> In-Reply-To: <1539882809-7189-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: AM6P193CA0031.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:3e::44) 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;BN6PR12MB1730;20:aqzO7Sd7Ur7FylEaHKj36Xkz1b3tK3FKIWDgWVzjvnJLKn/jn4PXplmBvjiaMuthAuARmZhmZl2P7RHap0QDc/9cbYEa41jK+EzMXlIE4vy+N3ePYF/nCZoo4b2iqV2Fdk5UuLMRLIWiWz7hvYsebLZ3Vi/sfe6ApMNGiaix1fnPBJFkMTiJojrOrGZTzDgEmD8FW9aQ0OF+MZA+S4wnCeItC3ayr+rgpZr6D0w7dXAOzbfxRbtgifLhdDUINkaJ x-ms-office365-filtering-correlation-id: ce4b5acf-eb62-41d8-9268-08d63590cdb4 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:BN6PR12MB1730; x-ms-traffictypediagnostic: BN6PR12MB1730: 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)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3231355)(944501410)(52105095)(3002001)(6055026)(149066)(150057)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:BN6PR12MB1730;BCL:0;PCL:0;RULEID:;SRVR:BN6PR12MB1730; x-forefront-prvs: 0830866D19 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(346002)(136003)(39860400002)(366004)(376002)(199004)(189003)(65826007)(97736004)(64126003)(81166006)(106356001)(6512007)(105586002)(46003)(65806001)(8936002)(53936002)(2171002)(31696002)(71200400001)(86362001)(6436002)(81156014)(102836004)(478600001)(72206003)(2900100001)(31686004)(68736007)(186003)(6486002)(65956001)(71190400001)(5660300001)(575784001)(8676002)(11346002)(54906003)(316002)(229853002)(476003)(14444005)(7736002)(446003)(25786009)(36756003)(14454004)(6916009)(2906002)(5250100002)(52116002)(2616005)(386003)(305945005)(6116002)(99286004)(76176011)(486006)(6246003)(256004)(4326008)(58126008)(6506007);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR12MB1730;H:BN6PR12MB1714.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: yz37MnD9Fk3Sh6jsUN53gHQT7uRBsWlov3A8RaluGmh/fFrdqUfhd8MCG0DBTCzkW9xpUSI5EuNTxFl+TtT9uC8bxnV4zx2QgDLq0iblT/ZaWWnOsG6m872KAGqAQGDTkS828Xv/wZreFKA2+T/Fths2EAdo/cIRJBFnTL4mhWp75WelQkJ1xaDMtObN7h6CKxaEmhNwPBrPKuWZdgDDCb6zP3Yn2HYhVR94VEcMxMdAqT9LQxWWtKBZ9oKS4oQnodO9A0imamiN3oKt0CYzOSCKqAjWbc+S1nP3m/jxqnE6Ne9PimkPwAM97CDlKDL+jImwklmxBB5pZDpJ0Mj+RjbIk5zG4xvyu9PK8gc2huc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <53DC363A6F28FD4CA03C6D28A4B8AE77@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce4b5acf-eb62-41d8-9268-08d63590cdb4 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Oct 2018 07:02:16.7073 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1730 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QW0gMTguMTAuMTggdW0gMTk6MTMgc2NocmllYiBXZW53ZW4gV2FuZzoNCj4gSW4gcmFkZW9uX3Jl YWRfYmlvcygpLCB0aGUgYmlvcyByb20gaXMgZmlyc3RseSBtYXBwZWQgdG8gdGhlIElPIG1lbW9y eQ0KPiByZWdpb24gJ2Jpb3MnIHRocm91Z2ggcGNpX21hcF9yb20oKS4gVGhlbiB0aGUgZmlyc3Qg dHdvIGJ5dGVzIG9mICdiaW9zJyBhcmUNCj4gY29waWVkIHRvICd2YWwxJyBhbmQgJ3ZhbDInIHJl c3BlY3RpdmVseSB0aHJvdWdoIHJlYWRiKCkuIEFmdGVyIHRoYXQsDQo+ICd2YWwxJyBhbmQgJ3Zh bDInIGFyZSBjaGVja2VkIHRvIHNlZSB3aGV0aGVyIHRoZXkgaGF2ZSBleHBlY3RlZCB2YWx1ZXMs DQo+IGkuZS4sIDB4NTUgYW5kIDB4YWEsIHJlc3BlY3RpdmVseS4gSWYgeWVzLCB0aGUgd2hvbGUg ZGF0YSBpbiAnYmlvcycgaXMgdGhlbg0KPiBjb3BpZWQgdG8gJ3JkZXYtPmJpb3MnIHRocm91Z2gg bWVtY3B5X2Zyb21pbygpLiBPYnZpb3VzbHksIHRoZSBmaXJzdCB0d28NCj4gYnl0ZXMgaW4gJ2Jp b3MnIGFyZSBjb3BpZWQgdHdpY2UuIE1vcmUgaW1wb3J0YW50bHksIG5vIGNoZWNrIGlzIGVuZm9y Y2VkIG9uDQo+IHRoZSBmaXJzdCB0d28gYnl0ZXMgb2YgJ3JkZXYtPmJpb3MnIGFmdGVyIG1lbWNw eV9mcm9taW8oKS4gR2l2ZW4gdGhhdCB0aGUNCj4gSU8gbWVtb3J5IHJlZ2lvbiBjY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