objtool: Use value of intended enum to compile with clang

2017-12-10 Thread Lukas Bulwahn
Hi, Please include this patch in tools/objtool to properly compile with clang-5.0. I successfully compiled this patch (make defconfig && make) on top of tag next-20171208 from linux-next with clang-5.0.0 and gcc (Debian 7.2.0-16) 7.2.0, but I did not test anything further than that. Exact

[PATCH] objtool: Use value of intended enum to compile with clang

2017-12-10 Thread Lukas Bulwahn
eration type 'enum op_dest_type' [-Werror,-Wenum-conversion] op->dest.type = OP_SRC_REG; ~ ^~ 1 error generated. ``` Fixes: baa41469a7b9 ("objtool: Implement stack validation 2.0") Signed-off-by: Lukas Bulwahn <l

objtool: Use value of intended enum to compile with clang

2017-12-10 Thread Lukas Bulwahn
Hi, Please include this patch in tools/objtool to properly compile with clang-5.0. I successfully compiled this patch (make defconfig && make) on top of tag next-20171208 from linux-next with clang-5.0.0 and gcc (Debian 7.2.0-16) 7.2.0, but I did not test anything further than that. Exact

[PATCH] objtool: Use value of intended enum to compile with clang

2017-12-10 Thread Lukas Bulwahn
eration type 'enum op_dest_type' [-Werror,-Wenum-conversion] op->dest.type = OP_SRC_REG; ~ ^~ 1 error generated. ``` Fixes: baa41469a7b9 ("objtool: Implement stack validation 2.0") Signed-off-by: Lukas Bulwa

<    1   2   3   4   5