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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92FCCC433EF for ; Wed, 8 Jun 2022 02:49:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229689AbiFHCsr (ORCPT ); Tue, 7 Jun 2022 22:48:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354025AbiFHCgH (ORCPT ); Tue, 7 Jun 2022 22:36:07 -0400 Received: from mail.enpas.org (zhong.enpas.org [IPv6:2a03:4000:2:537::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C99EE13F928; Tue, 7 Jun 2022 17:15:46 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.enpas.org (Postfix) with ESMTPSA id AD247FFB6C; Wed, 8 Jun 2022 00:15:44 +0000 (UTC) Date: Wed, 8 Jun 2022 02:15:37 +0200 From: Max Staudt To: Dario Binacchi Cc: linux-kernel@vger.kernel.org, Amarula patchwork , michael@amarulasolutions.com, "David S. Miller" , Eric Dumazet , Greg Kroah-Hartman , Jakub Kicinski , Jiri Slaby , Marc Kleine-Budde , Paolo Abeni , Sebastian Andrzej Siewior , Vincent Mailhol , Wolfgang Grandegger , linux-can@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [RFC PATCH 00/13] can: slcan: extend supported features Message-ID: <20220608021537.04c45cf9.max@enpas.org> In-Reply-To: <20220607094752.1029295-1-dario.binacchi@amarulasolutions.com> References: <20220607094752.1029295-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dario, thank you so much for working on slcan! To speed up the slcan cleanup, may I suggest looking at can327? It started as a modification of slcan, and over the past few months, it has gone through several review rounds in upstreaming. In fact, a *ton* of things pointed out during reviews would apply 1:1 to slcan. What's more, there's legacy stuff that's no longer needed. No SLCAN_MAGIC, no slcan_devs, ... it's all gone in can327. May I suggest you have a look at it and bring slcan's boilerplate in line with it? It's certainly not perfect (7 patch series and counting, and that's just the public ones), but I'm sure that looking at the two drivers side-by-side could serve as a good starting point, to avoid re-reviewing the same things all over again. The current out-of-tree version can be found here (the repo name is still the old one, elmcan), where I occasionally push changes before bundling them up into an upstreaming patch. If a specific line seems strange to you, "git blame" on this repo is likely to dig up a helpful commit message, explaining the choice: https://github.com/norly/elmcan https://git.enpas.org/?p=elmcan.git Max