Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2174268iof; Tue, 7 Jun 2022 22:11:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSTp5KzKN8zHuvgfiqR/oyrOK/iqucQvkpGmPpKIwHsZMzUoO4/StmSVXOk2lorIGLuo70 X-Received: by 2002:a17:90b:3909:b0:1e8:4669:ce47 with SMTP id ob9-20020a17090b390900b001e84669ce47mr25046425pjb.124.1654665063792; Tue, 07 Jun 2022 22:11:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654665063; cv=none; d=google.com; s=arc-20160816; b=Kl/mMm1795tIV9kTn3MzWHFikmAvgC4rkgrgxdOWGf7FlbppzgOOI/XFPc430C89k4 mlLUQzutyd0f2Kd9VtgsFhh+EZIo1DciRVwKcwShVUFL7R/fCqNpET67DTRIGvartMxl KMVgNJDIx0aYHCfwy5XYYy9gAx3xLcTTtmQdzTn0jPMZpm/d2O+n/qSerX1x/PDylO44 Sjzpajl7O2a2EgcQ9DP7uRCcWMWmxul5nOflSehpsddm0XAcC4NJtJfyQjAH5OVD/mtd tX+i+94YeD9RCwKcmUhc2FfCGe2nBYWfdg6WWxF2GxEBcsP5sEpbQr6xOAFoWE1WHzTf AWjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=VpZMM3nIIUg8SAe8O5vBSQaTSRtJGAcQXYQ3T0pf1NQ=; b=vtEJuteNMOwufmT98zyKcBTPzBf5+qSXrgveODIM4otVVGC7++WMLwjX5+MYK8KfXO 1PmQ3FKXGXTFZzOSboZt52PSf2vojwvD12pvSNLtc3v+6kdsWDzvWrc4t5khye1Y5iCC AaPsJZS8bgnPyT3+YvI3DYzLP43PX7ioEAvRx001DP63PI6by6eAwweVaT+oZJNEwP/y zxalR7iitU25cDLP6R86qAqUdC60Nw0tySOAFI/F6dKNuhxGU0tsxvV4lojPzAElhG74 yhuoX3cJZST0ml6yQHRH7yJ7zEkw2A72wtF7dp221zXwb4F0z0Du5o2x4ybomlyAtBin o8JA== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s10-20020a170903200a00b00163cd75c04csi3825739pla.281.2022.06.07.22.11.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:11:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 840094012F0; Tue, 7 Jun 2022 21:41:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243756AbiFGMVt (ORCPT + 99 others); Tue, 7 Jun 2022 08:21:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243582AbiFGMVn (ORCPT ); Tue, 7 Jun 2022 08:21:43 -0400 Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC951C5DBD; Tue, 7 Jun 2022 05:20:48 -0700 (PDT) Received: by mail-yb1-f169.google.com with SMTP id w2so30835586ybi.7; Tue, 07 Jun 2022 05:20:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VpZMM3nIIUg8SAe8O5vBSQaTSRtJGAcQXYQ3T0pf1NQ=; b=7N9KlPz1+u3IKG8y0tWAogfbqNchVdAVjUxWOr6piBciSI3brlYpNEBG2OROWyWh8L 2n4XkeAoeeo/qLADsi1zv2KQVwElY/IR9+455n2Y1vOoRGvWJ+h7I8E1nZ8kHSy9ntKR 9uFR+GjhpdsJPxMRRqRn+D1JcENiex1+afbGlEXkoY8kpis1BE/qUbUuFl49sv8HDbyT XlYlCqh4c2d5k1iioJGYzhQ0Q3ANjj+a2lmpp1+7Z2j33nB8GvyLgt0PUo6fAaIdI/w2 lV9HEibr47U40FvBOBNTKEn0oGkPrdVUNSBBdcRKv1SCN2s67MTLhEvHNdKAazIc0iN3 L/bQ== X-Gm-Message-State: AOAM532SJ+NrhVeL+sfzcT1gE5MbPdlVka90Ennl3LbRBEyU0XDJxvJE 4vHv1gMvgpAUz/xHkhC+wln2o5Sk0NlL41T2usE= X-Received: by 2002:a25:6588:0:b0:65d:57b9:c470 with SMTP id z130-20020a256588000000b0065d57b9c470mr30465552ybb.142.1654604447877; Tue, 07 Jun 2022 05:20:47 -0700 (PDT) MIME-Version: 1.0 References: <20220607094752.1029295-1-dario.binacchi@amarulasolutions.com> <20220607103923.5m6j4rykvitofsv4@pengutronix.de> In-Reply-To: <20220607103923.5m6j4rykvitofsv4@pengutronix.de> From: Vincent MAILHOL Date: Tue, 7 Jun 2022 21:20:36 +0900 Message-ID: Subject: Re: [RFC PATCH 00/13] can: slcan: extend supported features To: Marc Kleine-Budde Cc: Dario Binacchi , linux-kernel@vger.kernel.org, Amarula patchwork , michael@amarulasolutions.com, "David S. Miller" , Eric Dumazet , Greg Kroah-Hartman , Jakub Kicinski , Jiri Slaby , Paolo Abeni , Sebastian Andrzej Siewior , Wolfgang Grandegger , linux-can@vger.kernel.org, netdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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: X-Mailing-List: linux-kernel@vger.kernel.org On Tue. 7 Jun 2022 at 19:39, Marc Kleine-Budde wrote: > On 07.06.2022 19:27:05, Vincent MAILHOL wrote: > > On Tue. 7 juin 2022 at 18:47, Dario Binacchi > > wrote: > > > This series originated as a result of CAN communication tests for an > > > application using the USBtin adapter (https://www.fischl.de/usbtin/). > > > The tests showed some errors but for the driver everything was ok. > > > Also, being the first time I used the slcan driver, I was amazed that > > > it was not possible to configure the bitrate via the ip tool. > > > For these two reasons, I started looking at the driver code and realized > > > that it didn't use the CAN network device driver interface. > > > > That's funny! Yesterday, I sent this comment: > > https://lore.kernel.org/linux-can/CAMZ6RqKZwC_OKcgH+WPacY6kbNbj4xR2Gdg2NQtm5Ka5Hfw79A@mail.gmail.com/ > > > > And today, you send a full series to remove all the dust from the > > slcan driver. Do I have some kind of mystical power to summon people > > on the mailing list? > > That would be very useful and awesome super power, I'm a bit jealous. :D > > > > Starting from these assumptions, I tried to: > > > - Use the CAN network device driver interface. > > > > In order to use the CAN network device driver, a.k.a. can-dev module, > > drivers/net/can/Kbuild has to be adjusted: move slcan inside CAN_DEV > > scope. > > > > @Mark: because I will have to send a new version for my can-dev/Kbuild > > cleanup, maybe I can take that change and add it to my series? > > Let's get the your Kconfig/Makefile changes into can-next/master first. > Then Dario can then base this series on that branch. ACK. I'll keep my series as-is.