[Bug 204617] New: drivers/infiniband/sw/siw not 32-bit clean - cast from pointer to integer warnings on i686

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=204617

            Bug ID: 204617
           Summary: drivers/infiniband/sw/siw not 32-bit clean - cast from
                    pointer to integer warnings on i686
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.3
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Infiniband/RDMA
          Assignee: drivers_infiniband-rdma@xxxxxxxxxxxxxxxxxxxx
          Reporter: hramrach@xxxxxxxxx
        Regression: No

In file included from ../include/linux/printk.h:332,
../drivers/infiniband/sw/siw/siw_cq.c: In function 'siw_reap_cqe':
../drivers/infiniband/sw/siw/siw_cq.c:76:20: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
../include/linux/dynamic_debug.h:125:15: note: in definition of macro
'__dynamic_func_call'
../include/linux/dynamic_debug.h:165:2: note: in expansion of macro
'_dynamic_func_call'
../include/rdma/ib_verbs.h:100:2: note: in expansion of macro
'dynamic_ibdev_dbg'
../drivers/infiniband/sw/siw/siw.h:725:2: note: in expansion of macro
'ibdev_dbg'
../drivers/infiniband/sw/siw/siw_cq.c:74:4: note: in expansion of macro
'siw_dbg_cq'

../drivers/infiniband/sw/siw/siw_qp.c: In function 'siw_activate_tx':
../drivers/infiniband/sw/siw/siw_qp.c:952:28: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]

In file included from ../include/linux/kernel.h:15,
../drivers/infiniband/sw/siw/siw_qp_rx.c: In function 'siw_rx_umem':
../drivers/infiniband/sw/siw/siw_qp_rx.c:43:5: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
../include/linux/printk.h:306:37: note: in definition of macro 'pr_warning'
../drivers/infiniband/sw/siw/siw_qp_rx.c:41:4: note: in expansion of macro
'pr_warn'

../drivers/infiniband/sw/siw/siw_qp_rx.c:43:24: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
../include/linux/printk.h:306:37: note: in definition of macro 'pr_warning'
../drivers/infiniband/sw/siw/siw_qp_rx.c:41:4: note: in expansion of macro
'pr_warn'

../drivers/infiniband/sw/siw/siw_qp_rx.c: In function 'siw_rx_pbl':
../drivers/infiniband/sw/siw/siw_qp_rx.c:141:23: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]

../drivers/infiniband/sw/siw/siw_qp_rx.c: In function 'siw_proc_send':
../drivers/infiniband/sw/siw/siw_qp_rx.c:488:6: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]

../drivers/infiniband/sw/siw/siw_qp_rx.c: In function 'siw_proc_write':
../drivers/infiniband/sw/siw/siw_qp_rx.c:601:5: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]

../drivers/infiniband/sw/siw/siw_qp_rx.c: In function 'siw_proc_rresp':
../drivers/infiniband/sw/siw/siw_qp_rx.c:844:24: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]

In file included from ../arch/x86/include/asm/string.h:3,
../drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_try_1seg':
../drivers/infiniband/sw/siw/siw_qp_tx.c:53:10: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
../arch/x86/include/asm/string_32.h:182:42: note: in definition of macro
'memcpy'

../drivers/infiniband/sw/siw/siw_qp_tx.c:59:11: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
../arch/x86/include/asm/string_32.h:182:42: note: in definition of macro
'memcpy'

../drivers/infiniband/sw/siw/siw_qp_tx.c:59:26: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
../arch/x86/include/asm/string_32.h:182:45: note: in definition of macro
'memcpy'

../drivers/infiniband/sw/siw/siw_qp_tx.c:61:23: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]

../drivers/infiniband/sw/siw/siw_qp_tx.c:62:9: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]

In file included from ../arch/x86/include/asm/string.h:3,
../drivers/infiniband/sw/siw/siw_qp_tx.c:82:12: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
../arch/x86/include/asm/string_32.h:182:42: note: in definition of macro
'memcpy'

../drivers/infiniband/sw/siw/siw_qp_tx.c:87:12: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
../arch/x86/include/asm/string_32.h:182:42: note: in definition of macro
'memcpy'

../drivers/infiniband/sw/siw/siw_qp_tx.c:101:12: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
../arch/x86/include/asm/string_32.h:182:42: note: in definition of macro
'memcpy'

../drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_qp_prepare_tx':
../drivers/infiniband/sw/siw/siw_qp_tx.c:169:29: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]

../drivers/infiniband/sw/siw/siw_qp_tx.c:192:29: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]

../drivers/infiniband/sw/siw/siw_qp_tx.c:204:29: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]

../drivers/infiniband/sw/siw/siw_qp_tx.c:219:29: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]

../drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_tx_hdt':
../drivers/infiniband/sw/siw/siw_qp_tx.c:476:24: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]

../drivers/infiniband/sw/siw/siw_qp_tx.c:535:7: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]

../drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_qp_sq_proc_tx':
../drivers/infiniband/sw/siw/siw_qp_tx.c:832:29: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]

../drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_fastreg_mr':
../drivers/infiniband/sw/siw/siw_qp_tx.c:927:26: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]

../drivers/infiniband/sw/siw/siw_verbs.c: In function 'siw_copy_inline_sgl':
../drivers/infiniband/sw/siw/siw_verbs.c:665:22: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]

../drivers/infiniband/sw/siw/siw_verbs.c: In function 'siw_post_send':
../drivers/infiniband/sw/siw/siw_verbs.c:828:19: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]

In file included from ../include/linux/printk.h:332,
../drivers/infiniband/sw/siw/siw_verbs.c:846:32: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
../include/linux/dynamic_debug.h:125:15: note: in definition of macro
'__dynamic_func_call'
../include/linux/dynamic_debug.h:165:2: note: in expansion of macro
'_dynamic_func_call'
../include/rdma/ib_verbs.h:100:2: note: in expansion of macro
'dynamic_ibdev_dbg'
../drivers/infiniband/sw/siw/siw.h:721:2: note: in expansion of macro
'ibdev_dbg'
../drivers/infiniband/sw/siw/siw_verbs.c:845:3: note: in expansion of macro
'siw_dbg_qp'

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux