All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: linux-rdma@vger.kernel.org, lizhijian@fujitsu.com
Subject: Re: rdma_get_cm_event error behaviour defined?
Date: Tue, 1 Jun 2021 14:16:20 +0300	[thread overview]
Message-ID: <YLYXBD9jupPOslnR@unreal> (raw)
In-Reply-To: <YKJAKy1oNcTd7sRn@work-vm>

On Mon, May 17, 2021 at 11:06:35AM +0100, Dr. David Alan Gilbert wrote:
> Hi,
>   Is 'rdma_get_cm_event's behaviour in initialising **event
> defined in the error case?
>   We don't see anything in the manual page, my reading of the
> code is it's not set/changed in the case of failure - but is
> that defined?
>   It would be good if the manpage could explicitly state it.

AFAIK, the general practice do not rely on any output argument if
function returns an error and I'm not sure that the man update is
needed.

Thanks

> 
> Dave
> -- 
> Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
> 

  reply	other threads:[~2021-06-01 11:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-17 10:06 rdma_get_cm_event error behaviour defined? Dr. David Alan Gilbert
2021-06-01 11:16 ` Leon Romanovsky [this message]
2021-06-01 11:32   ` Dr. David Alan Gilbert
2021-06-02 12:33     ` Leon Romanovsky
2021-06-02 12:55       ` Dr. David Alan Gilbert

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=YLYXBD9jupPOslnR@unreal \
    --to=leon@kernel.org \
    --cc=dgilbert@redhat.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=lizhijian@fujitsu.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.