From: Dulshani Gunawardhana Date: Mon, 11 Nov 2013 10:17:17 +0000 (+0530) Subject: staging: lustre: Fix incorrect type in assignment X-Git-Tag: next-20131128~9^2~87^2~106 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b047a8dc30a84d272d230b76b41ca2d0730f0d97;p=karo-tx-linux.git staging: lustre: Fix incorrect type in assignment Fix the following sparse warings in local_storage.c. drivers/staging/lustre/lustre/obdclass/local_storage.c:269:16:warning:incorrect type in assignment (different base types) Signed-off-by: Dulshani Gunawardhana Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/obdclass/local_storage.c b/drivers/staging/lustre/lustre/obdclass/local_storage.c index cc19fbab0207..51ab7f413004 100644 --- a/drivers/staging/lustre/lustre/obdclass/local_storage.c +++ b/drivers/staging/lustre/lustre/obdclass/local_storage.c @@ -246,7 +246,7 @@ int local_object_create(const struct lu_env *env, struct dt_object_format *dof, struct thandle *th) { struct dt_thread_info *dti = dt_info(env); - obd_id lastid; + __le64 lastid; int rc; rc = dt_create(env, o, attr, NULL, dof, th);