|WARNING| pw105637 [PATCH v4 01/11] raw/cnxk_gpio: add GPIO driver skeleton
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Jan 5 15:01:45 CET 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/105637
_coding style issues_
WARNING:NAKED_SSCANF: unchecked sscanf return value
#241: FILE: drivers/raw/cnxk_gpio/cnxk_gpio.c:52:
+ sscanf(namelist[0]->d_name, "gpiochip%d", &gpiochip->num);
WARNING:SSCANF_TO_KSTRTO: Prefer kstrto<type> to single variable sscanf
#323: FILE: drivers/raw/cnxk_gpio/cnxk_gpio.c:134:
+ ret = sscanf(buf, "%d", val);
total: 0 errors, 2 warnings, 351 lines checked
More information about the test-report
mailing list