* [dpdk-test-report] |WARNING| pw23944 [PATCH] dpdk-devbind can't be used misc with kernel tools
[not found] <38D041F150D4184C8114E499040E62343DBC19AB@SHSMSX103.ccr.corp.intel.com>
@ 2017-04-27 6:43 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-04-27 6:43 UTC (permalink / raw)
To: test-report; +Cc: Lijuan Tu
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("
^ permalink raw reply [flat|nested] only message in thread