automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw106019 [PATCH v5 01/11] raw/cnxk_gpio: add GPIO driver skeleton
       [not found] <20220118132424.2573372-2-tduszynski@marvell.com>
@ 2022-01-18 13:26 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-01-18 13:26 UTC (permalink / raw)
  To: test-report; +Cc: Tomasz Duszynski

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/106019

_coding style issues_


WARNING:NAKED_SSCANF: unchecked sscanf return value
#275: 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
#357: FILE: drivers/raw/cnxk_gpio/cnxk_gpio.c:134:
+	ret = sscanf(buf, "%d", val);

total: 0 errors, 2 warnings, 383 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-18 13:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220118132424.2573372-2-tduszynski@marvell.com>
2022-01-18 13:26 ` |WARNING| pw106019 [PATCH v5 01/11] raw/cnxk_gpio: add GPIO driver skeleton checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).