tools/libxl: avoid comparing an unsigned int to -1
PATCH 1/1 tools/libxl: avoid comparing an unsigned int to -1
Signed-off-by Koushik Chakravarty <[email protected]>
CC Ian Jackson <[email protected]>
CC Stefano Stabellini <[email protected]>
CC Ian Campbell <[email protected]>
CC Wei Liu <[email protected]>
--- tools/libxl/libxl_json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libxl/libxl_json.c +1 -1
@@ -1013,7 +1013,7 @@ out:yajl_gen_status libxl__uint64_gen_json (yajl_gen hand,uint64_t val) {char *num; -unsigned int len; +int len;yajl_gen_status s;
Signature · 1 line
1.7.10.4
Quoted 5 lines · Koushik Chakravarty
Signed-off-by Koushik Chakravarty <[email protected]>CC Ian Jackson <[email protected]>CC Stefano Stabellini <[email protected]>CC Ian Campbell <[email protected]>CC Wei Liu <[email protected]>
Acked-by Wei Liu <[email protected]>
Ian J, this one should be backported to 4.5.
Quoted 19 lines
--- tools/libxl/libxl_json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/libxl/libxl_json.c +1
-1@@ -1013,7 +1013,7 @@ out:yajl_gen_status libxl__uint64_gen_json (yajl_gen hand,uint64_t val) {char *num; -unsigned int len; +int len;yajl_gen_status s;Signature · 1 line
1.7.10.4
Ian Campbell
AppliedQuoted 8 lines · Wei Liu
Quoted 5 lines · Koushik Chakravarty
Signed-off-by Koushik Chakravarty <[email protected]>CC Ian Jackson <[email protected]>CC Stefano Stabellini <[email protected]>CC Ian Campbell <[email protected]>CC Wei Liu <[email protected]>Acked-by Wei Liu <[email protected]>
Applied, thanks.
Quoted 1 line
Ian J, this one should be backported to 4.5.