Skip to contentSkip to conversation

staging/fsl-mc: use consistent integer types

PATCH Stuart Yoder 1 participant 1 message Sep 10, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 21 lines

-----Original Message-----
From: Thomas Weißschuh [mailto:[email protected]]
Sent: Wednesday, September 07, 2016 1:21 PM
To: J. German Rivera <[email protected]>; Stuart Yoder <[email protected]>; Greg Kroah- Hartman <[email protected]>; [email protected]; [email protected]
Cc: Thomas Weißschuh <[email protected]>
Subject: [PATCH] staging/fsl-mc: use consistent integer types

---
 drivers/staging/fsl-mc/include/mc-private.h | 4 ++--
 drivers/staging/fsl-mc/include/mc.h         | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/fsl-mc/include/mc-private.h +0 -0
index cab1ae9..f95ee74 100644

drivers/staging/fsl-mc/include/mc-private.h struct fsl_mc_addr_translation_range { · line 83

Quoted 7 lines
drivers/staging/fsl-mc/include/mc-private.h +2 -2
@@ -79,8 +79,8 @@ struct fsl_mc_addr_translation_range {
  */
 struct fsl_mc_resource_pool {
 	enum fsl_mc_pool_type type;
-	int16_t max_count;
-	int16_t free_count;
+	i16 max_count;
+	i16 free_count;

What is i16? ...not a valid type as far as I can see. Did you compile this?

The codebase you are based on has changed. There is no longer a file called mc-private.h. Latest should be in Greg's staging-next branch.

Stuart