From: Dulshani Gunawardhana Date: Mon, 11 Nov 2013 10:17:17 +0000 (+0530) Subject: staging: lustre: Fix incorrect type in assignment X-Git-Tag: upstream/snapshot3+hdmi~3491^2~783^2~106 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b047a8dc30a84d272d230b76b41ca2d0730f0d97;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 cc19fba..51ab7f4 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);