Commit 14a313c7 authored by Dafna Hirschfeld's avatar Dafna Hirschfeld Committed by Greg Kroah-Hartman

staging: lustre: obdclass: Replace 'unsigned' with 'unsigned int'

Replace 'unsigned' with 'unsigned int' to improve readability.
Issues found with checkpatch.pl
Signed-off-by: default avatarDafna Hirschfeld <dafna3@gmail.com>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 57c19402
...@@ -1467,7 +1467,7 @@ int lprocfs_write_frac_u64_helper(const char __user *buffer, ...@@ -1467,7 +1467,7 @@ int lprocfs_write_frac_u64_helper(const char __user *buffer,
{ {
char kernbuf[22], *end, *pbuf; char kernbuf[22], *end, *pbuf;
__u64 whole, frac = 0, units; __u64 whole, frac = 0, units;
unsigned frac_d = 1; unsigned int frac_d = 1;
int sign = 1; int sign = 1;
if (count > (sizeof(kernbuf) - 1)) if (count > (sizeof(kernbuf) - 1))
......
...@@ -1797,10 +1797,10 @@ int lu_env_refill(struct lu_env *env) ...@@ -1797,10 +1797,10 @@ int lu_env_refill(struct lu_env *env)
EXPORT_SYMBOL(lu_env_refill); EXPORT_SYMBOL(lu_env_refill);
struct lu_site_stats { struct lu_site_stats {
unsigned lss_populated; unsigned int lss_populated;
unsigned lss_max_search; unsigned int lss_max_search;
unsigned lss_total; unsigned int lss_total;
unsigned lss_busy; unsigned int lss_busy;
}; };
static void lu_site_stats_get(struct cfs_hash *hs, static void lu_site_stats_get(struct cfs_hash *hs,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment