Re: [PATCH for -next v2 6/7] IB/core: extended command: an improved infrastructure for uverbs commands

2013-11-08 Thread Roland Dreier
On Fri, Nov 8, 2013 at 2:01 AM, Yann Droneaud wrote: > Will roll a v3 if Roland have not yet picked the patchset. I'll roll that cleanup into this patch as I apply it (now). - R. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.

Re: linux-next: build warning after merge of the infiniband tree

2013-11-08 Thread Roland Dreier
Sorry about that, folded in the fix I missed and will push out the tree shortly. On Mon, Nov 4, 2013 at 5:42 AM, Marciniszyn, Mike wrote: > This issue was caught by Tetsuo Handa and Acked on 10/30: > http://marc.info/?t=13831336458&r=1&w=2. > > Roland, I noticed that the Tetsuo's original me

Re: [PATCH for -next v2 6/7] IB/core: extended command: an improved infrastructure for uverbs commands

2013-11-08 Thread Or Gerlitz
On Fri, Nov 8, 2013 at 12:01 PM, Yann Droneaud wrote: > Hi, > > It seems that even after so many iterations, > I failed to provide a "perfect" patch. You, that perfect is the biggest enemy of the excellent, it (patches/code) is what it is (human made) and sometimes things need to be fixed, Roland

Re: [PATCH for -next v2 6/7] IB/core: extended command: an improved infrastructure for uverbs commands

2013-11-08 Thread Yann Droneaud
Hi, It seems that even after so many iterations, I failed to provide a "perfect" patch. Le 06.11.2013 23:21, Yann Droneaud a écrit : diff --git a/drivers/infiniband/core/uverbs_cmd.c b/drivers/infiniband/core/uverbs_cmd.c index 19f14d8..8ea9aa5 100644 --- a/drivers/infiniband/core/uverbs_cmd.c

[PATCH] mlx5: shift wrapping bug in mlx5_ib_get_buf_offset()

2013-11-08 Thread Dan Carpenter
"page_size" is declared as u64 but the (1 << page_shift) shift will wrap at 32 bits. Fixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Connect-IB adapters') Signed-off-by: Dan Carpenter diff --git a/drivers/infiniband/hw/mlx5/mem.c b/drivers/infiniband/hw/mlx5/mem.c index 3a53228..3020ec2 1006