Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1413014ybp; Wed, 9 Oct 2019 13:47:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDLWlpvXewhGunFtzbltIkXeQ+1RIvV3ZiX6uYLDrrmNJHPIz4sUjXpG6GulVcS/GAcBNt X-Received: by 2002:aa7:d905:: with SMTP id a5mr4821149edr.88.1570654044243; Wed, 09 Oct 2019 13:47:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570654044; cv=pass; d=google.com; s=arc-20160816; b=ZGOH+lSIF5pZBoJ8f6RRfvndmSUjUv30bKSGtXI6E7z2xT2G3UsW4eGgyl2vCi/yy9 3RlBFxPCuzuq5gvd61quiA7FhuRDBuIlvJNrjdKep1BfDnGznp2I/8/70rm403zR9++K IEJVa/W4osvspIdBvlZU+4zGpGcega5IcEdRM2EXJ4nvr+zMz3lOLm6xlO/U21SzDFxj T6FoUcRXc4J9V5Gr7aYGTMhuhrJMsMAcBtpKyKDcSdoXBXO995DpzHWoNQn9Qe+Tl06S 5++H6rYbBoCGtgq2k2uveizRvZCYEEX+tTt2+K9dhTtTYcHVwtA52PsSSAaBTdiR8lrA rKRg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=y9HZxRv2Wa+TARuwYKbXjkxZOMspFuvK1nlT49LNw6E=; b=FdS9h2SnMIoJ2wns15/4ZECBzW1e0mDC0brjTixZhlAgV0a3x5E9dbKR2wNo9RIUWS X9CkVBezvxD+AuiMOLGRHefE/F9OSlKwTnTq4BMsNedppRJZ6GpNwelhNqy48nb4n5eG RmI63OCPvVM5I8MOrZFjI5BruUcOJ2ZH+cEaio5PRRdSDwnaQR3fyCtsjlKr09hh0KDt L/5rHQFhWR2hcAgdY4PL6kURxdCRH1f4+v5mdXZ0YDtvVZa7SP8+bj0YpYFJPcgoUbti hCYy47ByerjM2raIwD+iIr4ZbtHz1Zw2f4P9oCECvtCNFTCkfpfrXPV/s3PqgIXYI0T2 js4A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b="V0t/M0tL"; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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 n6si1752777ejj.232.2019.10.09.13.47.00; Wed, 09 Oct 2019 13:47:24 -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=selector2-amdcloud-onmicrosoft-com header.b="V0t/M0tL"; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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 S1731167AbfJIUqu (ORCPT + 99 others); Wed, 9 Oct 2019 16:46:50 -0400 Received: from mail-eopbgr820081.outbound.protection.outlook.com ([40.107.82.81]:38316 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728804AbfJIUqt (ORCPT ); Wed, 9 Oct 2019 16:46:49 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TkiLw94q3XzoEpMcxgPBsiU11aovbflR28qe1uN+C4qDGE5sOBl4IfZ3D78GZaCCVWNJCS95usqj3YZXV2HSl320Yek654nnSFkQouRlKPR/cytPS+M1U/AWPcrLwOB5m1MDk1ZdXzTq7lNV9iUqndS58eOk4bSQgtD9XtG3PKeKTQ9bkunvGIyFoVacHpbzCLhm7DpyPMzjQQaIV0IxFCdk6tiG8uRJFODn9ypb1V9RiaYaHexuGMGyc8lgW9QfYU08ZxdJHnFtA9t0loOGTq9GaUrrLACFk4RPwa2hra+BqBhL3JvuMYE/b9D+pJI+aeJKKPOieG1V4LeD57W5xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=y9HZxRv2Wa+TARuwYKbXjkxZOMspFuvK1nlT49LNw6E=; b=UCudlYdUpMaspKdhO8X+n8Evlp9QYT9h1pW9xpVU2GhBEJ/ywcSEKfN35q9qve0GOEa8gB9PxgjT1yFzp+3dwivqLKyBNxp9xlAIkmeUiSPbWabfvJEANBlekbeGWJXkR9O6r5l7wUyxMOP/6js2xev0NyAlWioFp8n9q8OHof7VrCDrBoP7VmWft03EFe+WIVxt7ImwE/DYvYlbU2XBu8jTDqOQ9ag2UJtAQhn927GKboAjw7TP7DQPulVgTf9atdWED229lyOpo2PAEHEtafA6hvV2TwJGO316E6cSSZRHylHpLOsWHe5iJF7v1nELtOvlKyXstc2/Q+kCrxFcYg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=y9HZxRv2Wa+TARuwYKbXjkxZOMspFuvK1nlT49LNw6E=; b=V0t/M0tLWZzLhW07CAorR+NzYNV4PkKcvgIJ3pi6Kj/XL0QkLMfxAB/eWkmQP0WySiOdnBWmqabrzPOzqZCwYcOizBeYqRgSAHhhWgCmCGwOXpv2A7GuShKqS3hoTpE57vdot4G8npHZw5O+zhynUgc1h246OqLcAMSPF96fFa4= Received: from DM6PR12MB4236.namprd12.prod.outlook.com (10.141.184.142) by DM6PR12MB3068.namprd12.prod.outlook.com (20.178.30.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Wed, 9 Oct 2019 20:46:45 +0000 Received: from DM6PR12MB4236.namprd12.prod.outlook.com ([fe80::f85b:e64c:1a31:8e95]) by DM6PR12MB4236.namprd12.prod.outlook.com ([fe80::f85b:e64c:1a31:8e95%2]) with mapi id 15.20.2347.016; Wed, 9 Oct 2019 20:46:45 +0000 From: "Lakha, Bhawanpreet" To: Daniel Vetter CC: Colin Ian King , "Wentland, Harry" , "Li, Sun peng (Leo)" , "Deucher, Alexander" , "Koenig, Christian" , "Zhou, David(ChunMing)" , David Airlie , amd-gfx mailing list , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: Re: drm/amd/display: Add HDCP module - static analysis bug report Thread-Topic: drm/amd/display: Add HDCP module - static analysis bug report Thread-Index: AQHVejcKxYM7N3T1jUOoIu2sebAn9adSieGA///b6ACAAEjNAIAAIkyA Date: Wed, 9 Oct 2019 20:46:45 +0000 Message-ID: References: <951eb7dc-bebe-5049-4998-f199e18b0bf3@canonical.com> <20191009163235.GT16989@phenom.ffwll.local> In-Reply-To: Accept-Language: en-CA, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: YTBPR01CA0029.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:14::42) To DM6PR12MB4236.namprd12.prod.outlook.com (2603:10b6:5:212::14) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bhawanpreet.Lakha@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.55.250] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c588ec79-243a-4264-ce57-08d74cf9cc58 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: DM6PR12MB3068: x-ms-exchange-purlcount: 1 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-forefront-prvs: 018577E36E x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(396003)(39860400002)(136003)(376002)(346002)(199004)(189003)(8936002)(2906002)(81166006)(81156014)(8676002)(54906003)(99286004)(5660300002)(66946007)(66446008)(64756008)(66556008)(66476007)(476003)(486006)(11346002)(316002)(25786009)(26005)(52116002)(186003)(6116002)(2616005)(446003)(6246003)(4326008)(478600001)(6506007)(76176011)(386003)(966005)(14454004)(102836004)(53546011)(3846002)(6486002)(6512007)(7736002)(305945005)(229853002)(31696002)(86362001)(6916009)(6436002)(71190400001)(31686004)(256004)(71200400001)(66066001)(36756003)(14444005)(6306002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB3068;H:DM6PR12MB4236.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8lcn0JzG/Vmk7bWseLuAp3rUJnXLMiZUnfhIDoF4rr6FlPdxby8nwzncZRGW8A+bHA2ljk/cn66HXGTrLRvFexOGJ72RKjmxrhDhLbUk1V16q2fOSmiphka9CsDmwhnunIUMb1vJ3TXmrTLrV7gNtFnAYlPGGgdojWxP2gHjqN+lHZy/UWek4b5a+DvW+a27zXxmNUgr1/f1hlb2Ybqe7xWF2pTcG69c8VxoL6dRkxVfKCnSPdZW5vFNMRhdBt11Tk9lWo2Y2hjv0CsI436fsePACl56qDewngYp3xB09a8kkmtKDQuXjJHIMna7OVVh5R8f0QyXkpO45W+NNpS94NrsYUwVzCyeBOXwv4dSQ7enfRHdIbA97foKpUzderITtwz8pPsWtMaUr8hvtOOhQglKk2gxte/TgCu26zmrBwBxmEluHlPNmLOdZUmZvQuv1TDmH/sGvr7FMqMJzKZLyg== Content-Type: text/plain; charset="utf-8" Content-ID: <999647EB8E80D747AD5E21111924EC57@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: c588ec79-243a-4264-ce57-08d74cf9cc58 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2019 20:46:45.6585 (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-CrossTenant-userprincipalname: OlLpOtdmqwEGJS5vz2Jx+bWQ+Ja0eP7cb/gjmejaL7gg3EK9s6R0CCEF1m99yW0p X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3068 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SSBtaXN1bmRlcnN0b29kIGFuZCB3YXMgdGFsa2luZyBhYm91dCB0aGUga3N2IHZhbGlkYXRpb24g c3BlY2lmaWNhbGx5IA0KKHVzYWdlIG9mIGRybV9oZGNwX2NoZWNrX2tzdnNfcmV2b2tlZCgpKS4N Cg0KRm9yIHRoZSBkZWZpbmVzIEkgd2lsbCBjcmVhdGUgcGF0Y2hlcyB0byB1c2UgZHJtX2hkY3Ag d2hlcmUgaXQgaXMgdXNhYmxlLg0KDQoNCkJoYXdhbg0KDQpPbiAyMDE5LTEwLTA5IDI6NDMgcC5t LiwgRGFuaWVsIFZldHRlciB3cm90ZToNCj4gT24gV2VkLCBPY3QgOSwgMjA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