* [Patch mdadm] Fix ppc compile error
@ 2010-04-06 18:11 Doug Ledford
2010-04-06 23:22 ` Neil Brown
0 siblings, 1 reply; 2+ messages in thread
From: Doug Ledford @ 2010-04-06 18:11 UTC (permalink / raw)
To: Linux RAID Mailing List, Neil Brown, Dan Williams
[-- Attachment #1.1: Type: text/plain, Size: 376 bytes --]
We use -Wall -Werror on our build machines, and this causes our build to
fail on super-intel.c due to a missing cast on ppc64 machines. This
fixes the build.
--
Doug Ledford <dledford@redhat.com>
GPG KeyID: CFBFF194
http://people.redhat.com/dledford
Infiniband specific RPMs available at
http://people.redhat.com/dledford/Infiniband
[-- Attachment #1.2: mdadm-3.1.2-powerpc-compile.patch --]
[-- Type: text/plain, Size: 777 bytes --]
commit 995511f26e8d661d32d1c3fc42a08960989d1e6d
Author: Doug Ledford <dledford@redhat.com>
Date: Tue Apr 6 14:04:30 2010 -0400
powerpc compile fix
Signed-off-by: Doug Ledford <dledford@redhat.com>
diff --git a/super-intel.c b/super-intel.c
index a196ca3..999b970 100644
--- a/super-intel.c
+++ b/super-intel.c
@@ -697,7 +697,7 @@ static void print_imsm_dev(struct imsm_dev *dev, char *uuid, int disk_idx)
printf(" <-- %s", map_state_str[map->map_state]);
printf("\n Checkpoint : %u (%llu)",
__le32_to_cpu(dev->vol.curr_migr_unit),
- blocks_per_migr_unit(dev));
+ (unsigned long long)blocks_per_migr_unit(dev));
}
printf("\n");
printf(" Dirty State : %s\n", dev->vol.dirty ? "dirty" : "clean");
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Patch mdadm] Fix ppc compile error
2010-04-06 18:11 [Patch mdadm] Fix ppc compile error Doug Ledford
@ 2010-04-06 23:22 ` Neil Brown
0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2010-04-06 23:22 UTC (permalink / raw)
To: Doug Ledford; +Cc: Linux RAID Mailing List, Dan Williams
On Tue, 06 Apr 2010 14:11:46 -0400
Doug Ledford <dledford@redhat.com> wrote:
> We use -Wall -Werror on our build machines, and this causes our build to
> fail on super-intel.c due to a missing cast on ppc64 machines. This
> fixes the build.
>
Thanks. Applied.
NeilBrown
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-06 23:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-06 18:11 [Patch mdadm] Fix ppc compile error Doug Ledford
2010-04-06 23:22 ` Neil Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).