Message ID | cover.1675016180.git.christophe.jaillet@wanadoo.fr |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1845914wrn; Sun, 29 Jan 2023 10:35:40 -0800 (PST) X-Google-Smtp-Source: AK7set9JHUcJZlSn6F9zeFJezhHrGMJSujcN4b309bqTGFn9XrIExkB1VdgAivF/k1ckMljKWzNU X-Received: by 2002:a05:6a20:5149:b0:bc:9027:5f48 with SMTP id b9-20020a056a20514900b000bc90275f48mr4141407pzc.52.1675017340322; Sun, 29 Jan 2023 10:35:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675017340; cv=none; d=google.com; s=arc-20160816; b=ZKk45ezrNWGOb++sWApv3pHlyVtd1IRISNxEyjYlTgD8ivc/PPAfIo71co8EuU86qV Dw7JnGtoh7jo3PHuA3cTGn2Q353oAXqj21vtxoOn6T5CscxKVqpNMQdnkMchLph0tMIR UcrBTaO+HoG/8Giis/lWvzyocFKwkAgz59kh9o5RWW7xpdrSXpSR8HYSDDZKY51lmWxs stLH8ru6l5UHl9ldYFpo35ysTLkI/QgZ0bGCS2dHG3brjiF6Okrar7iRGcl4v+5cM+7O MOWsy4yfaTXPkwuWd9ixegw7lQu81GyAF9QObHYWw1mcqf9WYpG33zZcywVrC++bNCLj vSYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=+idOig9luThdYudmJ5Le8XK0Dr1SPB7sgSJRCeSsNps=; b=C2V6UYLzyyv+fEnWDD8U7tjv0cSVb3VSZ2BAqKre6z1OLMF2CknpSINem8/yalZhD7 V/cV0tGhrh6/OjThuJc8vyya4cICr39oq1UCOD/4nHsPq0O73YLCjY4JZH8tvX5szHTR 3l7JrBeRYtnwf3NI70drI+kB5LgfHKuBLIx46cwCsLmluqqdQGwouYjkJl4+ngArAy23 Wn3a434fWrac/Pn9hkK3DZUnbcZwDMUjCHL8c5+puivo23DllNuvPiqRS7UPbnphlVCz Y9v0iKc5l4M7uW48jcjmjaqDqACmN6V3r0Isv9oMmFsNeevQp67nBwpH/MnZMSLUC1kU ay9w== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f8-20020a637548000000b004db77bd5bbdsi10046122pgn.175.2023.01.29.10.35.28; Sun, 29 Jan 2023 10:35:40 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235038AbjA2SVv (ORCPT <rfc822;n2h9z4@gmail.com> + 99 others); Sun, 29 Jan 2023 13:21:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234784AbjA2SVu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 29 Jan 2023 13:21:50 -0500 Received: from smtp.smtpout.orange.fr (smtp-28.smtpout.orange.fr [80.12.242.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 738B71ADEB for <linux-kernel@vger.kernel.org>; Sun, 29 Jan 2023 10:21:49 -0800 (PST) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id MCJCpl46wEUgAMCJCp8QgR; Sun, 29 Jan 2023 19:21:45 +0100 X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 29 Jan 2023 19:21:45 +0100 X-ME-IP: 86.243.2.178 From: Christophe JAILLET <christophe.jaillet@wanadoo.fr> To: gregkh@linuxfoundation.org, peterz@infradead.org, pmladek@suse.com, john.ogness@linutronix.de, baolu.lu@linux.intel.com, tglx@linutronix.de, mingo@kernel.org Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET <christophe.jaillet@wanadoo.fr> Subject: [PATCH 0/3] usb: early: xhci-dbc: Some fixes and speed-up Date: Sun, 29 Jan 2023 19:21:36 +0100 Message-Id: <cover.1675016180.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756382982333024432?= X-GMAIL-MSGID: =?utf-8?q?1756382982333024432?= |
Series |
usb: early: xhci-dbc: Some fixes and speed-up
|
|
Message
Christophe JAILLET
Jan. 29, 2023, 6:21 p.m. UTC
While looking at places were using memcpy_and_pad() could be useful, I spotted 1 issue (patch 1) and 1 potential optimization (patch 2). The use of memcpy_and_pad() is in patch 3. Christophe JAILLET (3): usb: early: xhci-dbc: Fix a potential access to usb: early: xhci-dbc: Optimize early_xdbc_write() usb: early: xhci-dbc: Use memcpy_and_pad() drivers/usb/early/xhci-dbc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)