:::::: :::::: Manual check reason: "low confidence static check warning: net/tls/tls_main.c:70:9: sparse: sparse: obsolete array initializer, use C99 syntax" ::::::
BCC: [email protected] CC: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> TO: Gal Pressman <[email protected]> TO: "David S. Miller" <[email protected]> CC: [email protected] TO: Jakub Kicinski <[email protected]> CC: Saeed Mahameed <[email protected]> CC: Tariq Toukan <[email protected]> CC: Gal Pressman <[email protected]> Hi Gal, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Gal-Pressman/Support-256-bit-TLS-keys-with-device-offload/20220914-171814 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git c9ae520ac3faf2f272b5705b085b3778c7997ec8 :::::: branch date: 13 hours ago :::::: commit date: 13 hours ago config: x86_64-randconfig-s021 (https://download.01.org/0day-ci/archive/20220915/[email protected]/config) compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/intel-lab-lkp/linux/commit/1cf09f517908ce4b1bf800ef799fe612121628d9 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Gal-Pressman/Support-256-bit-TLS-keys-with-device-offload/20220914-171814 git checkout 1cf09f517908ce4b1bf800ef799fe612121628d9 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash net/tls/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <[email protected]> sparse warnings: (new ones prefixed by >>) >> net/tls/tls_main.c:70:9: sparse: sparse: obsolete array initializer, use C99 >> syntax net/tls/tls_main.c:71:9: sparse: sparse: obsolete array initializer, use C99 syntax net/tls/tls_main.c:72:9: sparse: sparse: obsolete array initializer, use C99 syntax net/tls/tls_main.c:73:9: sparse: sparse: obsolete array initializer, use C99 syntax net/tls/tls_main.c:74:9: sparse: sparse: obsolete array initializer, use C99 syntax net/tls/tls_main.c:75:9: sparse: sparse: obsolete array initializer, use C99 syntax vim +70 net/tls/tls_main.c 1cf09f517908ce Tariq Toukan 2022-09-14 68 1cf09f517908ce Tariq Toukan 2022-09-14 69 const struct tls_cipher_size_desc tls_cipher_size_desc[] = { 1cf09f517908ce Tariq Toukan 2022-09-14 @70 CIPHER_SIZE_DESC(TLS_CIPHER_AES_GCM_128), 1cf09f517908ce Tariq Toukan 2022-09-14 71 CIPHER_SIZE_DESC(TLS_CIPHER_AES_GCM_256), 1cf09f517908ce Tariq Toukan 2022-09-14 72 CIPHER_SIZE_DESC(TLS_CIPHER_AES_CCM_128), 1cf09f517908ce Tariq Toukan 2022-09-14 73 CIPHER_SIZE_DESC(TLS_CIPHER_CHACHA20_POLY1305), 1cf09f517908ce Tariq Toukan 2022-09-14 74 CIPHER_SIZE_DESC(TLS_CIPHER_SM4_GCM), 1cf09f517908ce Tariq Toukan 2022-09-14 75 CIPHER_SIZE_DESC(TLS_CIPHER_SM4_CCM), 1cf09f517908ce Tariq Toukan 2022-09-14 76 }; 1cf09f517908ce Tariq Toukan 2022-09-14 77 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
