mirror of https://gitee.com/openkylin/linux.git
staging: lustre: obdclass: Replace 'unsigned' with 'unsigned int'
Replace 'unsigned' with 'unsigned int' to improve readability. Issues found with checkpatch.pl Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
57c1940286
commit
14a313c772
|
@ -1467,7 +1467,7 @@ int lprocfs_write_frac_u64_helper(const char __user *buffer,
|
|||
{
|
||||
char kernbuf[22], *end, *pbuf;
|
||||
__u64 whole, frac = 0, units;
|
||||
unsigned frac_d = 1;
|
||||
unsigned int frac_d = 1;
|
||||
int sign = 1;
|
||||
|
||||
if (count > (sizeof(kernbuf) - 1))
|
||||
|
|
|
@ -1797,10 +1797,10 @@ int lu_env_refill(struct lu_env *env)
|
|||
EXPORT_SYMBOL(lu_env_refill);
|
||||
|
||||
struct lu_site_stats {
|
||||
unsigned lss_populated;
|
||||
unsigned lss_max_search;
|
||||
unsigned lss_total;
|
||||
unsigned lss_busy;
|
||||
unsigned int lss_populated;
|
||||
unsigned int lss_max_search;
|
||||
unsigned int lss_total;
|
||||
unsigned int lss_busy;
|
||||
};
|
||||
|
||||
static void lu_site_stats_get(struct cfs_hash *hs,
|
||||
|
|
Loading…
Reference in New Issue