All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-rdma@vger.kernel.org
Subject: [Bug 204617] New: drivers/infiniband/sw/siw not 32-bit clean - cast from pointer to integer warnings on i686
Date: Mon, 19 Aug 2019 07:04:43 +0000	[thread overview]
Message-ID: <bug-204617-11804@https.bugzilla.kernel.org/> (raw)

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@kernel-bugs.osdl.org
          Reporter: hramrach@gmail.com
        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.

             reply	other threads:[~2019-08-19  7:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-19  7:04 bugzilla-daemon [this message]
2019-08-19  7:07 ` [Bug 204617] drivers/infiniband/sw/siw not 32-bit clean - cast from pointer to integer warnings on i686 bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-204617-11804@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.