This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 6f27c29ce5 net/usrsock: Change xid from uint64_t to uint32_t
6f27c29ce5 is described below

commit 6f27c29ce5cb314f4e5e1ec0a8f77d63ddc176e6
Author: chao an <anc...@xiaomi.com>
AuthorDate: Wed Aug 31 21:53:26 2022 +0800

    net/usrsock: Change xid from uint64_t to uint32_t
    
    follow the below change:
      -----------------------------------------------
      commit 03348197429d10470ac42492263c409138d8fd0f
      Author: Xiang Xiao <xiaoxi...@xiaomi.com>
      Date:   Mon Aug 22 05:10:47 2022 +0800
    
          net/usrsock: Change xid from uint64_t to uint32_t
    
          by generating the new xid for each transaction
    
          Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
    
    Signed-off-by: chao an <anc...@xiaomi.com>
---
 net/usrsock/usrsock_dev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/usrsock/usrsock_dev.c b/net/usrsock/usrsock_dev.c
index 252eab3c07..c3155754da 100644
--- a/net/usrsock/usrsock_dev.c
+++ b/net/usrsock/usrsock_dev.c
@@ -73,7 +73,7 @@ struct usrsockdev_s
     sem_t     sem;               /* Request semaphore (only one outstanding
                                   * request) */
     sem_t     acksem;            /* Request acknowledgment notification */
-    uint64_t  ackxid;            /* Exchange id for which waiting ack */
+    uint32_t  ackxid;            /* Exchange id for which waiting ack */
     uint16_t  nbusy;             /* Number of requests blocked from different
                                   * threads */
   } req;

Reply via email to