Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2123278rwb; Wed, 5 Oct 2022 09:18:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4nEDpl9Xc5fVPet5lqaSK5OmLz2vvBFnQN6R7ZcaPqpiKBRv3UqcURiaFnmb9BKnCXpuhz X-Received: by 2002:a17:902:b942:b0:178:4a7e:da04 with SMTP id h2-20020a170902b94200b001784a7eda04mr330700pls.8.1664986706968; Wed, 05 Oct 2022 09:18:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664986706; cv=none; d=google.com; s=arc-20160816; b=PQx9bTOX8an1fIKkmY246gc2/3UcOj7TYRhzE/HTnUDHhOkxzpZNjRJn5X9DSYNrhc iHqLojZPGeE6GNxz0frCxbiD8R0j4XBIQEsx7Ia/9CzIro4ozzuJ3wFqCJ7Z0TCMJ3cb gGhh5MVAnSFGtX7cvyIgxuEo/uIJGqkAs/D2mWznd6cBWA2GkLZ4qXYj0X7Y6qAM6GZN mjqeau9Hqa5gtDcGKlsqqkaLpdXDh/J6Z2r78qkp0awDJZ92nWGU3at7zKkQD4gJ77Ht G2nUAoY9dp/KWlQYm34ZUerPilX2sfGDKZcOf4N/Lhzmmrshv1kOX2tO3ys6X2bYRjxA jmGg== 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=T181xZaoavjj/uvs+RcnWpakTcHpl2pJ2ErTOe1qCzQ=; b=kxZRJNTkIJrU1i3vauJ8E/GMF1sc9aAKVlXMOoCvGirAIkdZ5eKRPgwVa3eCinsche EK8hfi482p334ugs3J/H7RS0afC3aZEcjwF7QlTDcAMDtsScbOGPedrkWREAwGWM/j7W dJD01s2xUwVylbfYJKpMTVONvyr8ZCByczPo5XuK/G2LntPqyQqjoxrUv4ipcYoGKHmp QShc4ackP4JQNhN8MBJ/BndSnPFro22nXrbJGDAFNGWGUac0VaNaFlbZ0djatbmhkVO9 g5moQqHWkuooRn2Pw/cKKDXK/rkoiqRd/9jOHgeLI4e9jDWOXETfHMKUd11dPc6ohkTj rotg== 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s186-20020a632cc3000000b0043ab17fdf1esi17141241pgs.35.2022.10.05.09.18.14; Wed, 05 Oct 2022 09:18:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230109AbiJEQEO (ORCPT + 99 others); Wed, 5 Oct 2022 12:04:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230095AbiJEQEM (ORCPT ); Wed, 5 Oct 2022 12:04:12 -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 8FD5E7B2AB for ; Wed, 5 Oct 2022 09:04:11 -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 1og6sT-00087I-83; Wed, 05 Oct 2022 18:04:09 +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 01B34F5874; Wed, 5 Oct 2022 16:04:06 +0000 (UTC) Date: Wed, 5 Oct 2022 18:04:05 +0200 From: Marc Kleine-Budde To: Stefan =?utf-8?B?TcOkdGpl?= Cc: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-can@vger.kernel.org" , "wg@grandegger.com" Subject: Re: [PATCH v6 2/4] can: esd: add support for esd GmbH PCIe/402 CAN interface family Message-ID: <20221005160405.xcxecyic3nqhuhht@pengutronix.de> References: <20211201220328.3079270-1-stefan.maetje@esd.eu> <20211201220328.3079270-3-stefan.maetje@esd.eu> <20220201172508.vvftyw2vy4uq2jpu@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ltk2dysu6dygmh2y" Content-Disposition: inline In-Reply-To: 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=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 --ltk2dysu6dygmh2y Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 30.09.2022 22:15:59, Stefan M=C3=A4tje wrote: > I would like to resume the efforts to bring this driver in the Linux > kernel after being kicked off track in February by another project. \o/ > I did a lot of the changes on the driver you recommended, but some > stuff is not yet clear to me. Please see my comments in-line of the > email below. >=20 > My local developement is at the moment rebased to > linux-can-next:master on 7b584fbb36362340a2d9cfe459e447619eecebea. > Should I send a V7 of the patch (rebased to another commit)? How > should I proceed? You can use latest net-next/main as base version. > You have commented on many type casts that they would not be needed. > But all of them had been introduced by me due to warnings of the > compiler in the style of "warning: conversion from =E2=80=98u32=E2=80=99 = {aka > =E2=80=98unsigned int=E2=80=99} to =E2=80=98u8=E2=80=99 {aka =E2=80=98uns= igned char=E2=80=99} may change value > [-Wconversion]". These are triggered by building the driver with "W=3D3" > as recommended in kernel documentation. Oh? Is there a recommendation for W=3D3? I can only find a W=3D1: | https://elixir.bootlin.com/linux/v6.0/source/Documentation/process/mainta= iner-netdev.rst#L235 > Should these warnings generally be ignored and the casts be removed > then? regards, 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 | --ltk2dysu6dygmh2y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmM9qvIACgkQrX5LkNig 012H7AgAiUQMOx+sXOYO27Kq5AYVPjxXpHYC3pL1XTDpXUwF+Q/1CKvfLSYz4XGN ayFxYF1AJ7+D7vH5TDorJRrxSpgnTy3QZXKg+IERvrYiqPptGYXi7hE3lrJlTC0T 5vrpwfV4fvolcaf5D/fjADZyIbP9zfbZkMlu9/CjN0uweV1E0SEulHdthdr58RP2 x8qao9pHWKuMbPUu8QL57XHV8waAmGiRtuLrMYxv/ZT1SJ/HwZrl7sx8xfLLaSlt 1V4UT8VEsAnK3fI+NdmT1F8P/uuOT9OI/T6RCcfLMChHMA6lbJZQ1JXH2qS0yNOj c3F7Y1RILiQPXhL/r5maSCxMAQkQBg== =+S8j -----END PGP SIGNATURE----- --ltk2dysu6dygmh2y--