|WARNING| pw117394 [PATCH] eal: fix return type of bsf safe functions

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Thu Oct 6 02:57:51 CEST 2022


Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/117394

_apply patch failure_

Submitter: Thomas Monjalon <thomas at monjalon.net>
Date: Wednesday, October 05 2022 15:40:36 
Applied on: CommitID:4ed890495594a71e618d62fd975c5868915eb4a1
Apply patch set 117394 failed:

Checking patch lib/eal/include/rte_common.h...
error: while searching for:
 * @return
 *     Returns 0 if ``v`` was 0, otherwise returns 1.
 */
static inline uint32_t
rte_bsf32_safe(uint32_t v, uint32_t *pos)
{
	if (v == 0)

error: patch failed: lib/eal/include/rte_common.h:660
error: while searching for:
 * @return
 *     Returns 0 if ``v`` was 0, otherwise returns 1.
 */
static inline uint32_t
rte_bsf64_safe(uint64_t v, uint32_t *pos)
{
	if (v == 0)

error: patch failed: lib/eal/include/rte_common.h:739
Applying patch lib/eal/include/rte_common.h with 2 rejects...
Rejected hunk #1.
Rejected hunk #2.
diff a/lib/eal/include/rte_common.h b/lib/eal/include/rte_common.h	(rejected hunks)
@@ -660,7 +660,7 @@ rte_bsf32(uint32_t v)
  * @return
  *     Returns 0 if ``v`` was 0, otherwise returns 1.
  */
-static inline uint32_t
+static inline int
 rte_bsf32_safe(uint32_t v, uint32_t *pos)
 {
 	if (v == 0)
@@ -739,7 +739,7 @@ rte_bsf64(uint64_t v)
  * @return
  *     Returns 0 if ``v`` was 0, otherwise returns 1.
  */
-static inline uint32_t
+static inline int
 rte_bsf64_safe(uint64_t v, uint32_t *pos)
 {
 	if (v == 0)

https://lab.dpdk.org/results/dashboard/patchsets/23786/

UNH-IOL DPDK Community Lab


More information about the test-report mailing list