Thread (5 messages) 5 messages, 2 authors, 2019-09-26

Re: [PATCH -next] fbdev: c2p: Fix link failure on non-inlining

From: Masahiro Yamada <hidden>
Date: 2019-09-26 10:25:50
Also in: dri-devel, lkml

On Thu, Sep 26, 2019 at 7:13 PM Geert Uytterhoeven [off-list ref] 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 <geert@linux-m68k.org>

Reviewed-by: Masahiro Yamada <redacted>




-- 
Best Regards
Masahiro Yamada
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help