Error while compiling with MLNX and DOCA OFED drivers

Indivar Nair <[email protected]> Mon, 28 Oct 2024 09:09:35 +0530
Newsgroups gmane.comp.linux.drbd
Message-ID <CALuPYL3QckMkCCtmH7qEUj3=7E2imE_RrFOn+Q7kVitauNQBGA@mail.gmail.com>
--000000000000de4363062581393b
Content-Type: text/plain; charset="UTF-8"

Hello All,

Compiling drbd with DOCA-OFED and MLNX-OFED fails.

DRBD: drbd-9.2.11 and drbd-9.2.10
(drbd-9.2.9 works)

OS: Rocky Linux 9.4
DOCA OFED drivers:
kmod-mlnx-ofa_kernel-24.07-OFED.24.07.0.6.1.1.rhel9u4.x86_64
mlnx-ofa_kernel-24.07-OFED.24.07.0.6.1.1.rhel9u4.x86_64
mlnx-ofa_kernel-devel-24.07-OFED.24.07.0.6.1.1.rhel9u4.x86_64

OS: Rocky Linux 9.1
MLNX OFED drivers:
kmod-mlnx-ofa_kernel-23.10-OFED.23.10.3.2.2.1.rhel9u1.x86_64
mlnx-ofa_kernel-23.10-OFED.23.10.3.2.2.1.rhel9u1.x86_64
mlnx-ofa_kernel-devel-23.10-OFED.23.10.3.2.2.1.rhel9u1.x86_64

Here is the full compiler output -
-----------------------------------------------------------------------
[root@vmhost01 SOURCES]# rpmbuild --define "ofed_kernel_dir
/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64"  -ba
drbd-kernel.spec
warning:  "XXX selected 5.14.0-427.40.1.el9_4.x86_64 based on installed
kernel-*devel packages"
warning: bogus date in %changelog: Wed Dec 22 2023 Philipp Reisner <
[email protected]> - 9.2.7
setting SOURCE_DATE_EPOCH=1723420800
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l5QZ2a
+ umask 022
+ cd /root/rpmbuild/BUILD
+ rm -f /var/tmp/drbd-kernel.rpmbuild.files_suse_kmod_drbd.tmp.w2kle2
/var/tmp/drbd-kernel.rpmbuild.files_rh_kmod_drbd.tmp.Bncnov
+ cd /root/rpmbuild/BUILD
+ rm -rf drbd-9.2.11
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/drbd-9.2.11.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd drbd-9.2.11
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8DlmU9
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd drbd-9.2.11
+ for flavor in default
++ '[' default = default ']'
++ echo /usr/src/kernels//5.14.0-427.40.1.el9_4.x86_64
+ make -C drbd -j8 all KDIR=/usr/src/kernels//5.14.0-427.40.1.el9_4.x86_64
BUILD_OFED=1
OFED_KERNEL_DIR=/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64
OFED_VERSION=24.07_OFED.24.07.0.6.1.1.rhel9u4
make: Entering directory '/root/rpmbuild/BUILD/drbd-9.2.11/drbd'
BUILDING FOR OFED:
==================
: /usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/Module.symvers
: -I/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include
-include linux/compat-2.6.h
===================================================================

    Calling toplevel makefile of kernel source tree, which I believe is in
    KDIR=/usr/src/kernels//5.14.0-427.40.1.el9_4.x86_64

make -C /usr/src/kernels//5.14.0-427.40.1.el9_4.x86_64
 "PRE_CFLAGS=-I/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include
-include linux/compat-2.6.h" M=/root/rpmbuild/BUILD/drbd-9.2.11/drbd
obj-m=dummy-for-compat.o dummy-for-compat-h.o
  COMPAT  have_sane_test_environment
  COMPAT  have_sane_test_environment_always_fail
  LN      build-current -> build-5.14.0-427.40.1.el9_4.x86_64/
  LN      compat.h -> build-5.14.0-427.40.1.el9_4.x86_64/compat.h
  UPD
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/.drbd_kernelrelease
  LN      .compat_test -> build-5.14.0-427.40.1.el9_4.x86_64/.compat_test
  LN      .compat_test.5.14.0-427.40.1.el9_4.x86_64 ->
build-5.14.0-427.40.1.el9_4.x86_64/.compat_test
  LN      compat.5.14.0-427.40.1.el9_4.x86_64.h ->
build-5.14.0-427.40.1.el9_4.x86_64/compat.h
  COMPAT  __vmalloc_has_2_params
  COMPAT  add_disk_returns_int
  COMPAT  before_4_13_kernel_read
  COMPAT  bio_alloc_has_4_params
  COMPAT  blk_alloc_disk_takes_queue_limits
  COMPAT  blkdev_get_by_path_has_holder_ops
  COMPAT  blkdev_issue_discard_takes_flags
  COMPAT  blkdev_issue_zeroout_discard
  COMPAT  blkdev_put_has_holder
  COMPAT  block_device_operations_open_takes_gendisk
  COMPAT  block_device_operations_release_takes_single_argument
  COMPAT  can_include_vermagic_h
  COMPAT  dax_direct_access_takes_mode
  COMPAT  fs_dax_get_by_bdev_takes_start_off
  COMPAT  fs_dax_get_by_bdev_takes_start_off_and_holder
  COMPAT  genl_policy_in_ops
  COMPAT  have_BIO_MAX_VECS
  COMPAT  have_CRYPTO_TFM_NEED_KEY
  COMPAT  have_GENHD_FL_NO_PART
  COMPAT  have_SHASH_DESC_ON_STACK
  COMPAT  have_WB_congested_enum
  COMPAT  have___bio_add_page
  COMPAT  have_allow_kernel_signal
  COMPAT  have_bdev_discard_granularity
  COMPAT  have_bdev_file_open_by_path
  COMPAT  have_bdev_max_discard_sectors
  COMPAT  have_bdev_nr_sectors
  COMPAT  have_bdev_open_by_path
  COMPAT  have_bdevname
  COMPAT  have_bdgrab
  COMPAT  have_bdi_congested
  COMPAT  have_bdi_congested_fn
  COMPAT  have_bio_advance_iter_single
  COMPAT  have_bio_alloc_clone
  COMPAT  have_bio_bi_bdev
  COMPAT  have_bio_bi_error
  COMPAT  have_bio_bi_opf
  COMPAT  have_bio_bi_status
  COMPAT  have_bio_clone_fast
  COMPAT  have_bio_op_shift
  COMPAT  have_bio_set_dev
  COMPAT  have_bio_set_op_attrs
  COMPAT  have_bio_split_to_limits
  COMPAT  have_bio_start_io_acct
  COMPAT  have_bioset_init
  COMPAT  have_bioset_need_bvecs
  COMPAT  have_blk_alloc_disk
  COMPAT  have_blk_alloc_queue_rh
  COMPAT  have_blk_check_plugged
  COMPAT  have_blk_cleanup_disk
  COMPAT  have_blk_mode_t
  COMPAT  have_blk_opf_t
  COMPAT  have_blk_qc_t_make_request
  COMPAT  have_blk_qc_t_submit_bio
  COMPAT  have_blk_queue_flag_set
  COMPAT  have_blk_queue_make_request
  COMPAT  have_blk_queue_max_write_same_sectors
  COMPAT  have_blk_queue_merge_bvec
  COMPAT  have_blk_queue_split_bio
  COMPAT  have_blk_queue_split_q_bio
  COMPAT  have_blk_queue_split_q_bio_bioset
  COMPAT  have_blk_queue_update_readahead
  COMPAT  have_blk_queue_write_cache
  COMPAT  have_bvec_kmap_local
  COMPAT  have_d_inode
  COMPAT  have_disk_update_readahead
  COMPAT  have_enum_req_op
  COMPAT  have_fallthrough
  COMPAT  have_fs_dax_get_by_bdev
  COMPAT  have_generic_start_io_acct_q_rw_sect_part
  COMPAT  have_generic_start_io_acct_rw_sect_part
  COMPAT  have_genl_info_userhdr
  COMPAT  have_get_random_u32
  COMPAT  have_get_random_u32_below
  COMPAT  have_hd_struct
  COMPAT  have_ib_cq_init_attr
  COMPAT  have_ib_get_dma_mr
  COMPAT  have_idr_is_empty
  COMPAT  have_inode_lock
  COMPAT  have_kmap_local_page
  COMPAT  have_ktime_to_timespec64
  COMPAT  have_kvfree
  COMPAT  have_kvfree_rcu
  COMPAT  have_kvfree_rcu_mightsleep
  COMPAT  have_list_is_first
  COMPAT  have_list_next_entry
  COMPAT  have_lookup_user_key
  COMPAT  have_max_send_recv_sge
  COMPAT  have_nla_nest_start_noflag
  COMPAT  have_nla_parse_deprecated
  COMPAT  have_nla_put_64bit
  COMPAT  have_nla_strscpy
  COMPAT  have_part_stat_h
  COMPAT  have_part_stat_read_accum
  COMPAT  have_pointer_backing_dev_info
  COMPAT  have_proc_create_single
  COMPAT  have_queue_flag_discard
  COMPAT  have_queue_flag_stable_writes
  COMPAT  have_rb_declare_callbacks_max
  COMPAT  have_refcount_inc
  COMPAT  have_req_hardbarrier
  COMPAT  have_req_noidle
  COMPAT  have_req_nounmap
  COMPAT  have_req_op_write
  COMPAT  have_req_op_write_zeroes
  COMPAT  have_req_write
  COMPAT  have_revalidate_disk_size
  COMPAT  have_sched_set_fifo
  COMPAT  have_sched_signal_h
  COMPAT  have_security_netlink_recv
  COMPAT  have_sendpage
  COMPAT  have_sendpage_ok
  COMPAT  have_set_capacity_and_notify
  COMPAT  have_shash_desc_zero
  COMPAT  have_simple_positive
  COMPAT  have_sk_use_task_frag
  COMPAT  have_sock_set_keepalive
  COMPAT  have_strscpy
  COMPAT  have_struct_bvec_iter
  COMPAT  have_struct_size
  COMPAT  have_submit_bio_noacct
  COMPAT  have_tasklet_setup
  COMPAT  have_tcp_sock_set_cork
  COMPAT  have_tcp_sock_set_keepcnt
  COMPAT  have_tcp_sock_set_keepidle
  COMPAT  have_tcp_sock_set_nodelay
  COMPAT  have_tcp_sock_set_quickack
  COMPAT  have_time64_to_tm
  COMPAT  have_timer_setup
  COMPAT  have_timer_shutdown
  COMPAT  have_tls_get_record_type
  COMPAT  have_tls_tx_rx
  COMPAT  have_void_make_request
  COMPAT  have_void_submit_bio
  COMPAT  ib_alloc_pd_has_2_params
  COMPAT  ib_device_has_ops
  COMPAT  ib_post_send_const_params
  COMPAT  ib_query_device_has_3_params
  COMPAT  need_drbd_wrappers
  COMPAT  need_make_request_recursion
  COMPAT  need_recalc_sigpending
  COMPAT  need_skb_abort_seq_read
  COMPAT  part_stat_read_takes_block_device
  COMPAT  queue_limits_has_discard_zeroes_data
  COMPAT  rdma_create_id_has_net_ns
  COMPAT  rdma_reject_has_reason_arg
  COMPAT  sk_data_ready_has_1_param
  COMPAT  sock_create_kern_has_netns_parameter
  COMPAT  sock_ops_returns_addr_len
  COMPAT  struct_gendisk_has_backing_dev_info
  UPD
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/compat.h
make -C /usr/src/kernels//5.14.0-427.40.1.el9_4.x86_64
 "PRE_CFLAGS=-I/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include
-include linux/compat-2.6.h" M=/root/rpmbuild/BUILD/drbd-9.2.11/drbd
obj-m=dummy-for-prep.o dummy-for-patch.o
  GEN
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_buildtag.c

  GEN
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/.kernel.config.gz

  COPY
 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/Kbuild
  COPY
 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/handshake/Kbuild
make -C /root/rpmbuild/BUILD/drbd-9.2.11/drbd -f Makefile.spatch
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/compat.patch
  CHK     build-5.14.0-427.40.1.el9_4.x86_64/compat.patch
  LN
 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/compat.patch
->
../drbd-kernel-compat/cocci_cache/769afc64ab07c4a33084a8a28074712e/compat.patch
set --
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/compat.patch
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/compat.h;
\
test $1 -nt $2 || touch -r $1 $2
  SPLIT
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/compat.patch
warning: rule starting on line 11, node 30:
iov_iter_bvec(...)[1,2,12,13,16] in dtt_send_page may be inconsistently
modified
warning: rule starting on line 11, node 31: sent = ... ;[1,2,12,13,17] in
dtt_send_page may be inconsistently modified
warning: rule starting on line 11, node 29:
bvec_set_page(...)[1,2,12,13,15] in dtt_send_page may be inconsistently
modified
warning: rule starting on line 11, node 22: iov_iter_bvec(...)[1,2,9,10,13]
in _dtl_send_page may be inconsistently modified
warning: rule starting on line 11, node 23: sent = ... ;[1,2,9,10,14] in
_dtl_send_page may be inconsistently modified
warning: rule starting on line 11, node 21: bvec_set_page(...)[1,2,9,10,12]
in _dtl_send_page may be inconsistently modified
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/compat.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/drbd_meta_data.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/drbd_protocol.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/drbd_strings.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/drbd_strings.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/drbd_transport.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/linux/drbd.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/linux/drbd_genl.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/linux/drbd_genl_api.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/linux/drbd_limits.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/linux/genl_magic_func-genl_register_family_with_ops_groups.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/linux/genl_magic_func-genl_register_mc_group.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/linux/genl_magic_func.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/linux/genl_magic_struct.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/windrbd/windrbd_ioctl.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/cocci_macros.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/drbd_wrappers.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/drbd_wrappers.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/handshake/genl.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/handshake/genl.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/handshake/handshake.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/handshake/netlink.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/handshake/request.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/handshake/tlshd.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/linux/libnvdimm.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/linux/lru_cache.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/linux/overflow.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/lru_cache.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/net/handshake.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/nsecs_to_jiffies.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/uapi/linux/handshake.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/uapi/linux/sched/types.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_actlog.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_bitmap.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_dax_pmem.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_dax_pmem.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_debugfs.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_debugfs.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_int.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_interval.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_interval.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_kref_debug.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_kref_debug.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_main.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_nl.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_nla.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_nla.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_polymorph_printk.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_proc.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_req.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_receiver.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_req.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_sender.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_state.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_state.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_state_change.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_transport.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_transport_lb-tcp.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_transport_rdma.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_transport_tcp.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_transport_template.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_vli.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/kref_debug.c
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/linux/drbd_config.h
  PATCH
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/kref_debug.h
test -e build-current && \
make -C /usr/src/kernels//5.14.0-427.40.1.el9_4.x86_64
 "PRE_CFLAGS=-I/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include
-include linux/compat-2.6.h"
M=/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current modules
  CC [M]
 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_buildtag.o
  CC [M]  /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_bitmap.o
  CC [M]  /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_proc.o
  CC [M]  /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_sender.o
  CC [M]
 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_receiver.o
  CC [M]  /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_req.o
  CC [M]  /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_actlog.o
  CC [M]  /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_main.o
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/drbd_bitmap.c:13: warning: "pr_fmt"
redefined
   13 | #define pr_fmt(fmt)     KBUILD_MODNAME ": " fmt
      |
In file included from ./include/linux/kernel.h:20,
                 from
/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/kernel.h:6,
                 from ./include/linux/uio.h:8,
                 from ./include/linux/socket.h:8,
                 from ./include/uapi/linux/if.h:25,
                 from
/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/compat-2.6.h:11,
                 from <command-line>:
./include/linux/printk.h:375: note: this is the location of the previous
definition
  375 | #define pr_fmt(fmt) fmt
      |
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/drbd_main.c:17: warning: "pr_fmt"
redefined
   17 | #define pr_fmt(fmt)     KBUILD_MODNAME ": " fmt
      |
In file included from ./include/linux/kernel.h:20,
                 from
/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/kernel.h:6,
                 from ./include/linux/uio.h:8,
                 from ./include/linux/socket.h:8,
                 from ./include/uapi/linux/if.h:25,
                 from
/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/compat-2.6.h:11,
                 from <command-line>:
./include/linux/printk.h:375: note: this is the location of the previous
definition
  375 | #define pr_fmt(fmt) fmt
      |
  COPY    /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_strings.c
  CC [M]  /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_nl.o
  CC [M]
 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_interval.o
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/drbd_nl.c:14: warning: "pr_fmt"
redefined
   14 | #define pr_fmt(fmt)     KBUILD_MODNAME ": " fmt
      |
In file included from ./include/linux/kernel.h:20,
                 from
/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/kernel.h:6,
                 from ./include/linux/uio.h:8,
                 from ./include/linux/socket.h:8,
                 from ./include/uapi/linux/if.h:25,
                 from
/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/compat-2.6.h:11,
                 from <command-line>:
./include/linux/printk.h:375: note: this is the location of the previous
definition
  375 | #define pr_fmt(fmt) fmt
      |
  CC [M]  /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_state.o
  CC [M]  /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_nla.o
  CC [M]
 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_transport.o
  CC [M]
 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd-kernel-compat/nsecs_to_jiffies.o
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/drbd_transport.c:2: warning: "pr_fmt"
redefined
    2 | #define pr_fmt(fmt)     KBUILD_MODNAME ": " fmt
      |
In file included from ./include/linux/kernel.h:20,
                 from
/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/kernel.h:6,
                 from ./include/linux/uio.h:8,
                 from ./include/linux/socket.h:8,
                 from ./include/uapi/linux/if.h:25,
                 from
/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/compat-2.6.h:11,
                 from <command-line>:
./include/linux/printk.h:375: note: this is the location of the previous
definition
  375 | #define pr_fmt(fmt) fmt
      |
  CC [M]
 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd-kernel-compat/lru_cache.o
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/drbd-kernel-compat/nsecs_to_jiffies.c:5:12:
error: static declaration of 'nsecs_to_jiffies64' follows non-static
declaration
    5 | static u64 nsecs_to_jiffies64(u64 n)
      |            ^~~~~~~~~~~~~~~~~~
In file included from ./include/linux/ktime.h:25,
                 from ./include/linux/timer.h:6,
                 from ./include/linux/workqueue.h:9,
                 from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:15,
                 from ./include/linux/uio.h:10,
                 from ./include/linux/socket.h:8,
                 from ./include/uapi/linux/if.h:25,
                 from
/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/compat-2.6.h:11,
                 from <command-line>:
./include/linux/jiffies.h:438:12: note: previous declaration of
'nsecs_to_jiffies64' with type 'u64(u64)' {aka 'long long unsigned int(long
long unsigned int)'}
  438 | extern u64 nsecs_to_jiffies64(u64 n);
      |            ^~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:299:
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd-kernel-compat/nsecs_to_jiffies.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/drbd_transport.c:2: warning: "pr_fmt"
redefined
    2 | #define pr_fmt(fmt)     KBUILD_MODNAME ": " fmt
      |
In file included from ./include/linux/kernel.h:20,
                 from
/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/kernel.h:6,
                 from ./include/linux/uio.h:8,
                 from ./include/linux/socket.h:8,
                 from ./include/uapi/linux/if.h:25,
                 from
/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/compat-2.6.h:11,
                 from <command-line>:
./include/linux/printk.h:375: note: this is the location of the previous
definition
  375 | #define pr_fmt(fmt) fmt
      |
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/drbd_main.c:17: warning: "pr_fmt"
redefined
   17 | #define pr_fmt(fmt)     KBUILD_MODNAME ": " fmt
      |
In file included from ./include/linux/kernel.h:20,
                 from
/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/kernel.h:6,
                 from ./include/linux/uio.h:8,
                 from ./include/linux/socket.h:8,
                 from ./include/uapi/linux/if.h:25,
                 from
/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/compat-2.6.h:11,
                 from <command-line>:
./include/linux/printk.h:375: note: this is the location of the previous
definition
  375 | #define pr_fmt(fmt) fmt
      |
make[1]: *** [Makefile:1936:
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current] Error 2
make: *** [Makefile:248: kbuild] Error 2
make: Leaving directory '/root/rpmbuild/BUILD/drbd-9.2.11/drbd'
error: Bad exit status from /var/tmp/rpm-tmp.8DlmU9 (%build)


RPM build errors:
     "XXX selected 5.14.0-427.40.1.el9_4.x86_64 based on installed
kernel-*devel packages"
    bogus date in %changelog: Wed Dec 22 2023 Philipp Reisner <
[email protected]> - 9.2.7
    Bad exit status from /var/tmp/rpm-tmp.8DlmU9 (%build)
-----------------------------------------------------------------------

This seems to be causing it -
-----------------------------------------------------------------------
  CC [M]
 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd-kernel-compat/lru_cache.o
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/drbd-kernel-compat/nsecs_to_jiffies.c:5:12:
error: static declaration of 'nsecs_to_jiffies64' follows non-static
declaration
    5 | static u64 nsecs_to_jiffies64(u64 n)
-----------------------------------------------------------------------

Is there a workaround for this?

Regards,


Indivar Nair

--000000000000de4363062581393b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello All,<br><div><br></div><div>Compiling drbd with DOCA=
-OFED and MLNX-OFED fails.</div><div><br></div><div>DRBD: drbd-9.2.11 and d=
rbd-9.2.10=C2=A0</div><div>(drbd-9.2.9 works)</div><div><br></div><div>OS: =
Rocky Linux 9.4</div><div>DOCA OFED drivers:</div>kmod-mlnx-ofa_kernel-24.0=
7-OFED.24.07.0.6.1.1.rhel9u4.x86_64<br><div>mlnx-ofa_kernel-24.07-OFED.24.0=
7.0.6.1.1.rhel9u4.x86_64</div><div>mlnx-ofa_kernel-devel-24.07-OFED.24.07.0=
.6.1.1.rhel9u4.x86_64</div><div><br></div><div>OS: Rocky Linux 9.1</div><di=
v>MLNX OFED drivers:</div><div>kmod-mlnx-ofa_kernel-23.10-OFED.23.10.3.2.2.=
1.rhel9u1.x86_64<br>mlnx-ofa_kernel-23.10-OFED.23.10.3.2.2.1.rhel9u1.x86_64=
<br>mlnx-ofa_kernel-devel-23.10-OFED.23.10.3.2.2.1.rhel9u1.x86_64<br></div>=
<div><br></div><div>Here is the full compiler output -</div><div>----------=
-------------------------------------------------------------</div><div>[ro=
ot@vmhost01 SOURCES]# rpmbuild --define &quot;ofed_kernel_dir /usr/src/ofa_=
kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64&quot; =C2=A0-ba drbd-kernel.spec=
<br>warning: =C2=A0&quot;XXX selected 5.14.0-427.40.1.el9_4.x86_64 based on=
 installed kernel-*devel packages&quot;<br>warning: bogus date in %changelo=
