From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Tomasz Duszynski <tduszynski@marvell.com>
Subject: |WARNING| pw121241 [RFC PATCH] bus/platform: add platform bus
Date: Thu, 22 Dec 2022 01:01:56 +0100 (CET) [thread overview]
Message-ID: <20221222000156.7A7AB122EC0@dpdk.org> (raw)
In-Reply-To: <20221222000106.270619-1-tduszynski@marvell.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/121241
_coding style issues_
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#300: FILE: drivers/bus/platform/platform.c:154:
+ if (!(dp = opendir(PLATFORM_BUS_DEVICES_PATH))) {
ERROR:SPACING: space required after that ',' (ctx:VxB)
#659: FILE: drivers/bus/platform/private.h:37:
+ RTE_FMT("platform bus: " RTE_FMT_HEAD(__VA_ARGS__,) , \
^
ERROR:SPACING: space prohibited before that ',' (ctx:WxE)
#659: FILE: drivers/bus/platform/private.h:37:
+ RTE_FMT("platform bus: " RTE_FMT_HEAD(__VA_ARGS__,) , \
^
ERROR:SPACING: space required after that ',' (ctx:VxB)
#660: FILE: drivers/bus/platform/private.h:38:
+ RTE_FMT_TAIL(__VA_ARGS__,)))
^
total: 4 errors, 0 warnings, 710 lines checked
next parent reply other threads:[~2022-12-22 0:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20221222000106.270619-1-tduszynski@marvell.com>
2022-12-22 0:01 ` checkpatch [this message]
2022-12-22 4:25 ` |FAILURE| " qemudev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221222000156.7A7AB122EC0@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=tduszynski@marvell.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).