On Thu, Jan 18, 2007 at 07:22:17PM -0600, Daniel Korstad wrote:
Lines 579 thru 582

578 (sbv + 1024 + sizeof(struct bitmap_super_s));
579 printf("Size was %llu\n", __le64_to_cpu(sb->data_size));
580 sb->data_size = __cpu_to_le64(
581 misc->device_size - __le64_to_cpu(sb->data_offse t));
582 printf("Size is %llu\n", __le64_to_cpu(sb->data_size));
583 }

in other places in the code this was fixed previously to use a cast to
ull type, replace the above with:

578 (sbv + 1024 + sizeof(struct bitmap_super_s));
579 printf("Size was %llu\n", (unsigned long long)__le64_to_cpu(sb->data_size));
580 sb->data_size = __cpu_to_le64(
581 misc->device_size - __le64_to_cpu(sb->data_offse t));
582 printf("Size is %llu\n", (unsigned long long)__le64_to_cpu(sb->data_size));
583 }

regards,
L.


--
Luca Berra -- [EMAIL PROTECTED]
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to