Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp292703pxk; Wed, 23 Sep 2020 03:26:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzY6cifDrkVLyJDwWGSS00kiRKwhr7Kc6vKyRQG2d82ygMwTwBp0OSkPFcLJDW7SakR1XHN X-Received: by 2002:a50:f1cd:: with SMTP id y13mr8977188edl.358.1600856795003; Wed, 23 Sep 2020 03:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600856794; cv=none; d=google.com; s=arc-20160816; b=BMwlAGHkrFJeWtvRbmLbVnN3gOwcof+GXtKjc2NUWdNOnrnlv0WKEiPmI4Kn5ygPqQ gPRoE8pwjYHLNzfynrzdGSbQ71I43g7hMWXSWZHawkjaWA7itI662GKo37D97NLPl2Ho ZHZVO/ByDjynig/BJYgxx6AaFFw9q4gIsMTaLZYT0GB4wdHz9auisK51PXHlbkiX45O3 GDG4cUziksEyiPwHBp5X2jRu+MPInW6+jFxW9UHi6JdIbMeAeU1yF3rNAYEcNUJ7Mfn8 wuJOCznIHTO1H/lbA5ECo1IPwMaidOzUiheG+DH3WbKbIpyNgM2hQMxjfQgNt60lWZd0 Sr0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=n8nv8cXy9v358DLAPBhqm/TGGdfbRPN3nIa6bc/rE+s=; b=ugyXIWS0D4NAVQZYyXJyqzDuZNxPHwzyaSDf7uu8qVcHgE0VHKOujZIRmZPu9UqdIT KH7I3kZvAfQGUOsMqGmfaBoI3Ua4D1le3tRmHbjHINaukR3/LhTEN/7ChWnY12TLDi0J xvBlak+v3P01Ka715BvjfF3WxNXM8y36uX7i/O6gnKI7Wc9lLgvXKbrvmMSK+rGfX1QB TthAIZ6ZRB7DLMpPk1WCqgc/q0TUBElTaxVdO8sp5EIL3il153m+CiFyp7bNp+bhqxv/ LqBFPQniTipbJj2QMeWGkpl+q1Ow933nShfVYwY2oHmRt3bNQ2CgMipdRPTixymtMHWD oLOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=K1hQRymb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ay26si12059771edb.269.2020.09.23.03.26.10; Wed, 23 Sep 2020 03:26:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=K1hQRymb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726831AbgIWKXN (ORCPT + 99 others); Wed, 23 Sep 2020 06:23:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:45378 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726332AbgIWKXL (ORCPT ); Wed, 23 Sep 2020 06:23:11 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 70D10238D7; Wed, 23 Sep 2020 10:23:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600856591; bh=vbe7KhLEZRy4OEuhFJNKIUNqjK+4f7n+EAp2CYmrpyI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K1hQRymbnkZkbCaJfs7jUvv1JxrUwU4Z6Nl9qJwa5StOAbwQv4gM3cVnqrE6VuDr1 6ymn5CiB7/D1c0bpifdyydecHdfJWw6nTtOlgZMLUX4FNTzjUheVGgGtb/s+VFJtAz DacfhjfPQxE1VqvdcGhcmTkd30hsdFOknC4gcMoI= Date: Wed, 23 Sep 2020 12:23:30 +0200 From: Greg KH To: Himadri Pandya Cc: davem@davemloft.net, kuba@kernel.org, oneukum@suse.com, pankaj.laxminarayan.bharadiya@intel.com, keescook@chromium.org, yuehaibing@huawei.com, petkan@nucleusys.com, ogiannou@gmail.com, linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: [PATCH 0/4] net: usb: avoid using usb_control_msg() directly Message-ID: <20200923102330.GB3154647@kroah.com> References: <20200923090519.361-1-himadrispandya@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200923090519.361-1-himadrispandya@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 23, 2020 at 02:35:15PM +0530, Himadri Pandya wrote: > A recent bug-fix shaded light on possible incorrect use of > usb_control_msg() without proper error check. This resulted in > introducing new usb core api wrapper functions usb_control_msg_send() > and usb_control_msg_recv() by Greg KH. This patch series continue the > clean-up using the new functions. > > Himadri Pandya (4): > net: usbnet: use usb_control_msg_recv() and usb_control_msg_send() > net: sierra_net: use usb_control_msg_recv() > net: usb: rtl8150: use usb_control_msg_recv() and > usb_control_msg_send() > net: rndis_host: use usb_control_msg_recv() and usb_control_msg_send() > > drivers/net/usb/rndis_host.c | 44 +++++++++++++--------------------- > drivers/net/usb/rtl8150.c | 32 +++++-------------------- > drivers/net/usb/sierra_net.c | 17 ++++++------- > drivers/net/usb/usbnet.c | 46 ++++-------------------------------- > 4 files changed, 34 insertions(+), 105 deletions(-) > Note, all of these depend on a set of patches in my usb tree, so they should probably wait to be sent to the networking developers until after 5.10-rc1 is out. thanks, greg k-h