Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5306302pxv; Wed, 21 Jul 2021 02:13:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpcgnNik3g3fJUJz1LozLicIeWs2NBC0rNfQvmh/KMw6D9rk1TU0zKDnVEjcYAg4YGNHaL X-Received: by 2002:a92:d783:: with SMTP id d3mr16078963iln.193.1626858817884; Wed, 21 Jul 2021 02:13:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626858817; cv=none; d=google.com; s=arc-20160816; b=AHsgr3BSJMPsMTm+fpDVs8a1rMUDUiAuy8SFsXD3yn5m/2zx/aEQ2IemwgUsCC+/Sq FW1FfRWPIUjKJmRa9NZTtR+wdEIPk2vySVYKeap6Rh58a4v5CWgbW0nfgN5tt9QU27qE 13G63SI7ja/RArPRulgcvd7FcZ7VgyHhVCqn2mDH1DszgvT8W06Fmr2hz6c/Wk9MX7h8 rFQIFt55ftYDs8EDWExORQUmbLNn7hQi4iNvn0khsJ1sGtt+n7RaRrLaeiapcGiVjLxv lbLUBYfvWrb5TGfLWhOZVuUdfXg0cZBoKq8ArPyNyigK7aOLmbgd5aXSmTboEEcnOWXa MMIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=u0kC18X/luRjFIG/rcDP9X4vD1QUzspWnVNHzWoy7wQ=; b=DD1iVCjZCMid/tlGd6nUOoV47U6CSfHuZWqglDcob3KtHD1CclMHhsIPXtORdQcqs0 ihbk6f7Hbbkw+2L8EEo1AZBycacYBXPCzOhA4sP8AFo41bnvsTrVP96UhV9L2Maa5m3n 0XVxVrWILaLYQljQya44WrBtORnh1yVOGJnYsSVjoJi410wPr+rMLaZsTZMO3shWfMFg 3Vp4f9Mw3ESX1/pwPbHan6oun/tE0TrASmra3EY2QL++uM31kuV6YgwGWQR33hApPmWr rDkMhmSG5BapamNon2hjo+StxZjD6a4l2D/ox3P10HklM+9ScUOELXEeiGPlgBeTIiPw Z0Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="e/4mBaqK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si8262950ilr.7.2021.07.21.02.13.26; Wed, 21 Jul 2021 02:13:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="e/4mBaqK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237206AbhGUIaI (ORCPT + 99 others); Wed, 21 Jul 2021 04:30:08 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:50696 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237277AbhGUIRT (ORCPT ); Wed, 21 Jul 2021 04:17:19 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id DCB031FE7D; Wed, 21 Jul 2021 08:57:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1626857825; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=u0kC18X/luRjFIG/rcDP9X4vD1QUzspWnVNHzWoy7wQ=; b=e/4mBaqKMgOr3tXAjWQrJxDHRDbwqWOmEQtL060VVGu0BpQBkcy2JoV/ZOSOkljL6ZWSek dqqz3yU3FLZxJTMHn63ZRopUHcvId+T/Ph8mcGM7uneV4z8E+8qO5KWCN6/qbdyS6Ww3Rb a/hGoGTXMC74BKnvnkkdEYn5tZBJ42g= Received: from suse.cz (pathway.suse.cz [10.100.12.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 936BEA3B81; Wed, 21 Jul 2021 08:57:05 +0000 (UTC) Date: Wed, 21 Jul 2021 10:57:05 +0200 From: Petr Mladek To: Chris Down Cc: Naresh Kamboju , Stephen Rothwell , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the printk tree Message-ID: <20210721085705.fy6hrc5n3qtlwehq@pathway.suse.cz> References: <20210720174300.018cc765@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170912 (1.9.0) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 2021-07-20 13:28:45, Chris Down wrote: > Hey folks, > > Naresh Kamboju writes: > > On Tue, 20 Jul 2021 at 13:13, Stephen Rothwell wrote: > > > > > > Hi all, > > > > > > After merging the printk tree, today's linux-next build (mips allnoconfig) > > > failed like this: > > > > > > arch/mips/kernel/genex.o: In function `handle_mcheck_int': > > > (.text+0x190c): undefined reference to `printk' > > > arch/mips/kernel/genex.o: In function `handle_reserved_int': > > > (.text+0x1c8c): undefined reference to `printk' > > > > > > Caused by commit > > > > > > 337015573718 ("printk: Userspace format indexing support") > > > > Following MIPS builds failed at our end due the reported problem. > > Thanks: missed this as I made sure to change all .S files to use _printk, > but this is in a .h file included in a .S file. > > Here's what's needed. :-) > > diff --git arch/mips/include/asm/asm.h arch/mips/include/asm/asm.h > index ea4b62ece336..2f8ce94ebaaf 100644 > --- arch/mips/include/asm/asm.h > +++ arch/mips/include/asm/asm.h > @@ -114,7 +114,7 @@ symbol = value > .set push; \ > .set reorder; \ > PTR_LA a0, 8f; \ > - jal printk; \ > + jal _printk; \ > .set pop; \ > TEXT(string) > #else Chris, could you please send it as a proper patch? Best Regards, Petr