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

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

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

only message in thread, other threads:[~2022-01-05 14:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220105140020.1615256-2-tduszynski@marvell.com>
2022-01-05 14:01 ` |WARNING| pw105637 [PATCH v4 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).