From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Lijuan Tu <lijuanx.a.tu@intel.com>
Subject: [dpdk-test-report] |WARNING| pw23944 [PATCH] dpdk-devbind can't be used misc with kernel tools
Date: Thu, 27 Apr 2017 08:43:02 +0200 (CEST) [thread overview]
Message-ID: <20170427064302.3D0427EE0@dpdk.org> (raw)
In-Reply-To: <38D041F150D4184C8114E499040E62343DBC19AB@SHSMSX103.ccr.corp.intel.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/23944
_coding style issues_
ERROR:BAD_SIGN_OFF: Unrecognized email address: 'Tu, LijuanX A'
#23:
To: Tu, LijuanX A
WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#24:
Cc: dev@dpdk.org; Chen, WeichunX; Liu, Yu Y; Xu, Qian Q; Liu, Yong; Lu, PeipeiX
ERROR:BAD_SIGN_OFF: Unrecognized email address: 'Prathyusha, Guduri'
#42:
To: Prathyusha, Guduri
WARNING:BAD_SIGN_OFF: Duplicate signature
#43:
Cc: dev@dpdk.org; Chen, WeichunX; Liu, Yu Y; Xu, Qian Q; Liu, Yong; Lu, PeipeiX
ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 0123456789ab ("commit description")'
#70:
dpdk commit eba33e87ad37626604be7186e746751f99691084
ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 0123456789ab ("commit description")'
#90:
commit 2fc3502935700243d9a6d903166e6fd11e429843
ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 0123456789ab ("commit description")'
#95:
commit c3ce205d5729867bd1c4c4429a80e01a528d5905
ERROR:DIFF_IN_COMMIT_MSG: Avoid using diff content in the commit message - patch(1) might not work
#102:
--- a/usertools/dpdk-devbind.py
ERROR:TRAILING_WHITESPACE: trailing whitespace
#134: FILE: usertools/dpdk-devbind.py:491:
+ # For kernels > 3.15 driver_override is used to bind a device to a driver. $
ERROR:TRAILING_WHITESPACE: trailing whitespace
#135: FILE: usertools/dpdk-devbind.py:492:
+ # Before unbinding it, overwrite driver_override with empty string so that $
ERROR:TRAILING_WHITESPACE: trailing whitespace
#136: FILE: usertools/dpdk-devbind.py:493:
+ # the device can be bound to any other driver $
ERROR:TRAILING_WHITESPACE: trailing whitespace
#137: FILE: usertools/dpdk-devbind.py:494:
+ filename = "/sys/bus/pci/devices/%s/driver_override" % dev_id $
ERROR:TRAILING_WHITESPACE: trailing whitespace
#138: FILE: usertools/dpdk-devbind.py:495:
+ if os.path.exists(filename): $
ERROR:TRAILING_WHITESPACE: trailing whitespace
#139: FILE: usertools/dpdk-devbind.py:496:
+ try: $
ERROR:TRAILING_WHITESPACE: trailing whitespace
#140: FILE: usertools/dpdk-devbind.py:497:
+ f = open(filename, "w") $
ERROR:TRAILING_WHITESPACE: trailing whitespace
#141: FILE: usertools/dpdk-devbind.py:498:
+ except: $
ERROR:TRAILING_WHITESPACE: trailing whitespace
#142: FILE: usertools/dpdk-devbind.py:499:
+ print("Error: unbind failed for %s - Cannot open %s" $
ERROR:TRAILING_WHITESPACE: trailing whitespace
#143: FILE: usertools/dpdk-devbind.py:500:
+ % (dev_id, filename)) $
ERROR:TRAILING_WHITESPACE: trailing whitespace
#144: FILE: usertools/dpdk-devbind.py:501:
+ sys.exit(1) $
ERROR:TRAILING_WHITESPACE: trailing whitespace
#145: FILE: usertools/dpdk-devbind.py:502:
+ try: $
ERROR:TRAILING_WHITESPACE: trailing whitespace
#146: FILE: usertools/dpdk-devbind.py:503:
+ f.write("
parent reply other threads:[~2017-04-27 6:43 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <38D041F150D4184C8114E499040E62343DBC19AB@SHSMSX103.ccr.corp.intel.com>]
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=20170427064302.3D0427EE0@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=lijuanx.a.tu@intel.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).