g: Wed Dec 22 2023 Philipp Reisner &lt;<a href=3D"mailto:[email protected]">p=
[email protected]</a>&gt; - 9.2.7<br>setting SOURCE_DATE_EPOCH=3D1723420800<br=
>Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l5QZ2a<br>+ umask 022<br>+ c=
d /root/rpmbuild/BUILD<br>+ rm -f /var/tmp/drbd-kernel.rpmbuild.files_suse_=
kmod_drbd.tmp.w2kle2 /var/tmp/drbd-kernel.rpmbuild.files_rh_kmod_drbd.tmp.B=
ncnov<br>+ cd /root/rpmbuild/BUILD<br>+ rm -rf drbd-9.2.11<br>+ /usr/bin/gz=
ip -dc /root/rpmbuild/SOURCES/drbd-9.2.11.tar.gz<br>+ /usr/bin/tar -xof -<b=
r>+ STATUS=3D0<br>+ &#39;[&#39; 0 -ne 0 &#39;]&#39;<br>+ cd drbd-9.2.11<br>=
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .<br>+ RPM_EC=3D0<br>++ jobs -p<br>+ =
exit 0<br>Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8DlmU9<br>+ umask =
022<br>+ cd /root/rpmbuild/BUILD<br>+ cd drbd-9.2.11<br>+ for flavor in def=
ault<br>++ &#39;[&#39; default =3D default &#39;]&#39;<br>++ echo /usr/src/=
kernels//5.14.0-427.40.1.el9_4.x86_64<br>+ make -C drbd -j8 all KDIR=3D/usr=
/src/kernels//5.14.0-427.40.1.el9_4.x86_64 BUILD_OFED=3D1 OFED_KERNEL_DIR=
=3D/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64 OFED_VERSION=3D2=
4.07_OFED.24.07.0.6.1.1.rhel9u4<br>make: Entering directory &#39;/root/rpmb=
uild/BUILD/drbd-9.2.11/drbd&#39;<br>BUILDING FOR OFED:<br>=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>: /usr/src/ofa_kernel/x86_64/5.1=
4.0-427.13.1.el9_4.x86_64/Module.symvers<br>: -I/usr/src/ofa_kernel/x86_64/=
5.14.0-427.13.1.el9_4.x86_64/include -include linux/compat-2.6.h<br>=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br><br>=C2=A0 =C2=A0 Calling =
toplevel makefile of kernel source tree, which I believe is in<br>=C2=A0 =
=C2=A0 KDIR=3D/usr/src/kernels//5.14.0-427.40.1.el9_4.x86_64<br><br>make -C=
 /usr/src/kernels//5.14.0-427.40.1.el9_4.x86_64 =C2=A0 =C2=A0&quot;PRE_CFLA=
GS=3D-I/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include -inc=
lude linux/compat-2.6.h&quot; M=3D/root/rpmbuild/BUILD/drbd-9.2.11/drbd obj=
-m=3Ddummy-for-compat.o dummy-for-compat-h.o<br>=C2=A0 COMPAT =C2=A0have_sa=
ne_test_environment<br>=C2=A0 COMPAT =C2=A0have_sane_test_environment_alway=
s_fail<br>=C2=A0 LN =C2=A0 =C2=A0 =C2=A0build-current -&gt; build-5.14.0-42=
7.40.1.el9_4.x86_64/<br>=C2=A0 LN =C2=A0 =C2=A0 =C2=A0compat.h -&gt; build-=
5.14.0-427.40.1.el9_4.x86_64/compat.h<br>=C2=A0 UPD =C2=A0 =C2=A0 /root/rpm=
build/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/.drbd_kerne=
lrelease<br>=C2=A0 LN =C2=A0 =C2=A0 =C2=A0.compat_test -&gt; build-5.14.0-4=
27.40.1.el9_4.x86_64/.compat_test<br>=C2=A0 LN =C2=A0 =C2=A0 =C2=A0.compat_=
test.5.14.0-427.40.1.el9_4.x86_64 -&gt; build-5.14.0-427.40.1.el9_4.x86_64/=
.compat_test<br>=C2=A0 LN =C2=A0 =C2=A0 =C2=A0compat.5.14.0-427.40.1.el9_4.=
x86_64.h -&gt; build-5.14.0-427.40.1.el9_4.x86_64/compat.h<br>=C2=A0 COMPAT=
 =C2=A0__vmalloc_has_2_params<br>=C2=A0 COMPAT =C2=A0add_disk_returns_int<b=
r>=C2=A0 COMPAT =C2=A0before_4_13_kernel_read<br>=C2=A0 COMPAT =C2=A0bio_al=
loc_has_4_params<br>=C2=A0 COMPAT =C2=A0blk_alloc_disk_takes_queue_limits<b=
r>=C2=A0 COMPAT =C2=A0blkdev_get_by_path_has_holder_ops<br>=C2=A0 COMPAT =
=C2=A0blkdev_issue_discard_takes_flags<br>=C2=A0 COMPAT =C2=A0blkdev_issue_=
zeroout_discard<br>=C2=A0 COMPAT =C2=A0blkdev_put_has_holder<br>=C2=A0 COMP=
AT =C2=A0block_device_operations_open_takes_gendisk<br>=C2=A0 COMPAT =C2=A0=
block_device_operations_release_takes_single_argument<br>=C2=A0 COMPAT =C2=
=A0can_include_vermagic_h<br>=C2=A0 COMPAT =C2=A0dax_direct_access_takes_mo=
de<br>=C2=A0 COMPAT =C2=A0fs_dax_get_by_bdev_takes_start_off<br>=C2=A0 COMP=
AT =C2=A0fs_dax_get_by_bdev_takes_start_off_and_holder<br>=C2=A0 COMPAT =C2=
=A0genl_policy_in_ops<br>=C2=A0 COMPAT =C2=A0have_BIO_MAX_VECS<br>=C2=A0 CO=
MPAT =C2=A0have_CRYPTO_TFM_NEED_KEY<br>=C2=A0 COMPAT =C2=A0have_GENHD_FL_NO=
_PART<br>=C2=A0 COMPAT =C2=A0have_SHASH_DESC_ON_STACK<br>=C2=A0 COMPAT =C2=
=A0have_WB_congested_enum<br>=C2=A0 COMPAT =C2=A0have___bio_add_page<br>=C2=
=A0 COMPAT =C2=A0have_allow_kernel_signal<br>=C2=A0 COMPAT =C2=A0have_bdev_=
discard_granularity<br>=C2=A0 COMPAT =C2=A0have_bdev_file_open_by_path<br>=
=C2=A0 COMPAT =C2=A0have_bdev_max_discard_sectors<br>=C2=A0 COMPAT =C2=A0ha=
ve_bdev_nr_sectors<br>=C2=A0 COMPAT =C2=A0have_bdev_open_by_path<br>=C2=A0 =
COMPAT =C2=A0have_bdevname<br>=C2=A0 COMPAT =C2=A0have_bdgrab<br>=C2=A0 COM=
PAT =C2=A0have_bdi_congested<br>=C2=A0 COMPAT =C2=A0have_bdi_congested_fn<b=
r>=C2=A0 COMPAT =C2=A0have_bio_advance_iter_single<br>=C2=A0 COMPAT =C2=A0h=
ave_bio_alloc_clone<br>=C2=A0 COMPAT =C2=A0have_bio_bi_bdev<br>=C2=A0 COMPA=
T =C2=A0have_bio_bi_error<br>=C2=A0 COMPAT =C2=A0have_bio_bi_opf<br>=C2=A0 =
COMPAT =C2=A0have_bio_bi_status<br>=C2=A0 COMPAT =C2=A0have_bio_clone_fast<=
br>=C2=A0 COMPAT =C2=A0have_bio_op_shift<br>=C2=A0 COMPAT =C2=A0have_bio_se=
t_dev<br>=C2=A0 COMPAT =C2=A0have_bio_set_op_attrs<br>=C2=A0 COMPAT =C2=A0h=
ave_bio_split_to_limits<br>=C2=A0 COMPAT =C2=A0have_bio_start_io_acct<br>=
=C2=A0 COMPAT =C2=A0have_bioset_init<br>=C2=A0 COMPAT =C2=A0have_bioset_nee=
d_bvecs<br>=C2=A0 COMPAT =C2=A0have_blk_alloc_disk<br>=C2=A0 COMPAT =C2=A0h=
ave_blk_alloc_queue_rh<br>=C2=A0 COMPAT =C2=A0have_blk_check_plugged<br>=C2=
=A0 COMPAT =C2=A0have_blk_cleanup_disk<br>=C2=A0 COMPAT =C2=A0have_blk_mode=
_t<br>=C2=A0 COMPAT =C2=A0have_blk_opf_t<br>=C2=A0 COMPAT =C2=A0have_blk_qc=
_t_make_request<br>=C2=A0 COMPAT =C2=A0have_blk_qc_t_submit_bio<br>=C2=A0 C=
OMPAT =C2=A0have_blk_queue_flag_set<br>=C2=A0 COMPAT =C2=A0have_blk_queue_m=
ake_request<br>=C2=A0 COMPAT =C2=A0have_blk_queue_max_write_same_sectors<br=
>=C2=A0 COMPAT =C2=A0have_blk_queue_merge_bvec<br>=C2=A0 COMPAT =C2=A0have_=
blk_queue_split_bio<br>=C2=A0 COMPAT =C2=A0have_blk_queue_split_q_bio<br>=
=C2=A0 COMPAT =C2=A0have_blk_queue_split_q_bio_bioset<br>=C2=A0 COMPAT =C2=
=A0have_blk_queue_update_readahead<br>=C2=A0 COMPAT =C2=A0have_blk_queue_wr=
ite_cache<br>=C2=A0 COMPAT =C2=A0have_bvec_kmap_local<br>=C2=A0 COMPAT =C2=
=A0have_d_inode<br>=C2=A0 COMPAT =C2=A0have_disk_update_readahead<br>=C2=A0=
 COMPAT =C2=A0have_enum_req_op<br>=C2=A0 COMPAT =C2=A0have_fallthrough<br>=
=C2=A0 COMPAT =C2=A0have_fs_dax_get_by_bdev<br>=C2=A0 COMPAT =C2=A0have_gen=
eric_start_io_acct_q_rw_sect_part<br>=C2=A0 COMPAT =C2=A0have_generic_start=
_io_acct_rw_sect_part<br>=C2=A0 COMPAT =C2=A0have_genl_info_userhdr<br>=C2=
=A0 COMPAT =C2=A0have_get_random_u32<br>=C2=A0 COMPAT =C2=A0have_get_random=
_u32_below<br>=C2=A0 COMPAT =C2=A0have_hd_struct<br>=C2=A0 COMPAT =C2=A0hav=
e_ib_cq_init_attr<br>=C2=A0 COMPAT =C2=A0have_ib_get_dma_mr<br>=C2=A0 COMPA=
T =C2=A0have_idr_is_empty<br>=C2=A0 COMPAT =C2=A0have_inode_lock<br>=C2=A0 =
COMPAT =C2=A0have_kmap_local_page<br>=C2=A0 COMPAT =C2=A0have_ktime_to_time=
spec64<br>=C2=A0 COMPAT =C2=A0have_kvfree<br>=C2=A0 COMPAT =C2=A0have_kvfre=
e_rcu<br>=C2=A0 COMPAT =C2=A0have_kvfree_rcu_mightsleep<br>=C2=A0 COMPAT =
=C2=A0have_list_is_first<br>=C2=A0 COMPAT =C2=A0have_list_next_entry<br>=C2=
=A0 COMPAT =C2=A0have_lookup_user_key<br>=C2=A0 COMPAT =C2=A0have_max_send_=
recv_sge<br>=C2=A0 COMPAT =C2=A0have_nla_nest_start_noflag<br>=C2=A0 COMPAT=
 =C2=A0have_nla_parse_deprecated<br>=C2=A0 COMPAT =C2=A0have_nla_put_64bit<=
br>=C2=A0 COMPAT =C2=A0have_nla_strscpy<br>=C2=A0 COMPAT =C2=A0have_part_st=
at_h<br>=C2=A0 COMPAT =C2=A0have_part_stat_read_accum<br>=C2=A0 COMPAT =C2=
=A0have_pointer_backing_dev_info<br>=C2=A0 COMPAT =C2=A0have_proc_create_si=
ngle<br>=C2=A0 COMPAT =C2=A0have_queue_flag_discard<br>=C2=A0 COMPAT =C2=A0=
have_queue_flag_stable_writes<br>=C2=A0 COMPAT =C2=A0have_rb_declare_callba=
cks_max<br>=C2=A0 COMPAT =C2=A0have_refcount_inc<br>=C2=A0 COMPAT =C2=A0hav=
e_req_hardbarrier<br>=C2=A0 COMPAT =C2=A0have_req_noidle<br>=C2=A0 COMPAT =
=C2=A0have_req_nounmap<br>=C2=A0 COMPAT =C2=A0have_req_op_write<br>=C2=A0 C=
OMPAT =C2=A0have_req_op_write_zeroes<br>=C2=A0 COMPAT =C2=A0have_req_write<=
br>=C2=A0 COMPAT =C2=A0have_revalidate_disk_size<br>=C2=A0 COMPAT =C2=A0hav=
e_sched_set_fifo<br>=C2=A0 COMPAT =C2=A0have_sched_signal_h<br>=C2=A0 COMPA=
T =C2=A0have_security_netlink_recv<br>=C2=A0 COMPAT =C2=A0have_sendpage<br>=
=C2=A0 COMPAT =C2=A0have_sendpage_ok<br>=C2=A0 COMPAT =C2=A0have_set_capaci=
ty_and_notify<br>=C2=A0 COMPAT =C2=A0have_shash_desc_zero<br>=C2=A0 COMPAT =
=C2=A0have_simple_positive<br>=C2=A0 COMPAT =C2=A0have_sk_use_task_frag<br>=
=C2=A0 COMPAT =C2=A0have_sock_set_keepalive<br>=C2=A0 COMPAT =C2=A0have_str=
scpy<br>=C2=A0 COMPAT =C2=A0have_struct_bvec_iter<br>=C2=A0 COMPAT =C2=A0ha=
ve_struct_size<br>=C2=A0 COMPAT =C2=A0have_submit_bio_noacct<br>=C2=A0 COMP=
AT =C2=A0have_tasklet_setup<br>=C2=A0 COMPAT =C2=A0have_tcp_sock_set_cork<b=
r>=C2=A0 COMPAT =C2=A0have_tcp_sock_set_keepcnt<br>=C2=A0 COMPAT =C2=A0have=
_tcp_sock_set_keepidle<br>=C2=A0 COMPAT =C2=A0have_tcp_sock_set_nodelay<br>=
=C2=A0 COMPAT =C2=A0have_tcp_sock_set_quickack<br>=C2=A0 COMPAT =C2=A0have_=
time64_to_tm<br>=C2=A0 COMPAT =C2=A0have_timer_setup<br>=C2=A0 COMPAT =C2=
=A0have_timer_shutdown<br>=C2=A0 COMPAT =C2=A0have_tls_get_record_type<br>=
=C2=A0 COMPAT =C2=A0have_tls_tx_rx<br>=C2=A0 COMPAT =C2=A0have_void_make_re=
quest<br>=C2=A0 COMPAT =C2=A0have_void_submit_bio<br>=C2=A0 COMPAT =C2=A0ib=
_alloc_pd_has_2_params<br>=C2=A0 COMPAT =C2=A0ib_device_has_ops<br>=C2=A0 C=
OMPAT =C2=A0ib_post_send_const_params<br>=C2=A0 COMPAT =C2=A0ib_query_devic=
e_has_3_params<br>=C2=A0 COMPAT =C2=A0need_drbd_wrappers<br>=C2=A0 COMPAT =
=C2=A0need_make_request_recursion<br>=C2=A0 COMPAT =C2=A0need_recalc_sigpen=
ding<br>=C2=A0 COMPAT =C2=A0need_skb_abort_seq_read<br>=C2=A0 COMPAT =C2=A0=
part_stat_read_takes_block_device<br>=C2=A0 COMPAT =C2=A0queue_limits_has_d=
iscard_zeroes_data<br>=C2=A0 COMPAT =C2=A0rdma_create_id_has_net_ns<br>=C2=
=A0 COMPAT =C2=A0rdma_reject_has_reason_arg<br>=C2=A0 COMPAT =C2=A0sk_data_=
ready_has_1_param<br>=C2=A0 COMPAT =C2=A0sock_create_kern_has_netns_paramet=
er<br>=C2=A0 COMPAT =C2=A0sock_ops_returns_addr_len<br>=C2=A0 COMPAT =C2=A0=
struct_gendisk_has_backing_dev_info<br>=C2=A0 UPD =C2=A0 =C2=A0 /root/rpmbu=
ild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/compat.h<br>m=
ake -C /usr/src/kernels//5.14.0-427.40.1.el9_4.x86_64 =C2=A0 =C2=A0&quot;PR=
E_CFLAGS=3D-I/usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/includ=
e -include linux/compat-2.6.h&quot; M=3D/root/rpmbuild/BUILD/drbd-9.2.11/dr=
bd obj-m=3Ddummy-for-prep.o dummy-for-patch.o<br>=C2=A0 GEN =C2=A0 =C2=A0 /=
root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drb=
d_buildtag.c <br>=C2=A0 GEN =C2=A0 =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/=
drbd/build-5.14.0-427.40.1.el9_4.x86_64/.kernel.config.gz <br>=C2=A0 COPY =
=C2=A0 =C2=A0/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el=
9_4.x86_64/Kbuild<br>=C2=A0 COPY =C2=A0 =C2=A0/root/rpmbuild/BUILD/drbd-9.2=
.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/handshake/Kb=
uild<br>make -C /root/rpmbuild/BUILD/drbd-9.2.11/drbd -f Makefile.spatch /r=
oot/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/comp=
at.patch<br>=C2=A0 CHK =C2=A0 =C2=A0 build-5.14.0-427.40.1.el9_4.x86_64/com=
pat.patch<br>=C2=A0 LN =C2=A0 =C2=A0 =C2=A0/root/rpmbuild/BUILD/drbd-9.2.11=
/drbd/build-5.14.0-427.40.1.el9_4.x86_64/compat.patch -&gt; ../drbd-kernel-=
compat/cocci_cache/769afc64ab07c4a33084a8a28074712e/compat.patch<br>set -- =
/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/co=
mpat.patch /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_=
4.x86_64/compat.h;	\<br>test $1 -nt $2 || touch -r $1 $2<br>=C2=A0 SPLIT =
=C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x8=
6_64/compat.patch<br>warning: rule starting on line 11, node 30: iov_iter_b=
vec(...)[1,2,12,13,16] in dtt_send_page may be inconsistently modified<br>w=
arning: rule starting on line 11, node 31: sent =3D ... ;[1,2,12,13,17] in =
dtt_send_page may be inconsistently modified<br>warning: rule starting on l=
ine 11, node 29: bvec_set_page(...)[1,2,12,13,15] in dtt_send_page may be i=
nconsistently modified<br>warning: rule starting on line 11, node 22: iov_i=
ter_bvec(...)[1,2,9,10,13] in _dtl_send_page may be inconsistently modified=
<br>warning: rule starting on line 11, node 23: sent =3D ... ;[1,2,9,10,14]=
 in _dtl_send_page may be inconsistently modified<br>warning: rule starting=
 on line 11, node 21: bvec_set_page(...)[1,2,9,10,12] in _dtl_send_page may=
 be inconsistently modified<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drb=
d-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/compat.h<br>=
=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.=
40.1.el9_4.x86_64/drbd-headers/drbd_meta_data.h<br>=C2=A0 PATCH =C2=A0 /roo=
t/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-h=
eaders/drbd_protocol.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2=
.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/drbd_strings.c<br>=
=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.=
40.1.el9_4.x86_64/drbd-headers/drbd_strings.h<br>=C2=A0 PATCH =C2=A0 /root/=
rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-hea=
ders/drbd_transport.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.=
11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/linux/drbd.h<br>=C2=
=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.=
1.el9_4.x86_64/drbd-headers/linux/drbd_genl.h<br>=C2=A0 PATCH =C2=A0 /root/=
rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-hea=
ders/linux/drbd_genl_api.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd=
-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/linux/drbd_lim=
its.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.=
14.0-427.40.1.el9_4.x86_64/drbd-headers/linux/genl_magic_func-genl_register=
_family_with_ops_groups.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-=
9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/linux/genl_magi=
c_func-genl_register_mc_group.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD=
/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/linux/gen=
l_magic_func.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd=
/build-5.14.0-427.40.1.el9_4.x86_64/drbd-headers/linux/genl_magic_struct.h<=
br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-4=
27.40.1.el9_4.x86_64/drbd-headers/windrbd/windrbd_ioctl.h<br>=C2=A0 PATCH =
=C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x8=
6_64/drbd-kernel-compat/cocci_macros.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuil=
d/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-com=
pat/drbd_wrappers.c<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11=
/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/drbd_wrappers.h=
<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-=
427.40.1.el9_4.x86_64/drbd-kernel-compat/handshake/genl.c<br>=C2=A0 PATCH =
=C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x8=
6_64/drbd-kernel-compat/handshake/genl.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbu=
ild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-c=
ompat/handshake/handshake.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drb=
d-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/handsha=
ke/netlink.c<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/b=
uild-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/handshake/request.c<br=
>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427=
.40.1.el9_4.x86_64/drbd-kernel-compat/handshake/tlshd.c<br>=C2=A0 PATCH =C2=
=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_6=
4/drbd-kernel-compat/linux/libnvdimm.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuil=
d/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-com=
pat/linux/lru_cache.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.=
11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/linux/overflo=
w.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14=
.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/lru_cache.c<br>=C2=A0 PATCH =C2=
=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_6=
4/drbd-kernel-compat/net/handshake.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/=
BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compa=
t/nsecs_to_jiffies.c<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.1=
1/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/uapi/linux/han=
dshake.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build=
-5.14.0-427.40.1.el9_4.x86_64/drbd-kernel-compat/uapi/linux/sched/types.h<b=
r>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-42=
7.40.1.el9_4.x86_64/drbd_actlog.c<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUI=
LD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_bitmap.c<br>=C2=
=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.=
1.el9_4.x86_64/drbd_dax_pmem.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/=
drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_dax_pmem.c<br>=C2=
=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.=
1.el9_4.x86_64/drbd_debugfs.c<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/d=
rbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_debugfs.h<br>=C2=A0=
 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.e=
l9_4.x86_64/drbd_int.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2=
.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_interval.c<br>=C2=A0 PATCH=
 =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x=
86_64/drbd_interval.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.=
11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_kref_debug.c<br>=C2=A0 PATC=
H =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.=
x86_64/drbd_kref_debug.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9=
.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_main.c<br>=C2=A0 PATCH =
=C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x8=
6_64/drbd_nl.c<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd=
/build-5.14.0-427.40.1.el9_4.x86_64/drbd_nla.c<br>=C2=A0 PATCH =C2=A0 /root=
/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_nl=
a.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14=
.0-427.40.1.el9_4.x86_64/drbd_polymorph_printk.h<br>=C2=A0 PATCH =C2=A0 /ro=
ot/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_=
proc.c<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5=
.14.0-427.40.1.el9_4.x86_64/drbd_req.c<br>=C2=A0 PATCH =C2=A0 /root/rpmbuil=
d/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_receiver.c=
<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-=
427.40.1.el9_4.x86_64/drbd_req.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUIL=
D/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_sender.c<br>=C2=
=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.=
1.el9_4.x86_64/drbd_state.c<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drb=
d-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_state.h<br>=C2=A0 PAT=
CH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4=
.x86_64/drbd_state_change.h<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drb=
d-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_transport.c<br>=C2=A0=
 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.e=
l9_4.x86_64/drbd_transport_lb-tcp.c<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/B=
UILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_transport_rdm=
a.c<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14=
.0-427.40.1.el9_4.x86_64/drbd_transport_tcp.c<br>=C2=A0 PATCH =C2=A0 /root/=
rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_tra=
nsport_template.c<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/d=
rbd/build-5.14.0-427.40.1.el9_4.x86_64/drbd_vli.h<br>=C2=A0 PATCH =C2=A0 /r=
oot/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/kref=
_debug.c<br>=C2=A0 PATCH =C2=A0 /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build=
-5.14.0-427.40.1.el9_4.x86_64/linux/drbd_config.h<br>=C2=A0 PATCH =C2=A0 /r=
oot/rpmbuild/BUILD/drbd-9.2.11/drbd/build-5.14.0-427.40.1.el9_4.x86_64/kref=
_debug.h<br>test -e build-current &amp;&amp; \<br>make -C /usr/src/kernels/=
/5.14.0-427.40.1.el9_4.x86_64 =C2=A0 =C2=A0&quot;PRE_CFLAGS=3D-I/usr/src/of=
a_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include -include linux/compat-=
2.6.h&quot; M=3D/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current modules=
<br>=C2=A0 CC [M] =C2=A0/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current=
/drbd_buildtag.o<br>=C2=A0 CC [M] =C2=A0/root/rpmbuild/BUILD/drbd-9.2.11/dr=
bd/build-current/drbd_bitmap.o<br>=C2=A0 CC [M] =C2=A0/root/rpmbuild/BUILD/=
drbd-9.2.11/drbd/build-current/drbd_proc.o<br>=C2=A0 CC [M] =C2=A0/root/rpm=
build/BUILD/drbd-9.2.11/drbd/build-current/drbd_sender.o<br>=C2=A0 CC [M] =
=C2=A0/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_receiver.o<b=
r>=C2=A0 CC [M] =C2=A0/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/d=
rbd_req.o<br>=C2=A0 CC [M] =C2=A0/root/rpmbuild/BUILD/drbd-9.2.11/drbd/buil=
d-current/drbd_actlog.o<br>=C2=A0 CC [M] =C2=A0/root/rpmbuild/BUILD/drbd-9.=
2.11/drbd/build-current/drbd_main.o<br>/root/rpmbuild/BUILD/drbd-9.2.11/drb=
d/drbd_bitmap.c:13: warning: &quot;pr_fmt&quot; redefined<br>=C2=A0 =C2=A01=
3 | #define pr_fmt(fmt) =C2=A0 =C2=A0 KBUILD_MODNAME &quot;: &quot; fmt<br>=
=C2=A0 =C2=A0 =C2=A0 | <br>In file included from ./include/linux/kernel.h:2=
0,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /u=
sr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/kernel.=
h:6,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from =
./include/linux/uio.h:8,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0from ./include/linux/socket.h:8,<br>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./include/uapi/linux/if.h:25,=
<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /usr=
/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/compat-2.=
6.h:11,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fr=
om &lt;command-line&gt;:<br>./include/linux/printk.h:375: note: this is the=
 location of the previous definition<br>=C2=A0 375 | #define pr_fmt(fmt) fm=
t<br>=C2=A0 =C2=A0 =C2=A0 | <br>/root/rpmbuild/BUILD/drbd-9.2.11/drbd/drbd_=
main.c:17: warning: &quot;pr_fmt&quot; redefined<br>=C2=A0 =C2=A017 | #defi=
ne pr_fmt(fmt) =C2=A0 =C2=A0 KBUILD_MODNAME &quot;: &quot; fmt<br>=C2=A0 =
=C2=A0 =C2=A0 | <br>In file included from ./include/linux/kernel.h:20,<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /usr/src=
/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/kernel.h:6,<b=
r>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./incl=
ude/linux/uio.h:8,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0from ./include/linux/socket.h:8,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./include/uapi/linux/if.h:25,<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /usr/src/of=
a_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/include/linux/compat-2.6.h:11,=
<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from &lt;=
command-line&gt;:<br>./include/linux/printk.h:375: note: this is the locati=
on of the previous definition<br>=C2=A0 375 | #define pr_fmt(fmt) fmt<br>=
=C2=A0 =C2=A0 =C2=A0 | <br>=C2=A0 COPY =C2=A0 =C2=A0/root/rpmbuild/BUILD/dr=
bd-9.2.11/drbd/build-current/drbd_strings.c<br>=C2=A0 CC [M] =C2=A0/root/rp=
mbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_nl.o<br>=C2=A0 CC [M] =C2=
=A0/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_interval.o<br>/=
root/rpmbuild/BUILD/drbd-9.2.11/drbd/drbd_nl.c:14: warning: &quot;pr_fmt&qu=
ot; redefined<br>=C2=A0 =C2=A014 | #define pr_fmt(fmt) =C2=A0 =C2=A0 KBUILD=
_MODNAME &quot;: &quot; fmt<br>=C2=A0 =C2=A0 =C2=A0 | <br>In file included =
from ./include/linux/kernel.h:20,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0from /usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9=
_4.x86_64/include/linux/kernel.h:6,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0from ./include/linux/uio.h:8,<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./include/linux/socket=
.h:8,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from=
 ./include/uapi/linux/if.h:25,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0from /usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.=
x86_64/include/linux/compat-2.6.h:11,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0from &lt;command-line&gt;:<br>./include/linux/p=
rintk.h:375: note: this is the location of the previous definition<br>=C2=
=A0 375 | #define pr_fmt(fmt) fmt<br>=C2=A0 =C2=A0 =C2=A0 | <br>=C2=A0 CC [=
M] =C2=A0/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd_state.o<b=
r>=C2=A0 CC [M] =C2=A0/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/d=
rbd_nla.o<br>=C2=A0 CC [M] =C2=A0/root/rpmbuild/BUILD/drbd-9.2.11/drbd/buil=
d-current/drbd_transport.o<br>=C2=A0 CC [M] =C2=A0/root/rpmbuild/BUILD/drbd=
-9.2.11/drbd/build-current/drbd-kernel-compat/nsecs_to_jiffies.o<br>/root/r=
pmbuild/BUILD/drbd-9.2.11/drbd/drbd_transport.c:2: warning: &quot;pr_fmt&qu=
ot; redefined<br>=C2=A0 =C2=A0 2 | #define pr_fmt(fmt) =C2=A0 =C2=A0 KBUILD=
_MODNAME &quot;: &quot; fmt<br>=C2=A0 =C2=A0 =C2=A0 | <br>In file included =
from ./include/linux/kernel.h:20,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0from /usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9=
_4.x86_64/include/linux/kernel.h:6,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0from ./include/linux/uio.h:8,<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./include/linux/socket=
.h:8,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from=
 ./include/uapi/linux/if.h:25,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0from /usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.=
x86_64/include/linux/compat-2.6.h:11,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0from &lt;command-line&gt;:<br>./include/linux/p=
rintk.h:375: note: this is the location of the previous definition<br>=C2=
=A0 375 | #define pr_fmt(fmt) fmt<br>=C2=A0 =C2=A0 =C2=A0 | <br>=C2=A0 CC [=
M] =C2=A0/root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd-kernel-co=
mpat/lru_cache.o<br>/root/rpmbuild/BUILD/drbd-9.2.11/drbd/drbd-kernel-compa=
t/nsecs_to_jiffies.c:5:12: error: static declaration of &#39;nsecs_to_jiffi=
es64&#39; follows non-static declaration<br>=C2=A0 =C2=A0 5 | static u64 ns=
ecs_to_jiffies64(u64 n)<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~~~~~~<br>In file included from ./include/linu=
x/ktime.h:25,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0from ./include/linux/timer.h:6,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./include/linux/workqueue.h:9,<br>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./include/linux=
/srcu.h:21,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0from ./include/linux/notifier.h:16,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./arch/x86/include/asm/uprobes.h:13,<br=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./inclu=
de/linux/uprobes.h:49,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0from ./include/linux/mm_types.h:15,<br>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./include/linux/uio.h:10,<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./includ=
e/linux/socket.h:8,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0from ./include/uapi/linux/if.h:25,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /usr/src/ofa_kernel/x86_64/5.14.0-4=
27.13.1.el9_4.x86_64/include/linux/compat-2.6.h:11,<br>=C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from &lt;command-line&gt;:<br>./i=
nclude/linux/jiffies.h:438:12: note: previous declaration of &#39;nsecs_to_=
jiffies64&#39; with type &#39;u64(u64)&#39; {aka &#39;long long unsigned in=
t(long long unsigned int)&#39;}<br>=C2=A0 438 | extern u64 nsecs_to_jiffies=
64(u64 n);<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0^~~~~~~~~~~~~~~~~~<br>make[2]: *** [scripts/Makefile.build:299: /root/rp=
mbuild/BUILD/drbd-9.2.11/drbd/build-current/drbd-kernel-compat/nsecs_to_jif=
fies.o] Error 1<br>make[2]: *** Waiting for unfinished jobs....<br>/root/rp=
mbuild/BUILD/drbd-9.2.11/drbd/drbd_transport.c:2: warning: &quot;pr_fmt&quo=
t; redefined<br>=C2=A0 =C2=A0 2 | #define pr_fmt(fmt) =C2=A0 =C2=A0 KBUILD_=
MODNAME &quot;: &quot; fmt<br>=C2=A0 =C2=A0 =C2=A0 | <br>In file included f=
rom ./include/linux/kernel.h:20,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0from /usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9=
_4.x86_64/include/linux/kernel.h:6,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0from ./include/linux/uio.h:8,<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./include/linux/socket=
.h:8,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from=
 ./include/uapi/linux/if.h:25,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0from /usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.=
x86_64/include/linux/compat-2.6.h:11,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0from &lt;command-line&gt;:<br>./include/linux/p=
rintk.h:375: note: this is the location of the previous definition<br>=C2=
=A0 375 | #define pr_fmt(fmt) fmt<br>=C2=A0 =C2=A0 =C2=A0 | <br>/root/rpmbu=
ild/BUILD/drbd-9.2.11/drbd/drbd_main.c:17: warning: &quot;pr_fmt&quot; rede=
fined<br>=C2=A0 =C2=A017 | #define pr_fmt(fmt) =C2=A0 =C2=A0 KBUILD_MODNAME=
 &quot;: &quot; fmt<br>=C2=A0 =C2=A0 =C2=A0 | <br>In file included from ./i=
nclude/linux/kernel.h:20,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0from /usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_=
64/include/linux/kernel.h:6,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0from ./include/linux/uio.h:8,<br>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./include/linux/socket.h:8,<b=
r>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ./incl=
ude/uapi/linux/if.h:25,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0from /usr/src/ofa_kernel/x86_64/5.14.0-427.13.1.el9_4.x86_64/=
include/linux/compat-2.6.h:11,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0from &lt;command-line&gt;:<br>./include/linux/printk.h=
:375: note: this is the location of the previous definition<br>=C2=A0 375 |=
 #define pr_fmt(fmt) fmt<br>=C2=A0 =C2=A0 =C2=A0 | <br>make[1]: *** [Makefi=
le:1936: /root/rpmbuild/BUILD/drbd-9.2.11/drbd/build-current] Error 2<br>ma=
ke: *** [Makefile:248: kbuild] Error 2<br>make: Leaving directory &#39;/roo=
t/rpmbuild/BUILD/drbd-9.2.11/drbd&#39;<br>error: Bad exit status from /var/=
tmp/rpm-tmp.8DlmU9 (%build)<br><br><br>RPM build errors:<br>=C2=A0 =C2=A0 =
=C2=A0&quot;XXX selected 5.14.0-427.40.1.el9_4.x86_64 based on installed ke=
rnel-*devel packages&quot;<br>=C2=A0 =C2=A0 bogus date in %changelog: Wed D=
ec 22 2023 Philipp Reisner &lt;<a href=3D"mailto:[email protected]">phil@linb=
it.com</a>&gt; - 9.2.7<br>=C2=A0 =C2=A0 Bad exit status from /var/tmp/rpm-t=
mp.8DlmU9 (%build)<br></div><div>------------------------------------------=
-----------------------------</div><div><br></div><div>This seems to be cau=
sing it -</div><div><div>--------------------------------------------------=
---------------------</div></div><div>=C2=A0 CC [M] =C2=A0/root/rpmbuild/BU=
ILD/drbd-9.2.11/drbd/build-current/drbd-kernel-compat/lru_cache.o<br>/root/=
rpmbuild/BUILD/drbd-9.2.11/drbd/drbd-kernel-compat/nsecs_to_jiffies.c:5:12:=
 error: static declaration of &#39;nsecs_to_jiffies64&#39; follows non-stat=
ic declaration<br>=C2=A0 =C2=A0 5 | static u64 nsecs_to_jiffies64(u64 n)</d=
iv><div><div>--------------------------------------------------------------=
---------</div><div><br></div></div><div>Is there a workaround for this?</d=
iv><div><br></div><div>Regards,</div><div><br></div><div><br></div><div>Ind=
ivar Nair</div></div>

--000000000000de4363062581393b--