Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4508192pxv; Tue, 20 Jul 2021 05:31:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSAIcUBWu1ZWQmIaAVOuKeqi0o3gB/VPHcFPGewdWfaw7HEmbLW3K0O79dNF9x8jjuLu7T X-Received: by 2002:a92:3302:: with SMTP id a2mr20749844ilf.62.1626784290893; Tue, 20 Jul 2021 05:31:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626784290; cv=none; d=google.com; s=arc-20160816; b=BuvZ4PSUs/NSG0j/zxALW/NKAueDKzMvvfJteUrY2ikVS4gnsQ91hKWi+eeCfEgOR5 AfAxEosD+0ZJ7neY3Z5Vt5cafPFZLlaBKOCCjSJk7kv0paPvr5CILKbyIbhCpzJ/zsq0 rXNeg6vqmp6TjtFH58SSJ7Uaz8kHTUfvnEk9pXU/LMKfuJuBOM64eHqJrLTnFUjTC15c OSboNM0vb8ShkCnvOVC33zOl3Oq8PfNBcHSql9aCX7pBa3j9FDudvP5Ec5NtDSttj1Bi U/z6+6kKmbVQTDatBo8Fnpjh4+eXsyLTNGGKKaJQnOpZfvU/B2sfnyPs4/tJ99JlHg2D c/Fg== 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=HA5pgOt3LuB7s8wJqihPNWq2/H5z2E0M6pXYeU8VDyA=; b=KlExP0dwnImz/G67Pi928PTCjD2/bNIZ6oqVmORXAC4Vgnk1tZMZTXe3mzrYpklw9j bgV+vnqkufhPnpwgiUSjWwwCbwbWJlnIl2DkDkKwhulvr/6unNvbrzuUDynJr05M4vTn lJheE5iHRRHzrmnOhpX8hz0k9XeBDfQBQxKrauiHiF1GKwpCRofBuxTkixk1MzHHjLjl rIcn3U5rKpvFBGYBX4N1Q4zpnVGG2EPBHgBHpKbvi2h+nTUo0pFDCsyDBJDUqBlYx1cZ FIBK5r3t78vUOaNpkhh8lUpV9Zq7VNhO737u8H+6y/xNPjQGW0xG3bx0pqvZzIamdTWc MsZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chrisdown.name header.s=google header.b=bscvEdhI; 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=NONE sp=NONE dis=NONE) header.from=chrisdown.name Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w3si15109212iol.91.2021.07.20.05.31.19; Tue, 20 Jul 2021 05:31:30 -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=@chrisdown.name header.s=google header.b=bscvEdhI; 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=NONE sp=NONE dis=NONE) header.from=chrisdown.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237882AbhGTLts (ORCPT + 99 others); Tue, 20 Jul 2021 07:49:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237897AbhGTLsT (ORCPT ); Tue, 20 Jul 2021 07:48:19 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3ED00C061766 for ; Tue, 20 Jul 2021 05:28:48 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id c17so5130492wmb.5 for ; Tue, 20 Jul 2021 05:28:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrisdown.name; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=HA5pgOt3LuB7s8wJqihPNWq2/H5z2E0M6pXYeU8VDyA=; b=bscvEdhIF7xDlYdr0m57loM89UGFczXij2tSGVhKyHrZMNESgX9PGh54fg9UWCChec bAAq+qyVyhvnkjaA8qCY6sgFOdfy91XgtKzzNtH5XG3w07hLbXgGULjzm+76kygiQ6G3 GEk8IMmKr2DimSath9SwgTbd+v/duPcMPMb8M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HA5pgOt3LuB7s8wJqihPNWq2/H5z2E0M6pXYeU8VDyA=; b=ae6UNeThol64LwsekVEPTqBbpN81t+LPsG41SVNdUnVks2lRs4SIK7/Ik8dspcussg CnFivBlUALDTJwVXCIQXncgDkjxraF4+J9CLhpwIHIxM45/OcvA9f0dbUE93v1y6rjfB vrvNCTT28KJWB1IAvJa06VyRupPh/oHj4XdIcjLVZ6tPIUVsqpxQsoEvDPocrvhb5iZ2 pHCUCGMuYT7uxhgVycSRUqCrdmPyJAIMlR7ag+eptkQaMbq0A2/jwCB5ZuQHafYvZlWq LHx+bLV86ZcIhzDAr6k6pkSCI0aXyqcKVripfM2brIWp2aHQ2iRut0UcghO12ryU8enQ xdww== X-Gm-Message-State: AOAM531c5UgKEDJiinYaY74ZwfO24tKBdLNKONjgKnh1N46yKEfZ1fzS Ukf2mxT0zI1WR+Jp+v97oQV4pw== X-Received: by 2002:a1c:628a:: with SMTP id w132mr4727263wmb.90.1626784126822; Tue, 20 Jul 2021 05:28:46 -0700 (PDT) Received: from localhost ([2620:10d:c093:400::5:d571]) by smtp.gmail.com with ESMTPSA id 140sm19863114wmb.43.2021.07.20.05.28.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jul 2021 05:28:46 -0700 (PDT) Date: Tue, 20 Jul 2021 13:28:45 +0100 From: Chris Down To: Naresh Kamboju Cc: Stephen Rothwell , Petr Mladek , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the printk tree Message-ID: References: <20210720174300.018cc765@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.1 (4b100969) (2021-06-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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