Received: by 10.213.65.68 with SMTP id h4csp26851imn; Mon, 12 Mar 2018 16:08:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELswk7xDcQaRBgBZDGpRZpG6xo0AuwNPZviLvq+9aYP4P2Jy0e36ofCBULzgpOZv+HBaVHC4 X-Received: by 2002:a17:902:8307:: with SMTP id bd7-v6mr9587114plb.230.1520896091139; Mon, 12 Mar 2018 16:08:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520896091; cv=none; d=google.com; s=arc-20160816; b=02sModxy9RV6+MZlL+lWxKHvNJBCPwmcbgfn6JZ5MJGXFD1c8hfpA/woh6jjx8WtXe TPnjq2JpM1NSy0JUAESIl9/x+145qavkaQlyjsIlq3UFu7URS7Fy+VA9TCfNRhbqRCEF UYaxvuiONCY287ZeB0gJqsTgtlXzdVlkS+qYehwKK7CkvT+4TtHHAWRpDMBIZ+V667BN 5cBW+bRpNgES5fg4JMcwSxsgMf0VNcu3RzSA6x8ShhQ9C+9IxcOIhHDoQdsFBJQNAD+4 twCjP2gb3XxpSriQAsXuGf3ZYg6kT3cKUnntmBT/BkQ+YOTVG3qsAMPs6XXMsq/Nac8q fOew== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:to:from:dkim-signature :arc-authentication-results; bh=VmV1k6M7mxu3BlaBzOOSO5Az0h3pO/JMKV0mSJo1UE4=; b=pDmW1axv/IiFRIpcpoh0HqHjPoCDEVKmrTjUaqVOSOUkKDJ3CeDGxqD9BmBTDy+y8q SrTfwt8osIvmCu6KWrhzFXkOqsyo8YTwVuWqYaiNrFZTrtSyjIsTDpBtS2IbCK6LUizO WpNYlKvPxbPQrZKyxSe/Cax1EB7lXvr2i8zPczLJogBanBc0p0bwQwpXwVyevDCsCHE/ YULL2Vb+tIeh4+KYGLelPnO01yxCOqM7ez5MCZkUX9c7eMVeBgZ06gDnijCgG7oe1J8b /8FPvHYYSCAA7hL2ud9wg8MoyUAQU48MphsSwe3fTlsBDogb7pn3q4DGl7ErBTeD4zQy gmeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=o10ipsp6; 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 ba12-v6si6564257plb.470.2018.03.12.16.07.56; Mon, 12 Mar 2018 16:08:11 -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=o10ipsp6; 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 S932242AbeCLXG1 (ORCPT + 99 others); Mon, 12 Mar 2018 19:06:27 -0400 Received: from mail-co1nam03on0076.outbound.protection.outlook.com ([104.47.40.76]:13280 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751359AbeCLXG0 (ORCPT ); Mon, 12 Mar 2018 19:06:26 -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; bh=VmV1k6M7mxu3BlaBzOOSO5Az0h3pO/JMKV0mSJo1UE4=; b=o10ipsp6xxZaPS0oBCnRAfQisyKE75pU0SqWetlynGJokxUDDBsxEHvTY8fc/Z+rjVGGShMV1WXLQfAvZBae1JbD1ZYpnQPaBEFZ74siqu4WounTtyDgjNc1yBhPC6puXJV6S6UvhG7f8CeRFvGuQnKfcgKryV5O2tUbCRNflTE= Received: from DM5PR12MB1211.namprd12.prod.outlook.com (10.168.237.14) by DM5PR12MB1786.namprd12.prod.outlook.com (10.175.91.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Mon, 12 Mar 2018 23:06:24 +0000 Received: from DM5PR12MB1211.namprd12.prod.outlook.com ([fe80::f41c:56cc:d8b4:db99]) by DM5PR12MB1211.namprd12.prod.outlook.com ([fe80::f41c:56cc:d8b4:db99%14]) with mapi id 15.20.0548.021; Mon, 12 Mar 2018 23:06:23 +0000 From: "Li, Roman" To: "Grodzovsky, Andrey" , David Binderman , "Deucher, Alexander" , "Koenig, Christian" , "Zhou, David(ChunMing)" , "airlied@linux.ie" , "amd-gfx@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , "Wentland, Harry" Subject: RE: linux-4.16-rc5/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c:1723]: (warning) Possible null pointer dereference: pipe_ctx Thread-Topic: linux-4.16-rc5/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c:1723]: (warning) Possible null pointer dereference: pipe_ctx Thread-Index: AQHTulDAsC1cVPdHK0eKq9+HqhKd/qPNNUmg Date: Mon, 12 Mar 2018 23:06:23 +0000 Message-ID: References: <8b55ac58-ae20-7662-10bb-c446701cd67e@amd.com> In-Reply-To: <8b55ac58-ae20-7662-10bb-c446701cd67e@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Roman.Li@amd.com; x-originating-ip: [165.204.55.250] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR12MB1786;20:YCepAxvsXCoVAT7O821oPxtwQR77fyDcQebyvrS7nQGx7merhYR4+I5Qqr7RbXGNuXRMcqsn5wDoSyYRV3dAFwDWV884KPy2Uu3S9+CDblaIPPjR0DCDVcXymEvCCTHeDp/D5d0YqDLkA8ssST7ObrTFi3H8S5/XAC9lPcToM8XhOfepiNmoq2fWA8m22mzYTDrfeIDFTXm84EnhOQGqcn7QMQnnDvLuFH6O6fFoVJI6y5oNC+JgBhqG+bfQG+jp x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(346002)(39860400002)(39380400002)(396003)(366004)(376002)(13464003)(199004)(189003)(7696005)(2950100002)(74316002)(99286004)(2201001)(7736002)(8676002)(81156014)(316002)(26005)(305945005)(76176011)(81166006)(229853002)(15760500003)(6636002)(39060400002)(6436002)(6246003)(102836004)(9686003)(55016002)(3280700002)(6306002)(86362001)(8936002)(53936002)(53546011)(6506007)(5660300001)(59450400001)(2906002)(97736004)(966005)(72206003)(25786009)(3846002)(105586002)(110136005)(2900100001)(33656002)(3660700001)(2501003)(6116002)(5250100002)(478600001)(68736007)(106356001)(14454004)(66066001)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1786;H:DM5PR12MB1211.namprd12.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: a9a245da-6914-44ee-a267-08d5886de008 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(2017052603328)(7153060)(7193020);SRVR:DM5PR12MB1786; x-ms-traffictypediagnostic: DM5PR12MB1786: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(767451399110)(217544274631240)(130873036417446)(194151415913766); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231221)(944501244)(52105095)(10201501046)(93006095)(93001095)(3002001)(6055026)(6041310)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(6072148)(201708071742011);SRVR:DM5PR12MB1786;BCL:0;PCL:0;RULEID:;SRVR:DM5PR12MB1786; x-forefront-prvs: 06098A2863 received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: kokguqgzOli3mj907zBTGG3v3XRPj5zUh6RespBbyMZ3UVSJZxbvNLmI3eOhFJUDpyZ7leUVQyByD0+qWgvpiNCksrTECCpVMBDA0Dz0X0VpLsxLYeVb0ArI/vxQAVlRh6jsTBFnBUYdALlR3YvaJtZMZ3nZkejpSanmSR6yHm4uzDKBfuhVNo877UhHnutK8iIIWAK55/zkvt9q8NNwvtATWddY6TuBB/XEUGAHSEAWBtLEkEOe89a1Kfarc0yvvvt5pLPYrIz2Noe3sCwfb7Rjf3qYKAQoagLDXFIIeNeoV9wpNE9A7Qaoo9V4A91QlrrF25T+Pp914dUWYjaZLA== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: a9a245da-6914-44ee-a267-08d5886de008 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Mar 2018 23:06:23.2862 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1786 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhlcmUgaXMgYSBjaGVjayBqdXN0IGJlZm9yZSBmb3ItbG9vcCB0aGF0IHNob3VsZ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