]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: lustre: Fix incorrect type in assignment
authorDulshani Gunawardhana <dulshani.gunawardhana89@gmail.com>
Mon, 11 Nov 2013 10:17:17 +0000 (15:47 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Nov 2013 23:55:16 +0000 (15:55 -0800)
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 <dulshani.gunawardhana89@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/local_storage.c

index cc19fbab0207cb3070f6a33e6766894050218586..51ab7f4130041d378747c49713362d07517474c5 100644 (file)
@@ -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);