[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Cloop and kernel 3.14.0



Hi Klaus,

I've a problem with compiling, here's the log:

....
/usr/src/cloop-2.639/cloop.c: In function ‘cloop_handle_request’:
include/linux/bio.h:239:9: error: incompatible types when assigning to type
‘struct bio_vec *’ from type ‘struct bio_vec’
   ((bvl = bio_iter_iovec((bio), (iter))), 1);  \
         ^
include/linux/bio.h:243:2: note: in expansion of macro
‘__bio_for_each_segment’
  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)
  ^
include/linux/blkdev.h:744:3: note: in expansion of macro
‘bio_for_each_segment’
   bio_for_each_segment(bvl, _iter.bio, _iter.iter)
   ^
/usr/src/cloop-2.639/cloop.c:297:2: note: in expansion of macro
‘rq_for_each_segment’
  rq_for_each_segment(bvec, req, iter)
  ^
include/linux/bio.h:239:41: warning: left-hand operand of comma expression
has no effect [-Wunused-value]
   ((bvl = bio_iter_iovec((bio), (iter))), 1);  \
                                         ^
include/linux/bio.h:243:2: note: in expansion of macro
‘__bio_for_each_segment’
  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)
  ^
include/linux/blkdev.h:744:3: note: in expansion of macro
‘bio_for_each_segment’
   bio_for_each_segment(bvl, _iter.bio, _iter.iter)
   ^
/usr/src/cloop-2.639/cloop.c:297:2: note: in expansion of macro
‘rq_for_each_segment’
  rq_for_each_segment(bvec, req, iter)
  ^
include/linux/bio.h:240:45: error: request for member ‘bv_len’ in something
not a structure or union
       bio_advance_iter((bio), &(iter), (bvl).bv_len))
                                             ^
include/linux/bio.h:243:2: note: in expansion of macro
‘__bio_for_each_segment’
  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)
  ^
include/linux/blkdev.h:744:3: note: in expansion of macro
‘bio_for_each_segment’
   bio_for_each_segment(bvl, _iter.bio, _iter.iter)
   ^
/usr/src/cloop-2.639/cloop.c:297:2: note: in expansion of macro
‘rq_for_each_segment’
  rq_for_each_segment(bvec, req, iter)
  ^
/usr/src/cloop-2.639/cloop.c: At top level:
/usr/src/cloop-2.639/cloop.c:938:9: warning: initialization from
incompatible pointer type [enabled by default]
         release:        cloop_close,
         ^
/usr/src/cloop-2.639/cloop.c:938:9: warning: (near initialization for
‘clo_fops.release’) [enabled by default]
make[2]: *** [/usr/src/cloop-2.639/cloop.o] Error 1
make[1]: *** [_module_/usr/src/cloop-2.639] Error 2
make[1]: Leaving directory `/usr/src/linux-3.14'
make: *** [cloop.ko] Error 2

Aufs compiles fine 

Thanks




--
View this message in context: http://debian.2.n7.nabble.com/Cloop-and-kernel-3-14-0-tp3224586.html
Sent from the debian-knoppix mailing list archive at Nabble.com.


Reply to: