* [dpdk-test-report] |WARNING| pw24486 [PATCH] i40e igb_uio: reset pci on process exit
[not found] <106841857.Z7q1jSDIte@polaris>
@ 2017-05-24 11:22 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-05-24 11:22 UTC (permalink / raw)
To: test-report; +Cc: Gregory Etelson
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/24486
_coding style issues_
WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#21:
I came up with the following patch to ensure igb_uio will always reset PCI on process exit.
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#40: FILE: lib/librte_eal/linuxapp/igb_uio/igb_uio.c:176:
+ int ret;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#41: FILE: lib/librte_eal/linuxapp/igb_uio/igb_uio.c:177:
+ struct rte_uio_pci_dev *udev = info->priv;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#42: FILE: lib/librte_eal/linuxapp/igb_uio/igb_uio.c:178:
+ struct pci_dev *dev = udev->pdev;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#43: FILE: lib/librte_eal/linuxapp/igb_uio/igb_uio.c:179:
+ ret = __pci_reset_function(dev);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#44: FILE: lib/librte_eal/linuxapp/igb_uio/igb_uio.c:180:
+ dev_info(&dev->dev, "pci_reset_function %s
",$
WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#44: FILE: lib/librte_eal/linuxapp/igb_uio/igb_uio.c:180:
+ dev_info(&dev->dev, "pci_reset_function %s
",
ERROR:CODE_INDENT: code indent should use tabs where possible
#45: FILE: lib/librte_eal/linuxapp/igb_uio/igb_uio.c:181:
+ ret == 0 ? "succeded" : "failed");$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#45: FILE: lib/librte_eal/linuxapp/igb_uio/igb_uio.c:181:
+ ret == 0 ? "succeded" : "failed");$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#46: FILE: lib/librte_eal/linuxapp/igb_uio/igb_uio.c:182:
+ return 0;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#57: FILE: lib/librte_eal/linuxapp/igb_uio/igb_uio.c:388:
+ udev->info.release = igbuio_pci_release;$
ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)
total: 2 errors, 10 warnings, 26 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-05-24 11:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <106841857.Z7q1jSDIte@polaris>
2017-05-24 11:22 ` [dpdk-test-report] |WARNING| pw24486 [PATCH] i40e igb_uio: reset pci on process exit 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).