Whamcloud - gitweb
b=21377
authorpanda <panda>
Sun, 15 Nov 2009 14:34:26 +0000 (14:34 +0000)
committerpanda <panda>
Sun, 15 Nov 2009 14:34:26 +0000 (14:34 +0000)
commitefb1b286685886b65747ff6633cb450c8ea2e354
treeed61daa7613845d4866827dcd99a78e58871fdd4
parent61b5e7d12ebbeea33521f0bdda8ef338900e8e5c
b=21377

use explicit type cast for find_next_bit to fix the following:

Build has failed, dumping the latest log: http://lts-head.lustre.sun.com:3000/proxy/x86-build-0/FILECACHE-LOG-build-32831/build.log
  Building modules, stage 2.
Making all in ldiskfs
Making all in .

  WARNING: Symbol version dump /cache/build/reused/usr/src/linux-2.6.16.60-0.42.4_lustre.1.8.1.53-obj/x86_64/smp/Module.symvers
           is missing; modules will have no dependencies and modversions.

cc1: warnings being treated as errors
/cache/build/BUILD/lustre-1.8.1.53/lustre/lvfs/fsfilt-ldiskfs.c: In function ���fsfilt_ldiskfs_quotacheck���:
/cache/build/BUILD/lustre-1.8.1.53/lustre/lvfs/fsfilt-ldiskfs.c:2071: warning: passing argument 1 of ���find_next_bit��� from incompatible pointer type
make[8]: *** [/cache/build/BUILD/lustre-1.8.1.53/lustre/lvfs/fsfilt-ldiskfs.s] Error 1

Build succeeds with this patch:

http://lts-head.lustre.sun.com:3000/build_jobs/32832
lustre/lvfs/fsfilt_ext3.c