diff mbox

[04/15] include: Fix u8 type in chip.h

Message ID 1470893037-22592-5-git-send-email-cclaudio@linux.vnet.ibm.com
State Accepted
Headers show

Commit Message

Claudio Carvalho Aug. 11, 2016, 5:23 a.m. UTC
u8 is defined in ccan/short_types/short_types.h, but chip.h doesn't
include it.

This just replaces u8 by uint8_t in chip.h.

Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com>
---
 include/chip.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Stewart Smith Sept. 14, 2016, 8:56 a.m. UTC | #1
Claudio Carvalho <cclaudio@linux.vnet.ibm.com> writes:
> u8 is defined in ccan/short_types/short_types.h, but chip.h doesn't
> include it.
>
> This just replaces u8 by uint8_t in chip.h.
>
> Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com>

I'm okay with taking this one now, so merged to master as of
633c66efa9b7e6778a1cfcbf9fbc9de8c9dc3d60
diff mbox

Patch

diff --git a/include/chip.h b/include/chip.h
index f62c964..11c2918 100644
--- a/include/chip.h
+++ b/include/chip.h
@@ -186,11 +186,11 @@  struct proc_chip {
 	uint64_t		homer_size;
 	uint64_t		occ_common_base;
 	uint64_t		occ_common_size;
-	u8			throttle;
+	uint8_t			throttle;
 
 	/* Must hold capi_lock to change */
-	u8			capp_phb3_attached_mask;
-	u8			capp_ucode_loaded;
+	uint8_t			capp_phb3_attached_mask;
+	uint8_t			capp_ucode_loaded;
 
 	/* Used by hw/centaur.c */
 	struct centaur_chip	*centaurs;