[dpdk-test-report] |WARNING| pw57667 [RFC 2/5] ipsec: add SAD create/free API

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Aug 13 17:13:45 CEST 2019


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

_coding style issues_


WARNING:VSPRINTF_POINTER_EXTENSION: Invalid vsprintf pointer extension '%p_'
#145: FILE: lib/librte_ipsec/ipsec_sad.c:108:
+	ret = snprintf(hash_name, sizeof(hash_name),
+		"sad_%p_1", sad);

WARNING:VSPRINTF_POINTER_EXTENSION: Invalid vsprintf pointer extension '%p_'
#157: FILE: lib/librte_ipsec/ipsec_sad.c:120:
+	}
+
+	/** Init hash_2 for SPI + DIP */
+	ret = snprintf(hash_name, sizeof(hash_name),
+		"sad_%p_2", sad);

WARNING:VSPRINTF_POINTER_EXTENSION: Invalid vsprintf pointer extension '%p_'
#178: FILE: lib/librte_ipsec/ipsec_sad.c:141:
+	}
+
+	/** Init hash_3 for SPI + DIP + SIP */
+	ret = snprintf(hash_name, sizeof(hash_name),
+		"sad_%p_3", name);

total: 0 errors, 3 warnings, 259 lines checked


More information about the test-report mailing list