Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1896973ybn; Thu, 26 Sep 2019 03:59:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqyI1rpkqbaOQIyD9py+yYoPDRPcPzD2wvRCOk04SqLsDvCt6H0564SaIbxQM/Pm7Nefy5hQ X-Received: by 2002:aa7:c5c1:: with SMTP id h1mr2853305eds.10.1569495592262; Thu, 26 Sep 2019 03:59:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569495592; cv=none; d=google.com; s=arc-20160816; b=z7PXBEf0/QzwrZAwGjWVxFa6Ns8tHLA63+PMeU7IGYyRR3BdKzn2AmMdZOGnlwjOKf /JGWf+9Hgl3pLIWxCSeBGqA654pVirMNYZYWGAqjhhiDGJYhvy/u8TStoLmksgELhZsz LcGcEOn8EW7MKDvf7zt0LfVU7w/lrzHXc5rc2MYbMsqm9BzP3dxBj1pvLgpyE8E7VdgR r2x8UpNXvkuIIdEJnXWDYZpYRI4w3bgime1uN8Y06pq1JeMYXqmdFunDCURuKvRsKuK4 s4u70xPL/6fhgSY/91JUKaZP5dj2Vx/ezfFv4fS+d5RdknFO/0jIYvBzSn7BKQjYjVOd D+nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=4gNfylHHZtdgndSad6PjJXSwxIOR9alrhtPtj8B7110=; b=qrvZDSU0vUGxfLrcNVgU9H49Oyt7kqB8s/o0dqxN/Vq3eBL3+gklloiyOgeU/IK12a aEmg75qJeyz+ymA/aVZvdAOPzoUULPH0u502nupIrl6nGMeL7nQ4LZoyF7J0v9v6I6EQ zfGiPI56N+Yp87+Qj9wpR8Ly6mMZjFzD110SOATwc2OghvsN0sCK2vLi5Z3I2FVrWTcc R12YE7K3lzsmErASxddhE8RN/9p2VwCY35wLfrT5duyZbsAppskOmRXgOkUb0QV95cg9 t67jnqDVRaE5RRN8WbPEP0Ek+/gFIV6XCu0VMZU1JGPZCm4H3LPVl3rHRmOmpoaQuYTX YPVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Vinczihn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b15si802054ejd.66.2019.09.26.03.59.28; Thu, 26 Sep 2019 03:59:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Vinczihn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726930AbfIZKZs (ORCPT + 99 others); Thu, 26 Sep 2019 06:25:48 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:53881 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726519AbfIZKZs (ORCPT ); Thu, 26 Sep 2019 06:25:48 -0400 Received: from mail-vs1-f46.google.com (mail-vs1-f46.google.com [209.85.217.46]) (authenticated) by conssluserg-01.nifty.com with ESMTP id x8QAPiZX026387; Thu, 26 Sep 2019 19:25:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com x8QAPiZX026387 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1569493544; bh=4gNfylHHZtdgndSad6PjJXSwxIOR9alrhtPtj8B7110=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=VinczihnWCDBrgvoLP2kh5fTytrGSEoNtQk40bdmi4GDG5IIpShIqMdnNlzt2kiFt 2N65b4GeXMV6VQPXgYcU1CIGc8tXfRCQdgtgd2aOkFQa+01xE/x2GQUIUKR/SHNNre NCTiw3vbhHgYaFneTON8+Erl4Q78APXKXU+wGXaM3C6Ja31BIp+qqtkEn4FCTAhNVt hQQZSwgqopq9slaI9tSyg4TSxVwU5jACP3ZwJDUlaeeT357sqWaLKvsLq1c64N4RJ7 Mv2TSeZsU6DA2+zpeWPIOuUIDAXJsoetGen8N6y7CzkhW1MCRhr8kQyc6ob7SW1fp5 3SdgKiScRbF1g== X-Nifty-SrcIP: [209.85.217.46] Received: by mail-vs1-f46.google.com with SMTP id d3so1251842vsr.1; Thu, 26 Sep 2019 03:25:44 -0700 (PDT) X-Gm-Message-State: APjAAAVaqQdyOaS/0nwjUNRk77rUoqQ7K1iu+MOtVnQwX9nQmJLJfAOK I9b+qzAXn69XMhHV8VqfR6tJWs5yKQx9Z9fS22M= X-Received: by 2002:a67:1a41:: with SMTP id a62mr1750823vsa.54.1569493543459; Thu, 26 Sep 2019 03:25:43 -0700 (PDT) MIME-Version: 1.0 References: <20190926101312.32218-1-geert@linux-m68k.org> In-Reply-To: <20190926101312.32218-1-geert@linux-m68k.org> From: Masahiro Yamada Date: Thu, 26 Sep 2019 19:25:07 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH -next] fbdev: c2p: Fix link failure on non-inlining To: Geert Uytterhoeven Cc: Andrew Morton , Bartlomiej Zolnierkiewicz , Nick Desaulniers , dri-devel , linux-fbdev@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 26, 2019 at 7:13 PM Geert Uytterhoeven wrote: > > When the compiler decides not to inline the Chunky-to-Planar core > functions, the build fails with: > > c2p_planar.c:(.text+0xd6): undefined reference to `c2p_unsupported' > c2p_planar.c:(.text+0x1dc): undefined reference to `c2p_unsupported' > c2p_iplan2.c:(.text+0xc4): undefined reference to `c2p_unsupported' > c2p_iplan2.c:(.text+0x150): undefined reference to `c2p_unsupported' > > Fix this by marking the functions __always_inline. > > Reported-by: noreply@ellerman.id.au > Signed-off-by: Geert Uytterhoeven Reviewed-by: Masahiro Yamada -- Best Regards Masahiro Yamada