Thread (3 messages) 3 messages, 3 authors, 2021-07-12

Re: [PATCH rdma-next] irdma: Fix unused variable total_size warning

From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-07-12 18:11:15

On Wed, Jul 07, 2021 at 02:14:55PM -0700, Tatyana Nikolova wrote:
Fix the following unused variable warning:
quoted
quoted
drivers/infiniband/hw/irdma/uk.c:934:6: warning: variable 'total_size'
set but not used [-Wunused-but-set-variable]
           u32 total_size = 0, wqe_idx, i, byte_off;

Link: https://lkml.org/lkml/2021/7/1/726
Reported-by: kernel test robot <redacted>
Fixes: 551c46edc769 ("RDMA/irdma: Add user/kernel shared libraries")
Signed-off-by: Mustafa Ismail <redacted>
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
---
 drivers/infiniband/hw/irdma/uk.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
Applied to for-rc, thanks

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help