automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw32425 [PATCH RFC 10/23] eal: populate hugepage counts from socket-specific sysfs path
       [not found] <3326c920b0e7fffb150179c02013b2a50e3348f5.1513594170.git.anatoly.burakov@intel.com>
@ 2017-12-19 11:06 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-12-19 11:06 UTC (permalink / raw)
  To: test-report; +Cc: Anatoly Burakov

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

_coding style issues_


ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#49: FILE: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:103:
+static uint32_t
+get_num_hugepages_on_node(const char *subdir, unsigned socket) {

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#50: FILE: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:104:
+get_num_hugepages_on_node(const char *subdir, unsigned socket) {

WARNING:MISORDERED_TYPE: type 'long unsigned' should be specified in [[un]signed] [short|int|long|long long] order
#53: FILE: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:107:
+	long unsigned num_pages = 0;

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#78: FILE: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:132:
+	 * anyway ... */

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#93: FILE: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:317:
+	unsigned i, total_pages, num_sizes = 0;

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#106: FILE: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:373:
+		 * in one socket and sorting them later */

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#111: FILE: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:378:
+				unsigned num_pages =

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#118: FILE: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:385:
+		 * back to old way */

WARNING:BRACES: braces {} are not necessary for single statement blocks
#119: FILE: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:386:
+		if (total_pages == 0) {
+			hpi->num_pages[0] = get_num_hugepages(dirent->d_name);
+		}

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#132: FILE: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:414:
+		unsigned j, num_pages = 0;

total: 1 errors, 9 warnings, 105 lines checked

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

only message in thread, other threads:[~2017-12-19 11:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3326c920b0e7fffb150179c02013b2a50e3348f5.1513594170.git.anatoly.burakov@intel.com>
2017-12-19 11:06 ` [dpdk-test-report] |WARNING| pw32425 [PATCH RFC 10/23] eal: populate hugepage counts from socket-specific sysfs path 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).