diff options
author | Srinivas Ramana <sramana@codeaurora.org> | 2016-05-13 18:21:00 +0530 |
---|---|---|
committer | Kyle Yan <kyan@codeaurora.org> | 2016-06-22 14:42:18 -0700 |
commit | 5b075736273c061baa51c24a4efe35ecc3a32bdd (patch) | |
tree | 59f0b203d13001f97afb7384d6cc8d3add58993f /security/pfe/pfk.c | |
parent | 0049ab8c87b0c3dbaab7fac7f6879b070fb22019 (diff) |
security: pfe: Fix the qualifier used to print size_t
Use the correct type qualifier to print size_t
and ssize_t. This will fix the compilation errors when
compiling for ARM. While at it, fix the compilation errors
in pfk_kc.c for sched functions by including sched.h.
Change-Id: I4fac4530dd4b31baf62ef3719535fd662dc2ae37
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
Diffstat (limited to 'security/pfe/pfk.c')
-rw-r--r-- | security/pfe/pfk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/pfe/pfk.c b/security/pfe/pfk.c index ccaed3b23fec..5cfb3758d3cf 100644 --- a/security/pfe/pfk.c +++ b/security/pfe/pfk.c @@ -324,7 +324,7 @@ static int pfk_key_size_to_key_type(size_t key_size, */ if (key_size != PFK_SUPPORTED_KEY_SIZE) { - pr_err("not supported key size %lu\n", key_size); + pr_err("not supported key size %zu\n", key_size); return -EINVAL; } |