automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw104729 [PATCH v2 01/10] raw/cnxk_gpio: add GPIO driver skeleton
       [not found] <20211128154442.4029049-2-tduszynski@marvell.com>
@ 2021-11-28 15:47 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-11-28 15:47 UTC (permalink / raw)
  To: test-report; +Cc: Tomasz Duszynski

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

_coding style issues_


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

total: 0 errors, 2 warnings, 347 lines checked

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

only message in thread, other threads:[~2021-11-28 15:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20211128154442.4029049-2-tduszynski@marvell.com>
2021-11-28 15:47 ` |WARNING| pw104729 [PATCH v2 01/10] 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).