Fix ppc compile error
PATCH 1/1 Fix ppc compile error
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.
Signature · 6 lines
Doug Ledford <[email protected]> GPG KeyID: CFBFF194 http://people.redhat.com/dledford Infiniband specific RPMs available at http://people.redhat.com/dledford/Infiniband
commit 995511f26e8d661d32d1c3fc42a08960989d1e6d
Author: Doug Ledford <[email protected]> Date: Tue Apr 6 14:04:30 2010 -0400
powerpc compile fix
Signed-off-by Doug Ledford <[email protected]>
super-intel.c +1 -1
@@ -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" );
Quoted 4 lines · On Tue, 06 Apr 2010 14:11:46 -0400 Doug Ledford <[email protected]> wrote:
We use -Wall -Werror on our build machines, and this causes our build to fail on
super-intel.cdue to a missing cast on ppc64 machines. This fixes the build.
Thanks. Applied.
NeilBrown