[CRIU] [PATCH] kerndat:fix compile err
Pavel Emelyanov
xemul at parallels.com
Tue Apr 16 13:51:49 EDT 2013
On 04/16/2013 12:39 PM, zhanghonghui at huawei.com wrote:
> From: Libo Chen <libo.chen at huawei.com>
>
> Update to commit 78b8abe9a53884686d4f70d1376f85108cbfc857
> I find a compile err:
>
> kerndat.c: In function 'kerndat_get_dirty_track':
> kerndat.c:78:6: error: ignoring return value of 'read', declared with attribute warn_unused_result [-Werror=unused-result]
> cc1: all warnings being treated as errors
> make[2]: *** [kerndat.o] Error 1
> make[1]: *** [built-in.o] Error 2
> make[1]: Leaving directory `/home/clb/crtools'
> make: *** [all] Error 2
>
> Signed-off-by: Libo Chen <libo.chen at huawei.com>
Applied, thanks.
More information about the CRIU
mailing list