From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dennis Dalessandro Subject: Re: [PATCH rdma-next 01/14] RDMA/uverbs: Convert command mask validity check function to be bool Date: Wed, 14 Feb 2018 11:26:05 -0500 Message-ID: <342b773c-6915-6d8b-33d7-90616545868d@intel.com> References: <20180214123844.30321-1-leon@kernel.org> <20180214123844.30321-2-leon@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180214123844.30321-2-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Content-Language: en-US Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Leon Romanovsky , Doug Ledford , Jason Gunthorpe Cc: RDMA mailing list , Matan Barak , Noa Osherovich , Leon Romanovsky List-Id: linux-rdma@vger.kernel.org On 2/14/2018 7:38 AM, Leon Romanovsky wrote: > From: Leon Romanovsky > > The function validate_command_mask() returns only two results: success > or failure, so convert it to return bool instead of 0 and -1. > > Reported-by: Noa Osherovich > Reviewed-by: Matan Barak > Signed-off-by: Leon Romanovsky > --- Reviewed-by: Dennis Dalessandro -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html