Details
-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
-
Lustre 2.6.0
-
None
-
3
-
12314
Description
cc1: warnings being treated as errors
/Users/shadow/work/lustre/work/WC-review/CLSTR-2003/lustre/osc/osc_lock.c: In function ‘osc_lock_has_pages’:
/Users/shadow/work/lustre/work/WC-review/CLSTR-2003/lustre/osc/osc_lock.c:1487: error: passing argument 2 of ‘osc_page_gang_lookup’ from incompatible pointer type
/Users/shadow/work/lustre/work/WC-review/CLSTR-2003/lustre/osc/osc_cl_internal.h:691: note: expected ‘struct cl_io *’ but argument is of type ‘struct osc_object *’
/Users/shadow/work/lustre/work/WC-review/CLSTR-2003/lustre/osc/osc_lock.c:1487: error: passing argument 3 of ‘osc_page_gang_lookup’ from incompatible pointer type
/Users/shadow/work/lustre/work/WC-review/CLSTR-2003/lustre/osc/osc_cl_internal.h:691: note: expected ‘struct osc_object *’ but argument is of type ‘struct cl_io *’
make[6]: *** [/Users/shadow/work/lustre/work/WC-review/CLSTR-2003/lustre/osc/osc_lock.o] Error 1