Re: [PATCH 03/37] IB/rdmavt: Add protection domain to rdmavt.

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

 



On Tue, Dec 08, 2015 at 08:28:17AM +0200, Leon Romanovsky wrote:
On Mon, Dec 07, 2015 at 03:43:10PM -0500, Dennis Dalessandro wrote:
+
+/*
+ * Things that are driver specific, module parameters in hfi1 and qib
+ */
+struct rvt_driver_params {
+	int max_pds;
Can it be negative value?
+};

If so no protection domains would ever get allocated. I don't think anything else would break though if a driver were to do that.

-Denny
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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