uname -a
Linux NNB01 4.15.0-171-generic #180-Ubuntu SMP Wed Mar 2 17:25:05 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
linux-headers-4.15.0-171-generic
fxbox/driver/nct6687/4.15.0-171-generic/nct6687.c: In function ‘nct6687_create_attr_group’:
/fxbox/driver/nct6687/4.15.0-171-generic/nct6687.c:394:25: error: implicit declaration of function ‘array3_size’; did you mean ‘jhash_size’? [-Werror=implicit-function-declaration]
su = devm_kzalloc(dev, array3_size(repeat, count, sizeof(*su)), GFP_KERNEL);
^~~
jhash_size
cc1: some warnings being treated as errors
uname -a Linux NNB01 4.15.0-171-generic #180-Ubuntu SMP Wed Mar 2 17:25:05 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux linux-headers-4.15.0-171-generic
fxbox/driver/nct6687/4.15.0-171-generic/nct6687.c: In function ‘nct6687_create_attr_group’: /fxbox/driver/nct6687/4.15.0-171-generic/nct6687.c:394:25: error: implicit declaration of function ‘array3_size’; did you mean ‘jhash_size’? [-Werror=implicit-function-declaration] su = devm_kzalloc(dev, array3_size(repeat, count, sizeof(*su)), GFP_KERNEL); ^
~~jhash_size cc1: some warnings being treated as errors