lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 03 May 2016 12:41:04 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	hagaya@...lanox.com
Cc:	dledford@...hat.com, linux-rdma@...r.kernel.org,
	netdev@...r.kernel.org, okaya@...eaurora.org, timur@...eaurora.org,
	eli@...lanox.com, ogerlitz@...lanox.com, eranbe@...lanox.com,
	yishaih@...lanox.com, talal@...lanox.com, saeedm@...lanox.com
Subject: Re: [PATCH v1 net] net/mlx4: Avoid wrong virtual mappings

From: Haggai Abramovsky <hagaya@...lanox.com>
Date: Wed, 27 Apr 2016 10:07:00 +0300

> @@ -419,7 +419,8 @@ static int set_rq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap,
>  }
>  
>  static int set_kernel_sq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap,
> -			      enum mlx4_ib_qp_type type, struct mlx4_ib_qp *qp)
> +			      enum mlx4_ib_qp_type type, struct mlx4_ib_qp *qp,
> +			      int shrink_wqe)
>  {
>  	int s;
>  

Please use 'bool' and "true/false" for shrink_wqe.

Powered by blists - more mailing lists