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 7A3A8C4332F for ; Thu, 15 Dec 2022 07:58:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AD8BA8E0003; Thu, 15 Dec 2022 02:58:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A88CA8E0002; Thu, 15 Dec 2022 02:58:05 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 979278E0003; Thu, 15 Dec 2022 02:58:05 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 886488E0002 for ; Thu, 15 Dec 2022 02:58:05 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 60C0D1A028D for ; Thu, 15 Dec 2022 07:58:05 +0000 (UTC) X-FDA: 80243787330.16.950CBBF Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [85.220.165.71]) by imf06.hostedemail.com (Postfix) with ESMTP id B0648180009 for ; Thu, 15 Dec 2022 07:58:02 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf06.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=1671091083; a=rsa-sha256; cv=none; b=33Eec61kedkj5iaBPQJQbz3lenuY2nMP4Xw2Fl8gaXZoKKuzxxjBrM2iNcSdR6tnT1L3Ge 0GGzHmy20krcDmo+eLnxKdxFQ+MzNq8M3AVbHBkWXi9NQNdH74M2QfZ3ETinpWOM3u07EC 6+sJLLzWlzxKidj8gFADf7LgbkaQD5Q= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf06.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=1671091083; 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=dhYfRuE0BbQ5doBM0V5Oj+AvcQqvjdf9IndAORj0YG8=; b=GQMyyziHpdMCbDWDl1iZVGj6AdEM777qrq6ybhz1sYew+Py1Nvg54Eq1hrreC3T2XGDFQR FQAyjezZxWgIrjeOP0jbeKwijenr/ozXc5rRT68ukv2nfJhpmkob367Jt8qgTV2WaGfhTv yoe/0oem+4oYj/5FW2JJYmIOM15u5Ok= 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 1p5j7m-0004vJ-2X; Thu, 15 Dec 2022 08:57:50 +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 1p5j7i-004eZQ-9e; Thu, 15 Dec 2022 08:57:47 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1p5j7i-005Dkf-4E; Thu, 15 Dec 2022 08:57:46 +0100 Date: Thu, 15 Dec 2022 08:57:45 +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: <20221215075745.r2fclxb2plqh53uc@pengutronix.de> References: <202212151358.BAYk9OKz-lkp@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qepaqt7fb6sjiqmd" Content-Disposition: inline In-Reply-To: <202212151358.BAYk9OKz-lkp@intel.com> 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-Rspam-User: X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: B0648180009 X-Stat-Signature: qh1s5a85b1igkec9pou3x81ruwsodw5f X-HE-Tag: 1671091082-554892 X-HE-Meta: U2FsdGVkX1+GeXVsweaQTFuDF910TUd7fZAJaL59L1mToXt3enBYfFcTg1FVXJ+IDYkQGmGeEbOfAnpJhtwjQHc4tzhq/kugPUmRHdTGIY/l7l1ViWpJ1VCig5k+jfl95FUi93OQ5RmxEF/O9N627pKcronbY9HaieLIOuHUwXI0wD+bkFLd5UXKURD8tAOpK8ODlhnZ3tSpMDHlWJPoYDfqNEmV6o+cStXqWbsLt9fE0Cv3B7oasrPnxyfcFCJFtV4PjHUt+9ok640W+4X85p9cI7GlvultN8dRhBuOohYKu29PsDej/VpC9ptiKwmtQAZBOvWWoF29OZuqmzADmEbCRhep25rrj4+c+IKq8dIXmlZKmzWlWwKDeKco+1yVn8a/UZ1Qch/FgbxhGOlMLJHUaGImEBq0dgo2arFAVVDQ61Qcj48Vpzj5csO90LyxA8DxPwlK/+V8n31v+2UT6acGNMU4oavt3pJhoc/UDH6xBYQFcebC6ft84L2K8FkZH7h2qe/jFj/15dJSm5XVUpFAEjKjurJiJ38Si/o+6WcgQ3dpJfHac8B3OFR+3ng/e9sEuEi91TpvL78DNLnhK5zFpoYFeM+sJWKClmfeGPbILxzF9jmSmedXKtxz2D9wKeDc+IRoZVfJm8HwuhiEKnIFzgYRv4B1Lc2H+L5zWm8bXYzUpfxogDIdZeXyXkh/kz0lnKiAkguk1k57cNuAup+IEbAXQ8yIEptOUpi3pRAEGxDrGxnnLOUuSkIVSVNtJNa+AJVGz3pIj+v7j2JXEVnDj18hr0/ZLGubbg9WzJ6UzPREadDfz76VxJDpESgS9VPQZUxNOQ0A92cldpPSFZopdpKIFEO/VHPQSw/uXE/dbPkEOy6klMov1hB0dF/ovHwamTGCJhb1AnleVY1eejLlwS5Zy1+SLVmi4uciP7a/oYRs/35XgR+DC94NeCZ63TZ2dh67ZA/4qG7y4r7 MEyH3BXn rsI7ff9IIntQ0P+ZjzWQG+2MFiwTLYprK8CI47yRvLhus1IPYJlS+jpvneA== 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: --qepaqt7fb6sjiqmd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Alexandre, 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.g= it master > head: 459c73db4069c27c1d4a0e20d055b837396364b8 > commit: ad6d474d82dfb346573146d1bb0d818a720314fd [15112/15174] rtc: ds130= 7: Convert to i2c's .probe_new() > config: hexagon-buildonly-randconfig-r004-20221214 > compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 98b1= 3979fb05f3ed288a900deb843e7b27589e58) > 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 > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next= =2Egit/commit/?id=3Dad6d474d82dfb346573146d1bb0d818a720314fd > git remote add linux-next https://git.kernel.org/pub/scm/linux/ke= rnel/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 459c73db4069c27c1d4a0e20d055b837396364b8= builds fine. > It may have been fixed somewhere. 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. 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): $ git log --pretty=3Doneline --abbrev-commit --ancestry-path 662233731d66.= =2Enext/master > l $ git log --pretty=3Doneline --abbrev-commit linus/master..next/master -Si= 2c_client_get_device_id | grep -F -x -v -f l ad6d474d82df rtc: ds1307: Convert to i2c's .probe_new() (If someone knows a single command to get this information, let me know.) The idea was to pull https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/client_d= evice_id_helper-immutable before applying the patch. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --qepaqt7fb6sjiqmd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmOa03YACgkQwfwUeK3K 7Am9sgf+M2AH3ZTTL8hy27zjN6uBZPbpcOIePxw/n0FU/96G+DAZw//bMKNKihy/ mZBSQ+B+aDOWfSdp7RIIW7P26MQ3zkJSLloNUCmhPimgXTQfH0AK9L6Y8/hdFpAq bV8VVCXZg1diohdM+Ttfs0WQ86WQ1o1VprLFf5tDPrIkaFXQ2//zAwELYWxCyJQV NSI2Y3W/kOhWM8WeGtBYkfEcav0M7XNMhp2b15gq90IAfBFqbxXLkJpovsZLbri4 0LjisVdaQInlpYyjUodhy60FkFPq2JcFOPg7OVJHOzQPhPjWtsnLwZ43SDeQ7Nib YETj2FUhmKgvcH9uLAzLsB45FCeP6g== =yHyV -----END PGP SIGNATURE----- --qepaqt7fb6sjiqmd--