automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw117394 [PATCH] eal: fix return type of bsf safe functions
@ 2022-10-06  0:57 dpdklab
  0 siblings, 0 replies; only message in thread
From: dpdklab @ 2022-10-06  0:57 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

[-- Attachment #1: Type: text/plain, Size: 1496 bytes --]

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

_apply patch failure_

Submitter: Thomas Monjalon <thomas@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

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

only message in thread, other threads:[~2022-10-06  0:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-06  0:57 |WARNING| pw117394 [PATCH] eal: fix return type of bsf safe functions dpdklab

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).