Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4423478iog; Tue, 21 Jun 2022 20:32:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vkcekYbw5JIKsyWWUG6A6wpt15K7Xh1lDOvX7T6FNgdPcN5bYCi0+xf1YV/gMorLQETKbG X-Received: by 2002:a05:6402:2554:b0:435:a3fb:9ab4 with SMTP id l20-20020a056402255400b00435a3fb9ab4mr1663678edb.5.1655868737337; Tue, 21 Jun 2022 20:32:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655868737; cv=none; d=google.com; s=arc-20160816; b=tmta+Ytprdl7tJu0C/I1zoDxZ+nEyXy/4UGUGMgOgZ/bNRu3i9d1dj9kKSzFxMo5jE U+G71zRcT7x9sl858fJfpQdneC97jGjDW/iZBk3brjXMJb9EMOQJgHfGVWxMjEnOkiye zrEjTjh6xo6+YRYrylwyVVZJR01IGlNjpgBOYUbX2fDkoYcId+Avg+EOjkaq6K+sNByc 2et2jYeS81URH7aw87rJ7Xpe2GJBmCo5CWOlgiDUc+pNZ13bIKWGdc9Dj+Er8ktHLu2P TonKIFtfgFsy8dOjIGfBEiYlmYAVWC19D6gd2Aoaf9EI7LOpY3HsAvjS+iMXBwDuPWwk izIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=mh1gh85hH3ZOlHVdkEguNSu8D6H0JMyDcIOF+uBBbxw=; b=NTrClDLQ0+tgZ7oyNh4wZtQ38+QcfN9WlJQM+PzILPrgnY+C7VmwqknK2qmG/mdyOb j9EPyYStmjNyu7S49SIAVt5vC+HKEAy96HgFcZdZfGzfVtmhlLjbI/nLje5yEEyRyO4O kXsSob7woBogxrhrar5hKWZxXfcEfqwbVXYqKp60ESHO7oGv6iCBQZdRrg9cvHxQmklB Ogtle3QGYOp6hvAjb0QNgN4RuqybACfDG62SuqtnTFcFZNTqSMDt4wCISASRyDTJroU0 WQtwwdCc0sUOVZsn8Bpl5krbe7v834tQWXazLog74UPd5jBCR4jCLHVYkLEofH0iBSYf PunQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=m3uZFftz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d26-20020a056402401a00b004359684a74fsi4087460eda.564.2022.06.21.20.31.52; Tue, 21 Jun 2022 20:32:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=m3uZFftz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232810AbiFVDJa (ORCPT + 99 others); Tue, 21 Jun 2022 23:09:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356433AbiFVDJ1 (ORCPT ); Tue, 21 Jun 2022 23:09:27 -0400 Received: from m13110.mail.163.com (m13110.mail.163.com [220.181.13.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D6F532E9C5; Tue, 21 Jun 2022 20:09:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=iXs7L R1EaZubeCgF4V20nqsxFMsXH0+Zl3GUrT9ynxU=; b=m3uZFftzlKmU8xyLuEcSU 4WUeYiQ833y2KHgn2IdBjDucVTxTFvblZ5MDcRe1geHRVoTN8yInjZE6UpM1ZoaK 6Ts7pPN0q55gO/M/NoOy6tbW0fC2VySzqUYIht6ozmn2lYm9Fs4dEGX1qDvaeZIl dMf0q9vy9LB1pomu8d1sxc= Received: from slark_xiao$163.com ( [112.97.63.176] ) by ajax-webmail-wmsvr110 (Coremail) ; Wed, 22 Jun 2022 11:08:49 +0800 (CST) X-Originating-IP: [112.97.63.176] Date: Wed, 22 Jun 2022 11:08:49 +0800 (CST) From: "Slark Xiao" To: "Johan Hovold" Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re:Re: [PATCH] USB: serial: use kmemdup instead of kmalloc + memcpy X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.13 build 20220113(9671e152) Copyright (c) 2002-2022 www.mailtech.cn 163com In-Reply-To: References: <20220620105939.5128-1-slark_xiao@163.com> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=GBK MIME-Version: 1.0 Message-ID: <10bf330.1519.18189624c34.Coremail.slark_xiao@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: bsGowADXQwfCh7JisOoRAA--.7103W X-CM-SenderInfo: xvod2y5b0lt0i6rwjhhfrp/xtbCdQEoZGBbD9CRLgAAsj X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X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