]> err.no Git - linux-2.6/blobdiff - drivers/md/dm-raid1.c
[SCTP]: "list_for_each()" -> "list_for_each_entry()" where appropriate.
[linux-2.6] / drivers / md / dm-raid1.c
index 51605870f898e23dfa450314de6ef2409d4351c0..762cb086bb7f6e864fca4998f407644e8add96cc 100644 (file)
@@ -753,7 +753,7 @@ out:
  * are in the no-sync state.  We have to recover these by
  * recopying from the default mirror to all the others.
  *---------------------------------------------------------------*/
-static void recovery_complete(int read_err, unsigned int write_err,
+static void recovery_complete(int read_err, unsigned long write_err,
                              void *context)
 {
        struct region *reg = (struct region *)context;
@@ -767,7 +767,7 @@ static void recovery_complete(int read_err, unsigned int write_err,
        }
 
        if (write_err) {
-               DMERR_LIMIT("Write error during recovery (error = 0x%x)",
+               DMERR_LIMIT("Write error during recovery (error = 0x%lx)",
                            write_err);
                /*
                 * Bits correspond to devices (excluding default mirror).