Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp943767pxb; Thu, 25 Feb 2021 21:02:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQTfXY78JWGJvXeGWcEsusNJdLp7c4tVRMPY4VBgqJKdJWogtFsoFKKseZljjf2Bh73Vw3 X-Received: by 2002:a17:906:ecfb:: with SMTP id qt27mr1278899ejb.245.1614315763951; Thu, 25 Feb 2021 21:02:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614315763; cv=none; d=google.com; s=arc-20160816; b=E3ZxrhsjsP94r/X6nAG/Al58VkjDl4byEcpUZhR8lmpk+sotnQnomSZkrFWYeBzjk9 ilr43Mzy1wp5ZW56cSoMh54tAAePJsgfn8WQqO61sZEggWlHzpqS/Jv2wNvYuis5ZZte uN6h9qIzfi6wwriWIV6AkXaRKLE3whZVcbVkV9ez17kvx1K7RwIvTA6MZC5+N96XrBtj 7Ne1aLAVhiVbuZfLHpQoqaEAxFRza5kBNYkexg346VRo7yv5fzro7VeSZBVwH4uabFjG NNiG1wAsPXUXTDMGdG8D38O4ra7F5tnsUBvuEOAh1wQ03ZJB/o0vRthXIbeblLeEGNVN Cpqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=TnSaM1I4J1pxCQbcFh4PRUdYaigD6Ieayo3aoH4RcJI=; b=xkr+wKPAgBitJK4BNAuCJZfp8496jJQ5HF/lvEi6EY19LBPGULOalM0pM6pEIoM1LH 41odIXF183F03RECaEhHQjmwAyxJLklEzNb7dlugpK6ZitKrTTlG9HKKTQJONICzrRIb Hm+lVoK3TxIbveJEAjil9XT0oFF0JGbMegl/k/AUecQbkHP4I8sG5fqsg7Vz0RAejprX WMeDtbCfgCTCqq/eny4LfQA2mSJONGlwTiMEg1w8hVId3UO5Gq/crJhd+Tz3xsbHvnWP sz1Q21xm+Pcsbe8DvdzfMeC4bWW8+zw67BBW/kFKzoGitjgyusg2AXY21+oFfLggifEP Cvzw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si5734056ejf.30.2021.02.25.21.02.20; Thu, 25 Feb 2021 21:02:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229554AbhBZFBx (ORCPT + 99 others); Fri, 26 Feb 2021 00:01:53 -0500 Received: from mga17.intel.com ([192.55.52.151]:3350 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229526AbhBZFBw (ORCPT ); Fri, 26 Feb 2021 00:01:52 -0500 IronPort-SDR: glmBWjdXDGKkkqOZdH8Zc4anoRqY11xp0FIbz7nOMoWWHB1cQF9akKNKKlhizg1s6UfmobVAiZ kg9v9WY8XXMg== X-IronPort-AV: E=McAfee;i="6000,8403,9906"; a="165641726" X-IronPort-AV: E=Sophos;i="5.81,207,1610438400"; d="scan'208";a="165641726" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2021 21:01:09 -0800 IronPort-SDR: MwUHK9Y/FNDbll/XnPZ49GjXvdQWmatbO8ziam9+t6CxyKyRwggiv877l1ZAgxmteTO0Igfd2+ A3yoEK9AEBYQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,207,1610438400"; d="scan'208";a="516384038" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga004.jf.intel.com with ESMTP; 25 Feb 2021 21:01:09 -0800 Received: from bgsmsx602.gar.corp.intel.com (10.109.78.81) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 25 Feb 2021 21:01:08 -0800 Received: from bgsmsx604.gar.corp.intel.com (10.67.234.6) by BGSMSX602.gar.corp.intel.com (10.109.78.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 26 Feb 2021 10:31:06 +0530 Received: from bgsmsx604.gar.corp.intel.com ([10.67.234.6]) by BGSMSX604.gar.corp.intel.com ([10.67.234.6]) with mapi id 15.01.2106.002; Fri, 26 Feb 2021 10:31:06 +0530 From: "Gupta, Anshuman" To: Colin King , Jani Nikula , Joonas Lahtinen , "Vivi, Rodrigo" , David Airlie , Daniel Vetter , "C, Ramalingam" , "intel-gfx@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" CC: "kernel-janitors@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH][next] drm/i915/hdcp: Fix null pointer dereference of connector->encoder Thread-Topic: [PATCH][next] drm/i915/hdcp: Fix null pointer dereference of connector->encoder Thread-Index: AQHXChjJmIv7gDW21UG5hJXtQsGn1Kpp5AuQ Date: Fri, 26 Feb 2021 05:01:06 +0000 Message-ID: References: <20210223191909.16682-1-colin.king@canonical.com> In-Reply-To: <20210223191909.16682-1-colin.king@canonical.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.5.1.3 dlp-reaction: no-action x-originating-ip: [10.223.10.1] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQ29saW4gS2luZyA8Y29s aW4ua2luZ0BjYW5vbmljYWwuY29tPg0KPiBTZW50OiBXZWRuZXNkYXksIEZlYnJ1YXJ5IDI0LCAy MDIxIDEyOjQ5IEFNDQo+IFRvOiBKYW5pIE5pa3VsYSA8amFuaS5uaWt1bGFAbGludXguaW50ZWwu Y29tPjsgSm9vbmFzIExhaHRpbmVuDQo+IDxqb29uYXMubGFodGluZW5AbGludXguaW50ZWwuY29t PjsgVml2aSwgUm9kcmlnbyA8cm9kcmlnby52aXZpQGludGVsLmNvbT47DQo+IERhdmlkIEFpcmxp ZSA8YWlybGllZEBsaW51eC5pZT47IERhbmllbCBWZXR0ZXIgPGRhbmllbEBmZndsbC5jaD47IEMs IFJhbWFsaW5nYW0NCj4gPHJhbWFsaW5nYW0uY0BpbnRlbC5jb20+OyBHdXB0YSwgQW5zaHVtYW4g PGFuc2h1bWFuLmd1cHRhQGludGVsLmNvbT47DQo+IGludGVsLWdmeEBsaXN0cy5mcmVlZGVza3Rv cC5vcmc7IGRyaS1kZXZlbEBsaXN0cy5mcmVlZGVza3RvcC5vcmcNCj4gQ2M6IGtlcm5lbC1qYW5p dG9yc0B2Z2VyLmtlcm5lbC5vcmc7IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmcNCj4gU3Vi amVjdDogW1BBVENIXVtuZXh0XSBkcm0vaTkxNS9oZGNwOiBGaXggbnVsbCBwb2ludGVyIGRlcmVm ZXJlbmNlIG9mDQo+IGNvbm5lY3Rvci0+ZW5jb2Rlcg0KPiANCj4gRnJvbTogQ29saW4gSWF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