From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C856C433E0 for ; Fri, 31 Jul 2020 12:40:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 33C9221744 for ; Fri, 31 Jul 2020 12:40:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596199252; bh=Pt1S98f0GzIE3AAoj+4sq2CBEAjfR0SVaxb/dca5dmc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=04QUMkH705tPhiaV0ENWvlnRAYoOk4zoiFXViV+k8zMXXjhtBH0Ab2ImjNbsrbEkD kAsF+VUewcHXVhSbbR3Qf/vtX5BC6GgE4dZ+JkR0gjJl311C5IoD48lmczMCB2QLzy zQ16Zrh59z8bYrGi9Sk2bsDZvD4joQoskE61WwL4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733218AbgGaMkv (ORCPT ); Fri, 31 Jul 2020 08:40:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:53726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733216AbgGaMkv (ORCPT ); Fri, 31 Jul 2020 08:40:51 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 3420621744; Fri, 31 Jul 2020 12:40:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596199250; bh=Pt1S98f0GzIE3AAoj+4sq2CBEAjfR0SVaxb/dca5dmc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xUV6h0YtM1KiAG4GBOeaFkD4UyQQkUDaU4z6OfG0q003a/iyU/xaYkXx7pBXpxljS cZDNilfa82croF8TomtZSU63xNIlNxIzcoHNPHvBzUaUHOO0OoxLEL7zJGN7Wv78mi m7hr7smE8oUTadvR0ClNkIlK+LwhTHijHY39uYos= Date: Fri, 31 Jul 2020 14:40:37 +0200 From: Greg KH To: Christian Gromm Cc: driverdev-devel@linuxdriverproject.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v7] drivers: most: add USB adapter driver Message-ID: <20200731124037.GA1689939@kroah.com> References: <1596198058-26541-1-git-send-email-christian.gromm@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1596198058-26541-1-git-send-email-christian.gromm@microchip.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Fri, Jul 31, 2020 at 02:20:58PM +0200, Christian Gromm wrote: > This patch adds the USB driver source file most_usb.c and > modifies the Makefile and Kconfig accordingly. > > Signed-off-by: Christian Gromm > --- > v2: > Reported-by: Greg Kroah-Hartman > - don't remove usb driver from staging area > - don't touch staging/most/Kconfig > - remove subdirectory for USB driver and put source file into > drivers/most > v3: > - submitted fixes found during code audit to staging version > first to be able to resend single patch that adds the driver > v4: > Reported-by: Dan Carpenter > > submitted patch set that fixes issues found during code audit > to staging version first to be able to resend single patch that > adds the driver. The patch series included: > > - use function sysfs_streq > - add missing put_device calls > - use correct error codes > - replace code to calculate array index > - don't use error path to exit function on success > - move allocation of URB out of critical section > - return 0 instead of variable > - change return value of function drci_rd_reg > - don't use expressions that might fail in a declaration > - change order of function parameters > > v5: > Reported-by: Dan Carpenter > > submitted patch set that fixes issues found during code audit > to staging version first to be able to resend single patch that > adds the driver. The patch series included: > > - init return value in default path of switch/case expression > > v6: > Reported-by: Randy Dunlap > > remove dependency to NET in Kconfig file > > v7: > Reported-by: Greg Kroah-Hartman > > created patch with 'git format-patch -M' to show that this is > a move only. > > drivers/most/Kconfig | 11 +++++++++++ > drivers/most/Makefile | 2 ++ > drivers/{staging/most/usb/usb.c => most/most_usb.c} | 0 > drivers/staging/most/Kconfig | 2 -- > drivers/staging/most/usb/Kconfig | 13 ------------- > drivers/staging/most/usb/Makefile | 4 ---- > 6 files changed, 13 insertions(+), 19 deletions(-) > rename drivers/{staging/most/usb/usb.c => most/most_usb.c} (100%) > delete mode 100644 drivers/staging/most/usb/Kconfig > delete mode 100644 drivers/staging/most/usb/Makefile Thanks, this worked, now queued up! greg k-h