automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw23896 [PATCH] dpdk-devbind can't be used misc with kernel tools
       [not found] <BY2PR0701MB2101C4F186FF56EFF3F0B1238F110@BY2PR0701MB2101.namprd07.prod.outlook.com>
@ 2017-04-26  9:26 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-04-26  9:26 UTC (permalink / raw)
  To: test-report; +Cc: Guduri Prathyusha

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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#20: 
Kindly apply the patch below (inline) and let me know the result. I will submit a formal patch once you confirm.

ERROR:BAD_SIGN_OFF: Unrecognized email address: 'Prathyusha, Guduri'
#30: 
To: Prathyusha, Guduri

ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 0123456789ab ("commit description")'
#60: 
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")'
#82: 
commit 2fc3502935700243d9a6d903166e6fd11e429843

ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 0123456789ab ("commit description")'
#87: 
commit c3ce205d5729867bd1c4c4429a80e01a528d5905

ERROR:DIFF_IN_COMMIT_MSG: Avoid using diff content in the commit message - patch(1) might not work
#94: 
--- a/usertools/dpdk-devbind.py                                                 

ERROR:TRAILING_WHITESPACE: trailing whitespace
#126: 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
#127: FILE: usertools/dpdk-devbind.py:492:
+    # Before unbinding it, overwrite driver_override with empty string so that $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#128: FILE: usertools/dpdk-devbind.py:493:
+    # the device can be bound to any other driver                              $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#129: FILE: usertools/dpdk-devbind.py:494:
+    filename = "/sys/bus/pci/devices/%s/driver_override" % dev_id              $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#130: FILE: usertools/dpdk-devbind.py:495:
+    if os.path.exists(filename):                                               $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#131: FILE: usertools/dpdk-devbind.py:496:
+        try:                                                                   $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#132: FILE: usertools/dpdk-devbind.py:497:
+            f = open(filename, "w")                                            $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#133: FILE: usertools/dpdk-devbind.py:498:
+        except:                                                                $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#134: FILE: usertools/dpdk-devbind.py:499:
+            print("Error: unbind failed for %s - Cannot open %s"               $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#135: FILE: usertools/dpdk-devbind.py:500:
+                  % (dev_id, filename))                                        $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#136: FILE: usertools/dpdk-devbind.py:501:
+            sys.exit(1)                                                        $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#137: FILE: usertools/dpdk-devbind.py:502:
+        try:                                                                   $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#138: FILE: usertools/dpdk-devbind.py:503:
+            f.write("

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

only message in thread, other threads:[~2017-04-26  9:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <BY2PR0701MB2101C4F186FF56EFF3F0B1238F110@BY2PR0701MB2101.namprd07.prod.outlook.com>
2017-04-26  9:26 ` [dpdk-test-report] |WARNING| pw23896 [PATCH] dpdk-devbind can't be used misc with kernel tools 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).