tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing head: e6b3cd4e349c072336d0d70536f95bb663120cb0 commit: 293f295593a09ebe430329e242ae1bbf9a35635f [1364/1400] Staging: lustre: wiretest: Remove int typecast of offsetof(). config: i386-allmodconfig (attached as .config) reproduce: git checkout 293f295593a09ebe430329e242ae1bbf9a35635f # save the attached .config to linux build tree make ARCH=i386
All warnings (new ones prefixed by >>):
In file included from
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs.h:112:0,
from
drivers/staging/lustre/lustre/ptlrpc/../include/obd_support.h:41,
from drivers/staging/lustre/lustre/ptlrpc/wiretest.c:42:
drivers/staging/lustre/lustre/ptlrpc/wiretest.c: In function
'lustre_assert_wire_constants':
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
>> drivers/staging/lustre/lustre/ptlrpc/wiretest.c:692:2: note: in expansion of
>> macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_handle) == offsetof(struct
ptlrpc_body_v2, pb_handle), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
>> drivers/staging/lustre/lustre/ptlrpc/wiretest.c:692:2: note: in expansion of
>> macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_handle) == offsetof(struct
ptlrpc_body_v2, pb_handle), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:696:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_type) == offsetof(struct
ptlrpc_body_v2, pb_type), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:696:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_type) == offsetof(struct
ptlrpc_body_v2, pb_type), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:700:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_version) == offsetof(struct
ptlrpc_body_v2, pb_version), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:700:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_version) == offsetof(struct
ptlrpc_body_v2, pb_version), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:704:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_opc) == offsetof(struct
ptlrpc_body_v2, pb_opc), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:704:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_opc) == offsetof(struct
ptlrpc_body_v2, pb_opc), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:708:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_status) == offsetof(struct
ptlrpc_body_v2, pb_status), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:708:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_status) == offsetof(struct
ptlrpc_body_v2, pb_status), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:712:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_last_xid) == offsetof(struct
ptlrpc_body_v2, pb_last_xid), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:712:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_last_xid) == offsetof(struct
ptlrpc_body_v2, pb_last_xid), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:716:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_last_seen) == offsetof(struct
ptlrpc_body_v2, pb_last_seen), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:716:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_last_seen) == offsetof(struct
ptlrpc_body_v2, pb_last_seen), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:720:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_last_committed) ==
offsetof(struct ptlrpc_body_v2, pb_last_committed), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:720:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_last_committed) ==
offsetof(struct ptlrpc_body_v2, pb_last_committed), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:724:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_transno) == offsetof(struct
ptlrpc_body_v2, pb_transno), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:724:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_transno) == offsetof(struct
ptlrpc_body_v2, pb_transno), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:728:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_flags) == offsetof(struct
ptlrpc_body_v2, pb_flags), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:728:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_flags) == offsetof(struct
ptlrpc_body_v2, pb_flags), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:732:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_op_flags) == offsetof(struct
ptlrpc_body_v2, pb_op_flags), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:732:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_op_flags) == offsetof(struct
ptlrpc_body_v2, pb_op_flags), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:736:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_conn_cnt) == offsetof(struct
ptlrpc_body_v2, pb_conn_cnt), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:736:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_conn_cnt) == offsetof(struct
ptlrpc_body_v2, pb_conn_cnt), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:740:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_timeout) == offsetof(struct
ptlrpc_body_v2, pb_timeout), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:740:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_timeout) == offsetof(struct
ptlrpc_body_v2, pb_timeout), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:744:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_service_time) ==
offsetof(struct ptlrpc_body_v2, pb_service_time), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:744:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_service_time) ==
offsetof(struct ptlrpc_body_v2, pb_service_time), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:748:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_limit) == offsetof(struct
ptlrpc_body_v2, pb_limit), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:748:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_limit) == offsetof(struct
ptlrpc_body_v2, pb_limit), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:752:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_slv) == offsetof(struct
ptlrpc_body_v2, pb_slv), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:752:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_slv) == offsetof(struct
ptlrpc_body_v2, pb_slv), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:756:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_pre_versions) ==
offsetof(struct ptlrpc_body_v2, pb_pre_versions), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:756:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_pre_versions) ==
offsetof(struct ptlrpc_body_v2, pb_pre_versions), "%ld != %ld\n",
^
>> drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
>> warning: format '%ld' expects argument of type 'long int', but argument 4
>> has type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:760:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_padding) == offsetof(struct
ptlrpc_body_v2, pb_padding), "%ld != %ld\n",
^
drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_private.h:61:6:
warning: format '%ld' expects argument of type 'long int', but argument 5 has
type 'unsigned int' [-Wformat=]
"ASSERTION( %s ) failed: " fmt, #cond, \
^
drivers/staging/lustre/lustre/ptlrpc/wiretest.c:760:2: note: in expansion of
macro 'LASSERTF'
LASSERTF(offsetof(struct ptlrpc_body_v3, pb_padding) == offsetof(struct
ptlrpc_body_v2, pb_padding), "%ld != %ld\n",
^
vim +/LASSERTF +692 drivers/staging/lustre/lustre/ptlrpc/wiretest.c
676 LASSERTF((int)sizeof(((struct ptlrpc_body_v3 *)0)->pb_slv) ==
8, "found %lld\n",
677 (long long)(int)sizeof(((struct ptlrpc_body_v3
*)0)->pb_slv));
678 CLASSERT(PTLRPC_NUM_VERSIONS == 4);
679 LASSERTF(offsetof(struct ptlrpc_body_v3, pb_pre_versions) ==
88, "found %lld\n",
680 (long long)offsetof(struct ptlrpc_body_v3,
pb_pre_versions));
681 LASSERTF((int)sizeof(((struct ptlrpc_body_v3
*)0)->pb_pre_versions) == 32, "found %lld\n",
682 (long long)(int)sizeof(((struct ptlrpc_body_v3
*)0)->pb_pre_versions));
683 LASSERTF(offsetof(struct ptlrpc_body_v3, pb_padding) == 120,
"found %lld\n",
684 (long long)offsetof(struct ptlrpc_body_v3,
pb_padding));
685 LASSERTF((int)sizeof(((struct ptlrpc_body_v3 *)0)->pb_padding)
== 32, "found %lld\n",
686 (long long)(int)sizeof(((struct ptlrpc_body_v3
*)0)->pb_padding));
687 CLASSERT(JOBSTATS_JOBID_SIZE == 32);
688 LASSERTF(offsetof(struct ptlrpc_body_v3, pb_jobid) == 152,
"found %lld\n",
689 (long long)offsetof(struct ptlrpc_body_v3, pb_jobid));
690 LASSERTF((int)sizeof(((struct ptlrpc_body_v3 *)0)->pb_jobid) ==
32, "found %lld\n",
691 (long long)(int)sizeof(((struct ptlrpc_body_v3
*)0)->pb_jobid));
> 692 LASSERTF(offsetof(struct ptlrpc_body_v3, pb_handle) ==
> offsetof(struct ptlrpc_body_v2, pb_handle), "%ld != %ld\n",
693 offsetof(struct ptlrpc_body_v3, pb_handle),
offsetof(struct ptlrpc_body_v2, pb_handle));
694 LASSERTF((int)sizeof(((struct ptlrpc_body_v3 *)0)->pb_handle)
== (int)sizeof(((struct ptlrpc_body_v2 *)0)->pb_handle), "%d != %d\n",
695 (int)sizeof(((struct ptlrpc_body_v3 *)0)->pb_handle),
(int)sizeof(((struct ptlrpc_body_v2 *)0)->pb_handle));
696 LASSERTF(offsetof(struct ptlrpc_body_v3, pb_type) ==
offsetof(struct ptlrpc_body_v2, pb_type), "%ld != %ld\n",
697 offsetof(struct ptlrpc_body_v3, pb_type),
offsetof(struct ptlrpc_body_v2, pb_type));
698 LASSERTF((int)sizeof(((struct ptlrpc_body_v3 *)0)->pb_type) ==
(int)sizeof(((struct ptlrpc_body_v2 *)0)->pb_type), "%d != %d\n",
699 (int)sizeof(((struct ptlrpc_body_v3 *)0)->pb_type),
(int)sizeof(((struct ptlrpc_body_v2 *)0)->pb_type));
700 LASSERTF(offsetof(struct ptlrpc_body_v3, pb_version) ==
offsetof(struct ptlrpc_body_v2, pb_version), "%ld != %ld\n",
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data
_______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
