diff --git a/clang/linux-4.16/warnings-v4.16+cherries-maxyesconfig-clang-5.0 b/clang/linux-4.16/warnings-v4.16+cherries-maxyesconfig-clang-5.0 index 3559294..5085516 100644 --- a/clang/linux-4.16/warnings-v4.16+cherries-maxyesconfig-clang-5.0 +++ b/clang/linux-4.16/warnings-v4.16+cherries-maxyesconfig-clang-5.0 @@ -3069,97 +3069,6 @@ drivers/block/rsxx/cregs.c:279:15: note: use '=' to turn this equality compariso ^~ = 1 warning generated. -In file included from drivers/crypto/cavium/zip/zip_main.c:46: -In file included from drivers/crypto/cavium/zip/common.h:60: -In file included from drivers/crypto/cavium/zip/zip_device.h:50: -In file included from drivers/crypto/cavium/zip/zip_main.h:50: -drivers/crypto/cavium/zip/zip_regs.h:820:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] - if (((param1 == 0))) - ~~~~~~~^~~~ -drivers/crypto/cavium/zip/zip_regs.h:820:15: note: remove extraneous parentheses around the comparison to silence this warning - if (((param1 == 0))) - ~ ^ ~ -drivers/crypto/cavium/zip/zip_regs.h:820:15: note: use '=' to turn this equality comparison into an assignment - if (((param1 == 0))) - ^~ - = -1 warning generated. -In file included from drivers/crypto/cavium/zip/zip_device.c:46: -In file included from drivers/crypto/cavium/zip/common.h:60: -In file included from drivers/crypto/cavium/zip/zip_device.h:50: -In file included from drivers/crypto/cavium/zip/zip_main.h:50: -drivers/crypto/cavium/zip/zip_regs.h:820:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] - if (((param1 == 0))) - ~~~~~~~^~~~ -drivers/crypto/cavium/zip/zip_regs.h:820:15: note: remove extraneous parentheses around the comparison to silence this warning - if (((param1 == 0))) - ~ ^ ~ -drivers/crypto/cavium/zip/zip_regs.h:820:15: note: use '=' to turn this equality comparison into an assignment - if (((param1 == 0))) - ^~ - = -1 warning generated. -In file included from drivers/crypto/cavium/zip/zip_crypto.c:46: -In file included from drivers/crypto/cavium/zip/zip_crypto.h:51: -In file included from drivers/crypto/cavium/zip/common.h:60: -In file included from drivers/crypto/cavium/zip/zip_device.h:50: -In file included from drivers/crypto/cavium/zip/zip_main.h:50: -drivers/crypto/cavium/zip/zip_regs.h:820:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] - if (((param1 == 0))) - ~~~~~~~^~~~ -drivers/crypto/cavium/zip/zip_regs.h:820:15: note: remove extraneous parentheses around the comparison to silence this warning - if (((param1 == 0))) - ~ ^ ~ -drivers/crypto/cavium/zip/zip_regs.h:820:15: note: use '=' to turn this equality comparison into an assignment - if (((param1 == 0))) - ^~ - = -1 warning generated. -In file included from drivers/crypto/cavium/zip/zip_mem.c:49: -In file included from drivers/crypto/cavium/zip/common.h:60: -In file included from drivers/crypto/cavium/zip/zip_device.h:50: -In file included from drivers/crypto/cavium/zip/zip_main.h:50: -drivers/crypto/cavium/zip/zip_regs.h:820:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] - if (((param1 == 0))) - ~~~~~~~^~~~ -drivers/crypto/cavium/zip/zip_regs.h:820:15: note: remove extraneous parentheses around the comparison to silence this warning - if (((param1 == 0))) - ~ ^ ~ -drivers/crypto/cavium/zip/zip_regs.h:820:15: note: use '=' to turn this equality comparison into an assignment - if (((param1 == 0))) - ^~ - = -1 warning generated. -In file included from drivers/crypto/cavium/zip/zip_deflate.c:49: -In file included from drivers/crypto/cavium/zip/common.h:60: -In file included from drivers/crypto/cavium/zip/zip_device.h:50: -In file included from drivers/crypto/cavium/zip/zip_main.h:50: -drivers/crypto/cavium/zip/zip_regs.h:820:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] - if (((param1 == 0))) - ~~~~~~~^~~~ -drivers/crypto/cavium/zip/zip_regs.h:820:15: note: remove extraneous parentheses around the comparison to silence this warning - if (((param1 == 0))) - ~ ^ ~ -drivers/crypto/cavium/zip/zip_regs.h:820:15: note: use '=' to turn this equality comparison into an assignment - if (((param1 == 0))) - ^~ - = -1 warning generated. -In file included from drivers/crypto/cavium/zip/zip_inflate.c:49: -In file included from drivers/crypto/cavium/zip/common.h:60: -In file included from drivers/crypto/cavium/zip/zip_device.h:50: -In file included from drivers/crypto/cavium/zip/zip_main.h:50: -drivers/crypto/cavium/zip/zip_regs.h:820:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] - if (((param1 == 0))) - ~~~~~~~^~~~ -drivers/crypto/cavium/zip/zip_regs.h:820:15: note: remove extraneous parentheses around the comparison to silence this warning - if (((param1 == 0))) - ~ ^ ~ -drivers/crypto/cavium/zip/zip_regs.h:820:15: note: use '=' to turn this equality comparison into an assignment - if (((param1 == 0))) - ^~ - = -1 warning generated. drivers/crypto/ccp/ccp-ops.c:2386:5: warning: stack frame size of 8824 bytes in function 'ccp_run_cmd' [-Wframe-larger-than=] int ccp_run_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) ^ diff --git a/clang/linux-4.16/warnings-v4.16-fixed b/clang/linux-4.16/warnings-v4.16-fixed new file mode 100644 index 0000000..11a3f26 --- /dev/null +++ b/clang/linux-4.16/warnings-v4.16-fixed @@ -0,0 +1,10 @@ +drivers/crypto/cavium/zip/zip_regs.h:820:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] + if (((param1 == 0))) + ~~~~~~~^~~~ +drivers/crypto/cavium/zip/zip_regs.h:820:15: note: remove extraneous parentheses around the comparison to silence this warning + if (((param1 == 0))) + ~ ^ ~ +drivers/crypto/cavium/zip/zip_regs.h:820:15: note: use '=' to turn this equality comparison into an assignment + if (((param1 == 0))) + ^~ + =