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 72E81C4332F for ; Thu, 22 Dec 2022 22:18:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EC90A900003; Thu, 22 Dec 2022 17:18:07 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E7939900002; Thu, 22 Dec 2022 17:18:07 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D6920900003; Thu, 22 Dec 2022 17:18:07 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id C510A900002 for ; Thu, 22 Dec 2022 17:18:07 -0500 (EST) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id B18A340F3C for ; Thu, 22 Dec 2022 22:18:07 +0000 (UTC) X-FDA: 80271356214.21.4510A7C Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by imf05.hostedemail.com (Postfix) with ESMTP id A9B0E10000C for ; Thu, 22 Dec 2022 22:18:05 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=bootlin.com header.s=gm1 header.b=IQeEa1Nk; spf=pass (imf05.hostedemail.com: domain of alexandre.belloni@bootlin.com designates 217.70.183.199 as permitted sender) smtp.mailfrom=alexandre.belloni@bootlin.com; dmarc=pass (policy=reject) header.from=bootlin.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1671747486; a=rsa-sha256; cv=none; b=HG7c+NqtiZdJ8dxbinRbX8xQZI/5q0snILtpLrJ4IzAElGA1hYg7u9FyM2fxY9NRPzrqE3 KLOoclIIPyR9QNNrJLoxP8btieEWhuk6Io2xdzBFX4TTFRo++SdX95YqJmrIyg++46MMST sdU/+O1pXYrtL4Mbh6/Y2cSBUe9VRMU= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=bootlin.com header.s=gm1 header.b=IQeEa1Nk; spf=pass (imf05.hostedemail.com: domain of alexandre.belloni@bootlin.com designates 217.70.183.199 as permitted sender) smtp.mailfrom=alexandre.belloni@bootlin.com; dmarc=pass (policy=reject) header.from=bootlin.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1671747486; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ESfp7KKpAv+avOXeJxpUY9MFmNEp8Wj0BEaSoWNYEX4=; b=VqcfLciS3ubMlzGQOD65MDAFXT6SrRT8cjoFlaI89goRHdYooHobyMoCf9wQqaebbofJTE +aVxy6x7wktXoayqAQnaBd9Q/DikfNolWrx7bfeIRRK+cEIibU4KtGfc/m7Es10ZYNBi9+ 9GyAuz/ECQ92twGi86WShlrOQgF0L6s= Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id D30FDFF804; Thu, 22 Dec 2022 22:18:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1671747483; h=from:from: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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ESfp7KKpAv+avOXeJxpUY9MFmNEp8Wj0BEaSoWNYEX4=; b=IQeEa1NkDyMzeZwyRZz+H3vBsHce6qEwJqgotnLErnSrXf9DCIRwTBisELdDhfebXWq3p2 IjEYbKAgjOvqDB01Md1NEUqvgOytjZ970pFarz9SjoekU8KA1ejxZ9VIVMdqM0FRDmn8AK e0F/oEWeZuImmn4sAJ7hJLauJp8qORTO60b+Ef8Mx+tFkyEsnOFswzOrXGT1oyC/F9T9ji 1nYIGrlE/ddatvOo5O3eg8pPNVM2UdMUpU3z6tVcZJBHeNk536U39bqDLTQattxR0dcKgS o80K5PEO01n41nX3HTKP3Fl+QDnizklqWg8b5av7LJZoKG4Iaxq11yTh5O7yRg== Date: Thu, 22 Dec 2022 23:18:02 +0100 From: Alexandre Belloni To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= 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: References: <202212151358.BAYk9OKz-lkp@intel.com> <20221215075745.r2fclxb2plqh53uc@pengutronix.de> <20221222220812.c5c5azlcl64ewkbc@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221222220812.c5c5azlcl64ewkbc@pengutronix.de> X-Rspam-User: X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: A9B0E10000C X-Stat-Signature: 8hik5mpqec3nwhqa3j9b5xyhfzd5813e X-HE-Tag: 1671747485-362181 X-HE-Meta: U2FsdGVkX1/AU9F2X0HmDLGad28DEHWLYedn2bf/NSiyQ00LnxiY2NiW7G7haFvs4kkwrb6ehK7pspyKHE/szZ3Z+a+69VRLIYOMvqP6z4hfVHPksk+v4ZzEujvLEsOBTrZ6Cq/PE9wOQPqwiJ2cVxs+vgm4PLEsDPBJM0Pxiom2oU6xLWnhs0wH8QCiFUu2FZ0Ho8PuVkiUK2Vz9EodhO2WbEOg33OuY4vdntZa03L8Mc+tT47n1USW+XiDwg3+HZsPaMH5P/jsu24QbyrzsUVXFjsrQhHGbDUixcRtHzB4YraxLpvV9eowG0pnZBUL/jpw7zd98gbJZg7X0h0skSap4iJl6AnuZUdFxKHXu/Ur+X6NFFO5+xR9WKL2yKJzxbN4SIUq2eWpKAuNoiRWNV6rIqCYDTHcf9wpFUpYMOPWFchzZH4pIrY5bjcOB9HOU6k/dTTn4qaB6EKa7TSyPKWrOvIWQEflCBu8Vi3srk4wjpV+STKGZv5wOBX5Qza1UNCiuotdZMd1HjB1mp4UNWzDeoGPgh23ol4eCT23rzsirKmBszvx69fS9BJsohw8LPwZPz3W4K7bQcvs78MllcefKLSKCvPnnr9hej2l+cdMEvFWWnZyYh4gnjZusG0T9jGEpPZnv3NG/itwmXI3n8OmtboWtL58jDWV3qv2A9plBiwjtumIVCuI09TvqZv4J4YDFqiLBBtP34eN/FlNXl3E0LTE6qvxpLQiQx123GCT1g8X5XmhlJPfXK7hsYKmK7ncTq902ffAFjj91q3QHaiC1zBV7PK/Ixio8WyDArTO4vSd/lVG6vYY4/jMDYu9/ueTjJlgvxwMyuSR3mhg7pzlfnWb5cxyyfCpMLDAx/AQ4BSxHpeDkq8dPM2N+IGb8f7xRh8QVY4bMxBS38cYuYeedBxvYkN8+cM6WwY7KXuq0Af1XXoZb9ZDYYYFmdm1ts0weHE9qM7zxRn+hSP nxNXBoef R/L7sbwV7c4RPSk9YijaQcKtOVe/mQjz+OwkY X-Bogosity: Ham, tests=bogofilter, spamicity=0.000001, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 22/12/2022 23:08:12+0100, Uwe Kleine-König wrote: > Hello Alexandre, > > On Thu, Dec 15, 2022 at 08:57:46AM +0100, Uwe Kleine-König 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.git master > > > head: 459c73db4069c27c1d4a0e20d055b837396364b8 > > > commit: ad6d474d82dfb346573146d1bb0d818a720314fd [15112/15174] rtc: ds1307: Convert to i2c's .probe_new() > > > config: hexagon-buildonly-randconfig-r004-20221214 > > > compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 98b13979fb05f3ed288a900deb843e7b27589e58) > > > reproduce (this is a W=1 build): > > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > > chmod +x ~/bin/make.cross > > > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ad6d474d82dfb346573146d1bb0d818a720314fd > > > 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=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/rtc/ > > > > > > If you fix the issue, kindly add following tag where applicable > > > | Reported-by: kernel test robot > > > > > > 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=oneline --abbrev-commit --ancestry-path 662233731d66..next/master > l > > $ git log --pretty=oneline --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() > > > > (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_device_id_helper-immutable > > > > 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? > It is on my radar for the next merge window, no need to resend (this was simpler for me) -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com