Commit e3699d9e authored by Eric Biggers's avatar Eric Biggers
Browse files

ANDROID: trusty: don't use weird sysv integer types



While 'uint' and 'ulong' are defined in <linux/types.h>, in Linux kernel
code they're used far less often than 'unsigned int' and 'unsigned
long'.  So replace these types with the standard ones.

In the process, remove some unnecessary casts to these types:

- Don't cast to uint to print u32 or smaller with %u.  It's not needed.

- Don't cast to uint to print size_t; instead just use %zu.

Change-Id: I53e405f9f40d8e935f1f68e0549125859ab78ca5
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
parent 86a6aff8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment