Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp540392iob; Wed, 18 May 2022 07:39:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQMogFpC6P9yASjYAS79btQAyYv4npvCoxMfiWFCUFG2qT3bo/XFigF36PiOowlagHSmDq X-Received: by 2002:a63:5012:0:b0:3f5:ef64:6557 with SMTP id e18-20020a635012000000b003f5ef646557mr4468165pgb.33.1652884741807; Wed, 18 May 2022 07:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652884741; cv=none; d=google.com; s=arc-20160816; b=Qf+56yvDuCvQo0RttmHhC8at7tL0TMbEWE7DAAoUf9n3lPqqPSD70yIZkDAbi2gwha rJW7mLGypqb2UqoKqNp+BIEXe/gVXTcfxPAxEPfzfnnVxi8T2W9NC3f8cW81caUPGKe1 3bJiELQw2jrDNlqDb0XRvQ2JcVttDoYLr10mZy3rQtGdXL6ERphC3xCYKkvFNgzoovyS JgFn/bWTYtbx+eQIjhFVD/39OscOgbJhJDF26ptMnOaUGwSHOtex8VVFHLj81+d1igiv I/ijfV3Vt4ZJFjqHBvGElk+T5Cts1hZBVU7XluRo3IUgXrh61lj6iwhWJC2dtiGTlVKV AOBQ== 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; bh=WJI7wN+z3vB7F9hY4ERZCHsGxKu+gNWQszDUob0gmRs=; b=xgYWsMp+ogxV0wzlZ2gJsERnOtUSujRIueOvD4B97SwjO6FutQPLQM0sjICZOGsV8s Di3CTRfkI5qbCkz0R3CwPQcMeNwPXJlrcpEaqSTQRKQoPP/PMhILYkGdYc5PQtoieEpr 3/x83mKy5/mK9ZyR+FjNZ4z9vNdf1ztx4XMa8W0QqKMs4+8Hs5N65wMScoAOkRRFbd+j OFiGshAzmXMPt9B6L3Iq4yIgUTfIjqzekIiayGkirq9GqNjdor80ZV8sOECSUb6z9u9X 9DU6ZJJw9LAatyNVbnit0pqynMbrJoDLCsGwKILfOjTKrqleduoxydaXYlt3JXYVrVr4 uv+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id a7-20020a170902ecc700b001618cb78b54si3022009plh.405.2022.05.18.07.39.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 07:39:01 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 69FA632047; Wed, 18 May 2022 07:36:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238710AbiEROg1 (ORCPT + 99 others); Wed, 18 May 2022 10:36:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238673AbiEROgW (ORCPT ); Wed, 18 May 2022 10:36:22 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86F5031931 for ; Wed, 18 May 2022 07:36:19 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nrKmd-0000Bl-4q; Wed, 18 May 2022 16:36:15 +0200 Received: from pengutronix.de (unknown [IPv6:2a01:4f8:1c1c:29e9:22:41ff:fe00:1400]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 17E5B81582; Wed, 18 May 2022 14:36:14 +0000 (UTC) Date: Wed, 18 May 2022 16:36:13 +0200 From: Marc Kleine-Budde To: Oliver Hartkopp Cc: Vincent MAILHOL , Max Staudt , linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v3 3/4] can: skb:: move can_dropped_invalid_skb and can_skb_headroom_valid to skb.c Message-ID: <20220518143613.2a7alnw6vtkw7ct2@pengutronix.de> References: <20220517141404.578d188a.max@enpas.org> <20220517122153.4r6n6kkbdslsa2hv@pengutronix.de> <20220517143921.08458f2c.max@enpas.org> <0b505b1f-1ee4-5a2c-3bbf-6e9822f78817@hartkopp.net> <43768ff7-71f8-a6c3-18f8-28609e49eedd@hartkopp.net> <20220518132811.xfmwms2cu3bfxgrp@pengutronix.de> <3dbe135e-d13c-5c5d-e7e4-b9c13b820fb8@hartkopp.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wrv6rczef3xtxlyw" Content-Disposition: inline In-Reply-To: <3dbe135e-d13c-5c5d-e7e4-b9c13b820fb8@hartkopp.net> X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org 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 --wrv6rczef3xtxlyw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 18.05.2022 16:33:58, Oliver Hartkopp wrote: > > > > And what about the LEDS support depending on BROKEN? > > > > That was introduced by commit 30f3b42147ba6f ("can: mark led trigge= r as > > > > broken") from Uwe as it seems there were some changes in 2018. > > >=20 > > > There's a proper generic LED trigger now for network devices. So remo= ve > > > LED triggers, too. > >=20 > > Yes, the broken LED topic also popped-up last year: > >=20 > > https://lore.kernel.org/linux-can/20210906143057.zrpor5fkh67uqwi2@pengu= tronix.de/ > I am OK to add one patch to the series for LED removal. >=20 > Hm. We have several drivers that support LED triggers: >=20 > $ git grep led.h > at91_can.c:#include > c_can/c_can_main.c:#include > ctucanfd/ctucanfd_base.c:#include > dev/dev.c:#include > flexcan/flexcan-core.c:#include > led.c:#include > m_can/m_can.h:#include > rcar/rcar_can.c:#include > rcar/rcar_canfd.c:#include > sja1000/sja1000.c:#include > spi/hi311x.c:#include > spi/mcp251x.c:#include > sun4i_can.c:#include > ti_hecc.c:#include > usb/mcba_usb.c:#include > usb/usb_8dev.c:#include > xilinx_can.c:#include >=20 > And I personally like the ability to be able to fire some LEDS (either as > GPIO or probably in a window manager). >=20 > I would suggest to remove the Kconfig entry but not all the code inside t= he > drivers, so that a volunteer can convert the LED support based on the > existing trigger points in the drivers code later. The generic netdev LED trigger code doesn't need any support in the netdev driver. Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --wrv6rczef3xtxlyw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmKFBFsACgkQrX5LkNig 012tlQf+LT2ROunCO3x7zZZLFd/l4EUXwAtDbMP3DxdGpd2XNnDUYupag0EPPojc dAghmn07jvCZiV/jhC1UPhtq0LZ4vRVNQ+66NaROXooBo7eH31MALEvCaytYnfhh /cGz0VzzhhnyZTf7pcFL3NXXffrLvFtVG93TXMOLQcS19ucysg7AVWP5mU3wI9K4 c+ZyeNpZ+17oQlYYOqb8p1uN6xKqJXuU4CU6bfcTEF9pBzimQZj0hFT+EIR7oo3F J2LuqbV12IBoyPJalGnHgmrGU8Hk6qC9IVjKC2NwZa8JIdmUKFEPHhq3e8CkCi9U FHgeZRMYaypDzsYmsyoWmgrHM8y8hQ== =rdYd -----END PGP SIGNATURE----- --wrv6rczef3xtxlyw--