[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openocd-development
Subject:    [PATCH]: a44a9a78fa flash/nor/nrf5: don't misuse uint32_t for refcount
From:       gerrit () openocd ! org
Date:       2022-08-17 8:45:08
Message-ID: 20220817084508.897E510D () openocd ! org
[Download RAW message or body]

This is an automated email from Gerrit.

"Tomas Vanek <vanekt@fbl.cz>" just uploaded a new patch set to Gerrit, which you can \
find at https://review.openocd.org/c/openocd/+/7131

-- gerrit

commit a44a9a78faaedc02b46537aec8e2b0c90854ea49
Author: Tomas Vanek <vanekt@fbl.cz>
Date:   Wed Aug 17 10:42:47 2022 +0200

    flash/nor/nrf5: don't misuse uint32_t for refcount
    
    Change-Id: I016fc9ae037fae75528850d35da059d1db5a4d45
    Signed-off-by: Tomas Vanek <vanekt@fbl.cz>

diff --git a/src/flash/nor/nrf5.c b/src/flash/nor/nrf5.c
index 23b221cb33..9d2565b010 100644
--- a/src/flash/nor/nrf5.c
+++ b/src/flash/nor/nrf5.c
@@ -136,7 +136,7 @@ struct nrf5_device_spec {
 };
 
 struct nrf5_info {
-	uint32_t refcount;
+	unsigned int refcount;
 
 	struct nrf5_bank {
 		struct nrf5_info *chip;

-- 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic