Re: [yocto] [PATCH] rmc: fix allocating buffer issue in read_file() (32 bit)

2016-08-17 Thread Jianxun Zhang
> On Aug 16, 2016, at 5:18 PM, Khem Raj wrote: > > >> On Aug 16, 2016, at 4:12 PM, Jianxun Zhang >> wrote: >> >> Runtime test script failed on T100TA (32 bit) machine because >> read_file() function in rmc.c gets a wrong value of st_size from >> the buffer returned by stat(). We include rmc

Re: [yocto] [PATCH] rmc: fix allocating buffer issue in read_file() (32 bit)

2016-08-16 Thread Khem Raj
> On Aug 16, 2016, at 4:12 PM, Jianxun Zhang > wrote: > > Runtime test script failed on T100TA (32 bit) machine because > read_file() function in rmc.c gets a wrong value of st_size from > the buffer returned by stat(). We include rmc header files prior > to the rest of standard header files in

[yocto] [PATCH] rmc: fix allocating buffer issue in read_file() (32 bit)

2016-08-16 Thread Jianxun Zhang
Runtime test script failed on T100TA (32 bit) machine because read_file() function in rmc.c gets a wrong value of st_size from the buffer returned by stat(). We include rmc header files prior to the rest of standard header files in rmc.c, so standard data subsequently defined could be affected by "