From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@displaylink.com header.s=mimecast20151025 header.b=Qn5RHlBj; spf=pass (domain: displaylink.com, ip: 207.82.80.167, mailfrom: andy.hayes@displaylink.com) Received: from eu-smtp-delivery-167.mimecast.com (eu-smtp-delivery-167.mimecast.com [207.82.80.167]) by groups.io with SMTP; Tue, 10 Sep 2019 07:49:22 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=displaylink.com; s=mimecast20151025; t=1568126961; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PvD6jwlggceDo6JfBflctIDYhRv4sJ3kLH2/4HH6wuk=; b=Qn5RHlBjp436t2FRYMU69rA6k65sq6JMQ0AGW4VL6w84/UyN8XC9sE9ArAeP7Ae5ac7pZx Q+MImt//FPrAhRREeoOaRNJz30GaENSgX7cf/Ddt4fOQtyv22yb7Tc8nTYWO06hHtiMzE8 S7ZEQ1C6yQxO8TJ+F9iSHoVi3V0KaEk= Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01lp2052.outbound.protection.outlook.com [104.47.2.52]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-162-VjtksncZN7ujnO13CMVZdA-2; Tue, 10 Sep 2019 15:49:19 +0100 Received: from DB8PR10MB2684.EURPRD10.PROD.OUTLOOK.COM (20.179.10.22) by DB8PR10MB3564.EURPRD10.PROD.OUTLOOK.COM (10.186.165.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.18; Tue, 10 Sep 2019 14:49:17 +0000 Received: from DB8PR10MB2684.EURPRD10.PROD.OUTLOOK.COM ([fe80::fc15:624b:1727:b7b4]) by DB8PR10MB2684.EURPRD10.PROD.OUTLOOK.COM ([fe80::fc15:624b:1727:b7b4%3]) with mapi id 15.20.2241.018; Tue, 10 Sep 2019 14:49:17 +0000 From: "Andy Hayes" To: "devel@edk2.groups.io" CC: Andy Hayes , Leif Lindholm , Ard Biesheuvel Subject: [PATCH v1 1/1] Drivers/DisplayLink/DisplayLinkPkg DisplayLinkGop Thread-Topic: [PATCH v1 1/1] Drivers/DisplayLink/DisplayLinkPkg DisplayLinkGop Thread-Index: AQHVZ+brGAtZQ9LD5UyeK3O74NN4bw== Date: Tue, 10 Sep 2019 14:49:17 +0000 Message-ID: <1568126948-92385-2-git-send-email-andy.hayes@displaylink.com> References: <1568126948-92385-1-git-send-email-andy.hayes@displaylink.com> In-Reply-To: <1568126948-92385-1-git-send-email-andy.hayes@displaylink.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LO2P265CA0218.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:b::14) To DB8PR10MB2684.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:a8::22) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 1.8.3.1 x-originating-ip: [213.146.140.62] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a7e2c9b2-49fb-4c94-0db2-08d735fe0e31 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600166)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:DB8PR10MB3564; x-ms-traffictypediagnostic: DB8PR10MB3564: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1051; x-forefront-prvs: 01565FED4C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(376002)(39840400004)(366004)(346002)(136003)(189003)(199004)(6116002)(256004)(5640700003)(6512007)(36756003)(6436002)(54906003)(6506007)(3846002)(186003)(476003)(2616005)(2906002)(76176011)(26005)(386003)(316002)(2501003)(99286004)(44832011)(2351001)(486006)(102836004)(14454004)(86362001)(8936002)(14444005)(4720700003)(50226002)(66946007)(6916009)(66446008)(64756008)(66556008)(66476007)(478600001)(446003)(52116002)(8676002)(81156014)(5660300002)(1730700003)(11346002)(81166006)(53936002)(4326008)(25786009)(7736002)(71200400001)(71190400001)(305945005)(66066001)(6486002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR10MB3564;H:DB8PR10MB2684.EURPRD10.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: fGiMztRw/SiZEn1NtEA4kPVqNXivga6m/V+cy3cHE6XC6UO5eWyxYlfnMNLJa4xPhOc21hFmwSH1V2Da9YiKfTBlYntB3cYG+2mWl4aq9T2zaEtT4w35yXwEYldFFDHemYHuUPpVIdqz36IljRb7Go2gGlTlV9Ph1EXWncVDoH+0a2UtZ7iLensmqQfsc/a+7Nyog6AKZ1JXpEB/LMuhCPMVfbrbdZ1BxDC7TY2eU/UAuLFHRCogkwuA8p6ZNTjIaHO05uowbvKRWlcpA3YzuAX7sCtQ7SlKkx76h8Btm0wCR6KpXJQNbRS4Xcpw/Zlx8C+LjtccrB3L8BVyxcpo6mFa4y37NVk5R90+xyx1mqAvDaVjgSFYRZIOh2sf9eFPm6jrXJ+MkvFxJCHpEU5lQvrKF3JD9x+/ShicUenuQsU= MIME-Version: 1.0 X-OriginatorOrg: displaylink.com X-MS-Exchange-CrossTenant-Network-Message-Id: a7e2c9b2-49fb-4c94-0db2-08d735fe0e31 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Sep 2019 14:49:17.3365 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a4bda75a-b444-4312-9c90-44a7c4b2c91a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: KO4HwYCtdyuAcq1tH0cZVz/bCT43b6KE+WUl56FUHtl00Jxiht3afLzX/Ogzb1A4y2bpiJw8ihOjeTmTxRR3j2XLl3DfRXRbMXNpaqbDoOo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR10MB3564 X-MC-Unique: VjtksncZN7ujnO13CMVZdA-2 X-Mimecast-Spam-Score: 0 Content-Language: en-US Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Corrected initialisation of one of data structures used to transmit USB control messages. Mistake had no practical effects but fixing to be on safe side. Cc: Leif Lindholm Cc: Ard Biesheuvel Signed-off-by: Andy Hayes --- Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkGop/UsbTransfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkGop/UsbTransfer.= c b/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkGop/UsbTransfer.c index 252293da39d4..9871ab0378ce 100644 --- a/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkGop/UsbTransfer.c +++ b/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkGop/UsbTransfer.c @@ -107,7 +107,7 @@ DlUsbSendControlWriteMessage ( UINT32 UsbStatus; EFI_USB_DEVICE_REQUEST UsbRequest; =20 - ZeroMem (&Request, sizeof (Request)); + ZeroMem (&UsbRequest, sizeof (UsbRequest)); UsbRequest.RequestType =3D USB_REQ_TYPE_VENDOR | USB_TARGET_INTERFACE; UsbRequest.Index =3D Device->InterfaceDescriptor.InterfaceNumber; UsbRequest.Request =3D Request; --=20 1.8.3.1