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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A2ABC4338F for ; Sun, 25 Jul 2021 09:46:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3192C6056B for ; Sun, 25 Jul 2021 09:46:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230361AbhGYJF6 (ORCPT ); Sun, 25 Jul 2021 05:05:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230305AbhGYJF5 (ORCPT ); Sun, 25 Jul 2021 05:05:57 -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 6B020C061757 for ; Sun, 25 Jul 2021 02:46:28 -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 1m7ai5-0006YS-AR; Sun, 25 Jul 2021 11:46:13 +0200 Received: from pengutronix.de (unknown [IPv6:2a03:f580:87bc:d400:6671:797e:8cf2:7596]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) 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 80320657530; Sun, 25 Jul 2021 09:46:06 +0000 (UTC) Date: Sun, 25 Jul 2021 11:46:05 +0200 From: Marc Kleine-Budde To: kernel test robot Cc: Lad Prabhakar , Geert Uytterhoeven , Rob Herring , Fabrizio Castro , Wolfgang Grandegger , "David S. Miller" , Jakub Kicinski , Philipp Zabel , linux-can@vger.kernel.org, clang-built-linux@googlegroups.com, kbuild-all@lists.01.org, netdev@vger.kernel.org Subject: Re: [PATCH v3 2/3] can: rcar_canfd: Add support for RZ/G2L family Message-ID: <20210725094605.gzhrbunkot7ytvel@pengutronix.de> References: <20210721194951.30983-3-prabhakar.mahadev-lad.rj@bp.renesas.com> <202107251336.iD47PRoA-lkp@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="y4plgjlsv5x2mcmy" Content-Disposition: inline In-Reply-To: <202107251336.iD47PRoA-lkp@intel.com> 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-can@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-can@vger.kernel.org --y4plgjlsv5x2mcmy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 25.07.2021 13:39:37, kernel test robot wrote: > Hi Lad, >=20 > Thank you for the patch! Perhaps something to improve: >=20 > [auto build test WARNING on renesas-devel/next] > [also build test WARNING on v5.14-rc2 next-20210723] > [cannot apply to mkl-can-next/testing robh/for-next] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] >=20 > url: https://github.com/0day-ci/linux/commits/Lad-Prabhakar/Renesas-RZ= -G2L-CANFD-support/20210722-035332 > base: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-dev= el.git next > config: arm64-randconfig-r031-20210723 (attached as .config) > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9625= ca5b602616b2f5584e8a49ba93c52c141e40) > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install arm64 cross compiling tool for clang build > # apt-get install binutils-aarch64-linux-gnu > # https://github.com/0day-ci/linux/commit/082d605e73c5922419a736a= a9ecd3a76c0241bf7 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Lad-Prabhakar/Renesas-RZ-G2L-CAN= FD-support/20210722-035332 > git checkout 082d605e73c5922419a736aa9ecd3a76c0241bf7 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross AR= CH=3Darm64=20 >=20 > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot >=20 > All warnings (new ones prefixed by >>): >=20 > >> drivers/net/can/rcar/rcar_canfd.c:1699:12: warning: cast to smaller in= teger type 'enum rcanfd_chip_id' from 'const void *' [-Wvoid-pointer-to-enu= m-cast] > chip_id =3D (enum rcanfd_chip_id)of_device_get_match_data(&pde= v->dev); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~ > 1 warning generated. Seems we need the cast (uintptr_t), that I asked you to remove. Can you test if | chip_id =3D (enum rcanfd_chip_id)(uintptr_t)of_device_get_match_data(&pde= v->dev); works? 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 | --y4plgjlsv5x2mcmy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEK3kIWJt9yTYMP3ehqclaivrt76kFAmD9MtsACgkQqclaivrt 76kqAQgAjSoUVJ3e+wxfDmjcDBWUjqWHDAX/uFWGQXQfCOdcCnnujfMBMJbgcAC0 QqyEWtFblN+zYQCqhUoJLNURHBbhAkCiByljWA0uNw8aO8GzsOiISDusY8us3FdK VRpUW8yNEC9/7RdcpBew8HaE/0fVETC1OdSolqUsS2H1UWXFQsRQzCaYeEn5EFse 1ldsDrRsyXvvXZiKqibPKJ4DBhrmw81STNVBH+pIRexhrTGQrH5XVzARTJO7XJO8 6hTXIiCx5l0H0mwHXqBq6AZswzcEcqnH7P5U3N8i5MzKBi+v5H3RA63U/ytRMmn6 Qs1YmDFcUN7Sl4tcGqkQ1S+PWhZsEw== =2kyD -----END PGP SIGNATURE----- --y4plgjlsv5x2mcmy-- From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3794999221854965635==" MIME-Version: 1.0 From: Marc Kleine-Budde To: kbuild-all@lists.01.org Subject: Re: [PATCH v3 2/3] can: rcar_canfd: Add support for RZ/G2L family Date: Sun, 25 Jul 2021 11:46:05 +0200 Message-ID: <20210725094605.gzhrbunkot7ytvel@pengutronix.de> In-Reply-To: <202107251336.iD47PRoA-lkp@intel.com> List-Id: --===============3794999221854965635== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 25.07.2021 13:39:37, kernel test robot wrote: > Hi Lad, > = > Thank you for the patch! Perhaps something to improve: > = > [auto build test WARNING on renesas-devel/next] > [also build test WARNING on v5.14-rc2 next-20210723] > [cannot apply to mkl-can-next/testing robh/for-next] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > = > url: https://github.com/0day-ci/linux/commits/Lad-Prabhakar/Renesas-RZ= -G2L-CANFD-support/20210722-035332 > base: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-dev= el.git next > config: arm64-randconfig-r031-20210723 (attached as .config) > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9625= ca5b602616b2f5584e8a49ba93c52c141e40) > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install arm64 cross compiling tool for clang build > # apt-get install binutils-aarch64-linux-gnu > # https://github.com/0day-ci/linux/commit/082d605e73c5922419a736a= a9ecd3a76c0241bf7 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Lad-Prabhakar/Renesas-RZ-G2L-CAN= FD-support/20210722-035332 > git checkout 082d605e73c5922419a736aa9ecd3a76c0241bf7 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross AR= CH=3Darm64 = > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > All warnings (new ones prefixed by >>): > = > >> drivers/net/can/rcar/rcar_canfd.c:1699:12: warning: cast to smaller in= teger type 'enum rcanfd_chip_id' from 'const void *' [-Wvoid-pointer-to-enu= m-cast] > chip_id =3D (enum rcanfd_chip_id)of_device_get_match_data(&pde= v->dev); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~ > 1 warning generated. Seems we need the cast (uintptr_t), that I asked you to remove. Can you test if | chip_id =3D (enum rcanfd_chip_id)(uintptr_t)of_device_get_match_data(&pde= v->dev); works? Marc -- = 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 | --===============3794999221854965635== Content-Type: application/pgp-signature MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRRXpCQUFCQ2dBZEZpRUVLM2tJV0p0OXlU WU1QM2VocWNsYWl2cnQ3NmtGQW1EOU10c0FDZ2tRcWNsYWl2cnQKNzZrcUFRZ0FqU29VVkozZSt3 eGZEbWpjREJXVWpxV0hEQVgvdUZXR1FYUWZDT2RjQ25udWpmTUJNSmJnY0FDMApRcXlFV3RGYmxO K3pZUUNxaFVvSkxOVVJIQmJoQWtDaUJ5bGpXQTB1Tnc4YU84R3pzT2lJU0R1c1k4dXMzRmRLClZS cFVXOHlORUM5LzdSZGNwQmV3OEhhRS8wZlZFVEMxT2RTb2xxVXNTMkgxVVdYRlFzUlF6Q2FZZUVu NUVGc2UKMWxkc0RyUnN5WHZ2WFppS3FpYlBLSjREQmhybXc4MVNUTlZCSCtwSVJleGhyVEdRckg1 WFZ6QVJUSk83WEpPOAo2aFRYSWlDeDVsMEgwbXdIWHFCcTZBWnN3emNFY3FuSDdQNVUzTjhpNU16 S0JpK3Y1SDNSQTYzVS95dFJNbW42ClFzMVltREZjVU43U2w0dGNHcWtRMVMrUFdoWnNFdz09Cj0y a3lECi0tLS0tRU5EIFBHUCBTSUdOQVRVUkUtLS0tLQo= --===============3794999221854965635==--