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=nGaJilku; spf=pass (domain: displaylink.com, ip: 146.101.78.167, mailfrom: andy.hayes@displaylink.com) Received: from eu-smtp-delivery-167.mimecast.com (eu-smtp-delivery-167.mimecast.com [146.101.78.167]) by groups.io with SMTP; Wed, 11 Sep 2019 00:42:09 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=displaylink.com; s=mimecast20151025; t=1568187725; 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=nGaJilku9CJlkTMVag3EHiVPagJij/VYhUxtvNFyjbOnLVoMyWyfs8Z56TaJ70Zkzpd4HB ussEK2w4+/1QyLquYHwFEhe1Cs9AyNlkQHgWTESZv5FcqmRfZMME/REBCD00PTYbFJ7+qv f33NMGNTx9TSKaiKtOWGuaJwf0IwX3k= Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-he1eur02lp2050.outbound.protection.outlook.com [104.47.5.50]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-79-oNDjY_kjOl6ma98e5Qnf2g-2; Wed, 11 Sep 2019 08:42:04 +0100 Received: from VI1PR10MB2686.EURPRD10.PROD.OUTLOOK.COM (20.178.127.20) by VI1PR10MB2352.EURPRD10.PROD.OUTLOOK.COM (20.177.62.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.15; Wed, 11 Sep 2019 07:42:03 +0000 Received: from VI1PR10MB2686.EURPRD10.PROD.OUTLOOK.COM ([fe80::95c7:b5ab:a9cf:ff12]) by VI1PR10MB2686.EURPRD10.PROD.OUTLOOK.COM ([fe80::95c7:b5ab:a9cf:ff12%4]) with mapi id 15.20.2263.015; Wed, 11 Sep 2019 07:42:03 +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: AQHVaHRmtK40Zs/IZ0acLECkU+ehCQ== Date: Wed, 11 Sep 2019 07:42:03 +0000 Message-ID: <1568187713-4492-2-git-send-email-andy.hayes@displaylink.com> References: <1568187713-4492-1-git-send-email-andy.hayes@displaylink.com> In-Reply-To: <1568187713-4492-1-git-send-email-andy.hayes@displaylink.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LO2P265CA0146.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9::14) To VI1PR10MB2686.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:803:e4::20) 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: ba11cec6-9969-41e8-f6e9-08d7368b88f9 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:VI1PR10MB2352; x-ms-traffictypediagnostic: VI1PR10MB2352: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1051; x-forefront-prvs: 0157DEB61B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(376002)(136003)(39840400004)(366004)(346002)(189003)(199004)(66556008)(44832011)(53936002)(6116002)(446003)(52116002)(2906002)(86362001)(6506007)(76176011)(186003)(5660300002)(6486002)(99286004)(386003)(478600001)(3846002)(6436002)(476003)(486006)(2616005)(54906003)(25786009)(5640700003)(316002)(6512007)(7736002)(66476007)(50226002)(66066001)(4720700003)(2351001)(305945005)(14454004)(11346002)(66946007)(26005)(66446008)(102836004)(8936002)(64756008)(81156014)(81166006)(36756003)(71190400001)(14444005)(256004)(71200400001)(6916009)(2501003)(4326008)(8676002)(1730700003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR10MB2352;H:VI1PR10MB2686.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: JuQbEdQqetjAv+41EdlT+p7HyXpD461v95e3+rzJ44oprhG4WSpXp0iBXoI1CSGh7+x3DVbHUcXoOnYg+o/HZ8WIR9qkLNiNNeKFDQqSppY/EplpxnDS++RR8vM9nwaWFsxrF2BjMtFngxgutb78a7L5baQA0TtU8mmtZAMcSYoaH5AcPULxlUXliDu835mmPXz0LdDUxxEUqBSlVNawWZt9XpVDtxHYzPlRrg1N9reFRRpvaNDnBXYaX+DbWYJ0e83zCG68qhQ2J13XQo8umzn+K6q3H75uI/CJK8+obKo/l6WSs5JxJfWzAoFfDc6RGtJC5XBw2MGFIrDcM+SzOc/wtOdnl1hDa7gsrYsVXBiD8eqE5zUE6OPaDl2cwke2wpHWPl4Hzq/iXKzKnzpN1M66RZpuYrEyI57zoaqZSd4= MIME-Version: 1.0 X-OriginatorOrg: displaylink.com X-MS-Exchange-CrossTenant-Network-Message-Id: ba11cec6-9969-41e8-f6e9-08d7368b88f9 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Sep 2019 07:42:03.1646 (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: 7YDEnNDBiRcGFHAb37FzetuaQiQPm/IVCaJ0z6o+xwZNxMreVLlTV6Hk/Qg2EKbTsVzzFzYb5IK+Mo7d8aky5eyav2Ar+0KnR8/KpRTTBos= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR10MB2352 X-MC-Unique: oNDjY_kjOl6ma98e5Qnf2g-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