Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp2300498imc; Sat, 23 Feb 2019 00:01:09 -0800 (PST) X-Google-Smtp-Source: AHgI3IZSY51hX3Mad8uOsOGcG628HGnkj9JDOcOqpsD1mCW4Y+QIvqbw1bWWCjPBaqX8AWSiAc8M X-Received: by 2002:a62:f5d7:: with SMTP id b84mr8349128pfm.36.1550908869719; Sat, 23 Feb 2019 00:01:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550908869; cv=none; d=google.com; s=arc-20160816; b=p1voapC1wm7FzoiOndtCckeMwpv6p+qYdTL/jqDaxMKLhO/HwfJgZWLNjAHykWNsFk S9f3bQsbFUqMlTNgZQY6YSRr8V8nsmrD8eSoQqH9sBcLhV7hN+7U23vEJBwO+PGEdkII Ir/+TcWqJ5iV0kD/04wnF3RZI9nN187kB3AlvIFvcbzDlUesjhY687RZmCM7Q5Oq5LcD bwyGJ4uR0EJOzvY+OlI2gpyzCuzXKZh1LJgk14dIYJIjjLFfCvhBxzhpPWvLdVxGQIX6 mqbp5ceY6G9iHWZJos4whBfz4gUZE4Z1HBAH/RqDQfABzk6hSFhr5VsCc+KvCPr7QIrA rQ7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BGhdrXC9v6u7b7zEy9V1y7k6hkN0GIqcc8CA4o1dRE4=; b=qHg+nwkRDoOh5jyt9QRWAMzRLXc/0WpGONk5lqmdQVBtwxQOH8bZ64LNyCPVhFAdE8 krsf7etBllJCX4/9TvPpZwucoQFeVoV+tqShNj9FCX6iAgSL6YC+pjHYWpS0eJDLOJN9 XTQpVzvnl8L2Jr6DaA+FhV9NFNoOnOv4TajCLiO9bCI6OPD8Mvy0b20uHMWyMkByp4XM OLISl8XDi2sJiMnd63WJt36DH25ZpY6zmBKIQEqzr4Dr5nayVW6y/nasNYWnHQxTsEw4 YgQBK6NONJ3HqgIzcCzIh3+p1cDYS4GxM4p52F9D6tHMjpPPtasiMdxXWLEBWWxkvszR 6Cdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GtwWKZCK; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j73si3262833pge.263.2019.02.23.00.00.53; Sat, 23 Feb 2019 00:01:09 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=GtwWKZCK; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726066AbfBWIAV (ORCPT + 99 others); Sat, 23 Feb 2019 03:00:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:55924 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725868AbfBWIAV (ORCPT ); Sat, 23 Feb 2019 03:00:21 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.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 C8430206BA; Sat, 23 Feb 2019 08:00:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550908820; bh=xjKFxr8bMCVS4GLGeKa2wFkLUgeSGo66Gv53TDAz3sA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GtwWKZCK4y6NsjcTr8AvTBuJR7jw1Tu9G8KxgRCfc7qr5ahc2JOCWwXkr+exrVKvL Jc1/n+QDVaOPa5D89ejrVEKBWm+Eq9yvHTSWM/8eDTh4k7Zfs6hPEfiHYw4Ds4TbHb aoyiDsrVrv3Jk3SqiE02xiIzZFGQ+zAxuIH0JnVM= Date: Sat, 23 Feb 2019 09:00:17 +0100 From: Greg Kroah-Hartman To: Marcin Ciupak Cc: Joe Perches , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Dan Carpenter Subject: Re: [PATCH v4] staging: nrf24: add new driver for 2.4GHz radio transceiver Message-ID: <20190223080017.GC2640@kroah.com> References: <20190213194035.n2ldlt7xque5qaps@metis.ciupak.eu> <20190219102010.GA18634@kroah.com> <20190222202055.udjbsm5qkxzkqcdh@metis.ciupak.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190222202055.udjbsm5qkxzkqcdh@metis.ciupak.eu> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 22, 2019 at 09:20:56PM +0100, Marcin Ciupak wrote: > On Tue, Feb 19, 2019 at 11:20:10AM +0100, Greg Kroah-Hartman wrote: > > On Wed, Feb 13, 2019 at 08:40:35PM +0100, Marcin Ciupak wrote: > > > This patch adds driver for Nordic Semiconductor nRF24L01+ radio > > > transceiver. > > > > > > Signed-off-by: Marcin Ciupak > > > --- > > > Changes in v2: > > > - add terminating newlines to all logging formats > > > Changes in v3: > > > - patch subject > > > - comments cleanup > > > - goto labels cleanup > > > - scnprintf bugfix > > > - ida_simple_remove bugfix > > > Changes in v4: > > > - fix smatch warnings > > > > What is preventing this from being merged today with the normal > > subsystem for this type of drivers? Why does this have to go into > > staging? > > > > thanks, > > > > greg k-h > > As per TODO file: > +Todo: > +- opening and closing pipes via sysfs That's not what sysfs is for, so that can't be a TODO item :) > +- improve switching in between RX and TX > +- improve handling of MAX_RT interrupt That's just logic cleanup, no reason to have it in staging. > +- find and fix bugs Same here. > +- code cleanup What specifically do you mean by this? And why can't you just spend a day and do it now? > > Additionally, I would like to add ioctl (or any similar) interface > as configuration via sysfs is not very efficent in here. sysfs is not for configuration, that is what configfs is for, please use that instead. > My beliefes are that this driver needs some time in staging, but I might > be wrong and if you believe otherwise just let me know and I will try to > push it ti regular sybsystem. I think you need to use the standard apis that the kernel has for drivers like this (v4l?) and work on getting the driver into the proper subsystem first. I don't see what the goal of getting it into staging is going to do to help you out with that. thanks, greg k-h