[Buildroot] [PATCH] trousers: remove inline for read_data/write_data

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Dec 26 14:59:26 UTC 2015


Sergio,

On Fri, 25 Dec 2015 20:28:34 -0200, Sergio Prado wrote:
> read_data and write_data functions are declared with inline, but
> their definition is not in a .h file. This is causing errors when
> linking:
> 
> tcsps.c:(.text+0x4ac): undefined reference to `read_data'
> tcsps.c:(.text+0x1888): undefined reference to `write_data'
> ...
> 
> Patch already applied upstream.

When you give this information, please indicate which upstream commit,
and that you didn't backport the upstream commit because it was fixing
many other things at the same time. I had to look in the trousers Git
repository to find the commit you partially backported.

Also, this information should be present in the patch itself.

I've modified your patch to add such details, and applied.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list