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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0B3DC4332F for ; Thu, 22 Dec 2022 22:08:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 18AD9900003; Thu, 22 Dec 2022 17:08:30 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 13AF8900002; Thu, 22 Dec 2022 17:08:30 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 001DB900003; Thu, 22 Dec 2022 17:08:29 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id E49E8900002 for ; Thu, 22 Dec 2022 17:08:29 -0500 (EST) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id A4CF4120EE6 for ; Thu, 22 Dec 2022 22:08:29 +0000 (UTC) X-FDA: 80271331938.24.357AFA0 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [85.220.165.71]) by imf23.hostedemail.com (Postfix) with ESMTP id DDE22140008 for ; Thu, 22 Dec 2022 22:08:26 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf23.hostedemail.com: domain of ukl@pengutronix.de designates 85.220.165.71 as permitted sender) smtp.mailfrom=ukl@pengutronix.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1671746908; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XkdtnQz+1zuEf6r01LA+iIqD1gL8aSr5Cp4G+/y2KLo=; b=j80m0NrjfnXHlew9+zQZktB/79ZftuFF/QVKVx4Bk/2AG+z0HT9MlS5rL71uW46iCEaVeD XrSpAEAps/0vQ/jXJCp8or8aGN0gy04pFDAIw1J44a288bEBK/YTB2NRfszQsX1a6BUeGr 1iwNoNrl7+K7F9qFREEZPiFbHS1aJwQ= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf23.hostedemail.com: domain of ukl@pengutronix.de designates 85.220.165.71 as permitted sender) smtp.mailfrom=ukl@pengutronix.de ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1671746908; a=rsa-sha256; cv=none; b=0yd7D8cyAT6NPnBNd4uSoDocTK79g+u7yiQ5RWog6k9tTSulEqv7f2OBdNr9/+uVuUIecZ QBhk9Fr95GqObDK0Ff8tLCRreVahh9MGMFTiDIWXMBJ/EkNuhDhgqY0Fgw3LFnN+mbL2WG UyUbLbdjran2IURefC9yr5PnPnQbZGE= Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p8Tjb-0000tk-IJ; Thu, 22 Dec 2022 23:08:15 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1p8TjZ-0016BI-7L; Thu, 22 Dec 2022 23:08:13 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p8TjY-007Dm3-Hp; Thu, 22 Dec 2022 23:08:12 +0100 Date: Thu, 22 Dec 2022 23:08:12 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Alexandre Belloni Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , kernel test robot Subject: Re: [linux-next:master 15112/15174] drivers/rtc/rtc-ds1307.c:1717:35: error: call to undeclared function 'i2c_client_get_device_id'; ISO C99 and later do not support implicit function declarations Message-ID: <20221222220812.c5c5azlcl64ewkbc@pengutronix.de> References: <202212151358.BAYk9OKz-lkp@intel.com> <20221215075745.r2fclxb2plqh53uc@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="72spbp2uad73wpda" Content-Disposition: inline In-Reply-To: <20221215075745.r2fclxb2plqh53uc@pengutronix.de> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-mm@kvack.org X-Rspamd-Queue-Id: DDE22140008 X-Stat-Signature: ea7r51k9kpci3bryg6k5nu3j9nwq8b35 X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1671746906-566376 X-HE-Meta: U2FsdGVkX1/RUMGq1WlwuRY2EiIoL4pv1WSI7KN3RKW5yzl0jrI8KWFkO9T9af5VTyhdPulDx+RGIVKHwjWqz8a1AIuzzoL2+dG3XAL2EgjZyqBVfvXRDrNgE3VUnIs2iAni67HpidP0gr811oYh9p2jSgaHj4N2rRW2RBreTrLfQB+Q17Gwj8ADzp40UhV7k5GumnkZvewnisl1MopEeHGa3TfPbUiRe2MVCGu24W35+sHuJ/mP4JVA6h+gvKeRVQaIGoKxAQYZ8rFRgMKu+6hL9UBBCrqv4ZlG8EpW/SgeqCBwtvnFh5D8j0S3H7AMjGFvm+KQ+T8t7RUPvZr1z8wT/tLYqCw0q2xJdfiKNm4sosieXhitTCNrroyJJotIkFX/y6Gr5QnkDqqkR7C4I2ob/9FsD/Cv16K44pX+EQEdLgEIk22/cmThLXVw7pQ8p6qvF8p0bxFkRn/JzQx6UU6BUQKs6s5hETh0iBGKUmwFmfkf5e44hT3W4kU2iWXe2J4mNEdTpZu0gh5Ghdi0iG6UwFbHmpUWHNiiJ7OILAGqWxQnFxnZG6C0YE8JC55nH4rChYgejBMvoLz6QFoqMPKn2GUlu5NXGGdcKqcXutEXSz4vtEfINSMywRlzcIoqWCMyf8wCgieF+giqCdqUkLBZ+YP0HDFBa2DR3zYLM1XQHhBEhCfFyB59xgPhnDCMifbCMaP1AOWMxC75YpbKJUQ5lrxUQWjHUlKg/MFBs/Zns19KaouUYRHpbkOkfAvsICDFh5eouprrIXN+Lue2RO9+GgXcJdbu2OAVjvH+gu8Y551qgXWtIY7UPBhLKd1fYrme1R6EKyGtrIE5oK7Ux7QTppqSbRWIh1503JH4xLvxJRTRpyAUwMqf4EmahR/zobs/Cns+ZoKnPV5FQKz89btEvMYmzL1IXbVrC9a8m0yQIlHfN+RqJquT2+xnZgAIM9ogku8o6I5rCuz2MTP OwkRE/mf 1tJ8r6avcqElIjNY9SXbaDsclkYM38cLl3cBRSdhNE9TWpnA97XaNbYP2ug== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: --72spbp2uad73wpda Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Alexandre, On Thu, Dec 15, 2022 at 08:57:46AM +0100, Uwe Kleine-K=F6nig wrote: > On Thu, Dec 15, 2022 at 01:31:15PM +0800, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next= =2Egit master > > head: 459c73db4069c27c1d4a0e20d055b837396364b8 > > commit: ad6d474d82dfb346573146d1bb0d818a720314fd [15112/15174] rtc: ds1= 307: Convert to i2c's .probe_new() > > config: hexagon-buildonly-randconfig-r004-20221214 > > compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 98= b13979fb05f3ed288a900deb843e7b27589e58) > > reproduce (this is a W=3D1 build): > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/s= bin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-ne= xt.git/commit/?id=3Dad6d474d82dfb346573146d1bb0d818a720314fd > > git remote add linux-next https://git.kernel.org/pub/scm/linux/= kernel/git/next/linux-next.git > > git fetch --no-tags linux-next master > > git checkout ad6d474d82dfb346573146d1bb0d818a720314fd > > # save the config file > > mkdir build_dir && cp config build_dir/.config > > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross = W=3D1 O=3Dbuild_dir ARCH=3Dhexagon SHELL=3D/bin/bash drivers/rtc/ > >=20 > > If you fix the issue, kindly add following tag where applicable > > | Reported-by: kernel test robot > >=20 > > Note: the linux-next/master HEAD 459c73db4069c27c1d4a0e20d055b837396364= b8 builds fine. > > It may have been fixed somewhere. >=20 > This is fixed by commit 662233731d66 ("i2c: core: Introduce > i2c_client_get_device_id helper function") which should be an ancestor > of the blamed commit. >=20 > FTR: This is currently the only commit with this problem (i.e. a new > user of i2c_client_get_device_id that isn't an ancestor of > 662233731d66): >=20 > $ git log --pretty=3Doneline --abbrev-commit --ancestry-path 662233731d6= 6..next/master > l > $ git log --pretty=3Doneline --abbrev-commit linus/master..next/master -= Si2c_client_get_device_id | grep -F -x -v -f l > ad6d474d82df rtc: ds1307: Convert to i2c's .probe_new() >=20 > (If someone knows a single command to get this information, let me > know.) >=20 > The idea was to pull >=20 > https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/client= _device_id_helper-immutable >=20 > before applying the patch. The patch for ds1307 didn't make it into Linus' tree yet. Do you still have it on your radar for the next merge window? Would it help you if I resent it? Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --72spbp2uad73wpda Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmOk1UkACgkQwfwUeK3K 7AkKYAf/Ro8c2/efmBFELLOcvxIEuJoxKvhK4pGe2D+F7ybIAmpGa4mxf+yZ9Tok VfwyobIb/cDbg/+ayaKFhCeh24bAKApNMoftbmYkhQyebJJEBBA7unFb4MxCuwAK X05xpLKezDeWSiQv+l+56nNAQ7AWpRI6p/BV0YdcajizxTLLPtAYCdYBzFpDcdKu DAB4LnJR9DxJwt/ZHLyKpZNBCayOL5DUY/eZM0pVXGhFIt/qPCAaUsluEG1m+I2V Q1/IQHEyCht/z/QQrBjZxdDKuCWA/4zT+WJNd5Tlv5K1nal3fYK4/pj+EYkkAPp8 cWrZjLkEaakZ41VL3QOioZotABun8A== =P+JM -----END PGP SIGNATURE----- --72spbp2uad73wpda--