From: Luca Berra <bluca@comedia.it>
To: linux-raid@vger.kernel.org
Subject: Re: upgrade to mdadm 2.6 x86_64 issues
Date: Fri, 19 Jan 2007 08:30:36 +0100 [thread overview]
Message-ID: <20070119073036.GC31075@percy.comedia.it> (raw)
In-Reply-To: <167578845.1169169737952.JavaMail.root@gateway.korstad.net>
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 -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
prev parent reply other threads:[~2007-01-19 7:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-19 1:22 upgrade to mdadm 2.6 x86_64 issues Daniel Korstad
2007-01-19 7:30 ` Luca Berra [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070119073036.GC31075@percy.comedia.it \
--to=bluca@comedia.it \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.