Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp190551ybi; Thu, 13 Jun 2019 14:06:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZ6Atk5jvQfuw3diP+bAsg4+5p6wxDn7HwANrNU2hUxYA+lBy385c+YBPM8Tv3tyRybuKV X-Received: by 2002:a17:90a:8c82:: with SMTP id b2mr7319873pjo.97.1560460007974; Thu, 13 Jun 2019 14:06:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560460007; cv=none; d=google.com; s=arc-20160816; b=B7v+bNxsqxUTC778BEHkQCgSW/kfeQxJUIHE/mULj2kBVcSubuJFztObyWLwPAaddv CQ/u6XvAvEkZLyzZ3rtjbLQFSaXC2eovO1NuomKaEhFDRixj50hp4YzLNRsl36wSN3a+ rzBkifOpET90iUjWitpOCzThIuxCUhMhALel1BfoYUffQK3qB6Yj2aMKbTENnDdi5ckq g7ZchyWvdD7zbVLWXwNSVw/+0jEjqG8sA+9qr/Jdr24jPzvvjEkIiY5VEbn+WNsA+qNc JWAOV8e0R5ndApITIpsLxA+7Zyir5Lz0+VVCcpzje520aO530EmoxwJ63DQik6CsHoEM 6f2A== 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 :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; bh=uxjiroOFudu9/JgneghUqmEP203VckOfhIBjznN2QiU=; b=EFF6XFmvow8gH14/LSPlyEDm6Lry2j9ShjSyeF5HO7rBSS8eeShdnMicRRtJ+6kVHC etoT633BcmymYnOa20ayIE71LVVq5CJj+xlTGxV8+FhFEOq9wPiaDwtGAJYyWF7aRtap Y74gywFAKypiBCqsHOVyvEi2VngrtTtLYqY6YvJa/emZNPSx6EsSgiEQuwzcgM5Le0pl gE/YmVTRwx3qTOz2oMM6KtPXiaH6BiVVPFOSLCDK/FuNQ1uJ02Jx/AIxnW07XUh1Ge4Y SA44wCiCUz1e6diX7WyC69zPxLbc/dSWGPsBFu6AM7RFmzJa0WogfMv9UZs3fdN1bY8g OGNQ== ARC-Authentication-Results: i=1; mx.google.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v23si480574plo.34.2019.06.13.14.06.32; Thu, 13 Jun 2019 14:06:47 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730214AbfFMVGE (ORCPT + 99 others); Thu, 13 Jun 2019 17:06:04 -0400 Received: from mga04.intel.com ([192.55.52.120]:59043 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfFMVGE (ORCPT ); Thu, 13 Jun 2019 17:06:04 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jun 2019 14:06:03 -0700 X-ExtLoop1: 1 Received: from orsmsx105.amr.corp.intel.com ([10.22.225.132]) by orsmga003.jf.intel.com with ESMTP; 13 Jun 2019 14:06:02 -0700 Received: from orsmsx122.amr.corp.intel.com (10.22.225.227) by ORSMSX105.amr.corp.intel.com (10.22.225.132) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 13 Jun 2019 14:06:02 -0700 Received: from orsmsx102.amr.corp.intel.com ([169.254.3.187]) by ORSMSX122.amr.corp.intel.com ([169.254.11.228]) with mapi id 14.03.0415.000; Thu, 13 Jun 2019 14:06:02 -0700 From: "Yang, Fei" To: John Stultz CC: Felipe Balbi , "mgautam@codeaurora.org" , Andrzej Pietrasiewicz , Linux USB List , lkml , Greg KH , Andrzej Pietrasiewicz Subject: RE: [PATCH] usb: gadget: f_fs: data_len used before properly set Thread-Topic: [PATCH] usb: gadget: f_fs: data_len used before properly set Thread-Index: AQHVIhpu+QIEYVtaVU6Xn558US2yDaaaBJ0A Date: Thu, 13 Jun 2019 21:06:01 +0000 Message-ID: <02E7334B1630744CBDC55DA8586225837F8A676C@ORSMSX102.amr.corp.intel.com> References: <1560377606-40855-1-git-send-email-fei.yang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzFjMTJhZTgtMjM4ZC00YjdhLThlZjEtZWQyMGVmYzQ2ZWI0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSHdIbUxXQkd6ZHFnc3pScTFCdHBMaDNGZE1GcCs5T1wvZkhQeFwvUGJ1NXFUY0VSWVZUQ1kyaGZcLzMwY1VybEpXVCJ9 dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pj4gVGhlIGZvbGxvd2luZyBsaW5lIG9mIGNvZGUgaW4gZnVuY3Rpb24gZmZzX2VwZmlsZV9pbyBp cyB0cnlpbmcgdG8gc2V0IA0KPj4gZmxhZyBpb19kYXRhLT51c2Vfc2cgaW4gY2FzZSBidWZmZXIg cmVxdWlyZWQgaXMgbGFyZ2VyIHRoYW4gb25lIHBhZ2UuDQo+Pg0KPj4gICAgIGlvX2RhdGEtPnVz ZV9zZyA9IGdhZGdldC0+c2dfc3VwcG9ydGVkICYmIGRhdGFfbGVuID4gUEFHRV9TSVpFOw0KPj4N Cj4+IEhvd2V2ZXIgYXQgdGhpcyBwb2ludCBvZiB0aW1lIHRoZSB2YXJpYWJsZSBkYXRhX2xlbiBo YXMgbm90IGJlZW4gc2V0IA0KPj4gdG8gdGhlIHByb3BlciBidWZmZXIgc2l6ZSB5ZXQuIFRoZSBj b25zZXF1ZW5jZSBpcyB0aGF0IGlvX2RhdGEtPnVzZV9zZyANCj4+IGlzIGFsd2F5cyBzZXQgcmVn YXJkbGVzcyB3aGF0IGJ1ZmZlciBzaXplIHJlYWxseSBpcywgYmVjYXVzZSB0aGUgDQo+PiBjb25k aXRpb24gKGRhdGFfbGVuID4gUEFHRV9TSVpFKSBpcyBlZmZlY3RpdmVseSBhbiB1bnNpZ25lZCBj b21wYXJpc29uIA0KPj4gYmV0d2VlbiAtRUlOVkFMIGFuZCBQQUdFX1NJWkUgd2hpY2ggd291bGQg YWx3YXlzIHJlc3VsdCBpbiBUUlVFLg0KPj4NCj4+IEZpeGVzOiA3NzJhN2E3MjRmNjkgKCJ1c2I6 IGdhZGdldDogZl9mczogQWxsb3cgc2NhdHRlci1nYXRoZXIgDQo+PiBidWZmZXJzIikNCj4+IFNp Z25lZC1vZmYtYnk6IEZlaSBZYW5nIDxmZWkue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