public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg-uk2M96/98Pc@public.gmane.org>
To: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Yishai Hadas <yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH rdma-core] verbs: Remove comp_mask checks from verbs.h
Date: Thu, 21 Dec 2017 09:24:42 -0700	[thread overview]
Message-ID: <20171221162442.GC20015@ziepe.ca> (raw)
In-Reply-To: <20171221054216.GF2942-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>

On Thu, Dec 21, 2017 at 07:42:16AM +0200, Leon Romanovsky wrote:

> Both these functions are performing their checks of cq_attr->comp_mask,
> but return different errno. I think that it is perfect timing to start
> organize and unite our return errors. They should return the same errno.

Bugs bugs everywhere.. This is going to be another patch. I would drop
the errno set into check_comp_mask and change all comp_mask users to
call it, and probably drop the _RESERVED uglyness too, but another
patch.

> > In the case of ibv_queryrt_values_ex, there is no check in the function
> > op, which is an ABI mistake. So move the check there.
> 
> ibv_queryrt_values_ex -> ibv_query_rt_values_ex

K.. Are you going to collect the loose patches on the list? Can you
fix the typo when you grab this one :)

Jason
--
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

  parent reply	other threads:[~2017-12-21 16:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-20 23:13 [PATCH rdma-core] verbs: Remove comp_mask checks from verbs.h Jason Gunthorpe
     [not found] ` <20171220231350.GA19130-uk2M96/98Pc@public.gmane.org>
2017-12-21  5:42   ` Leon Romanovsky
     [not found]     ` <20171221054216.GF2942-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-12-21 16:24       ` Jason Gunthorpe [this message]
     [not found]         ` <20171221162442.GC20015-uk2M96/98Pc@public.gmane.org>
2017-12-21 17:19           ` Leon Romanovsky
     [not found]             ` <20171221171947.GK2942-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-12-25 14:32               ` Leon Romanovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171221162442.GC20015@ziepe.ca \
    --to=jgg-uk2m96/98pc@public.gmane.org \
    --cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox