public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg-uk2M96/98Pc@public.gmane.org>
To: "Liuyixian (Eason)" <liuyixian-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
Cc: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH for-next 2/2] RDMA/hns: Fix alignment problem of the doorbell
Date: Thu, 28 Dec 2017 09:00:54 -0700	[thread overview]
Message-ID: <20171228160054.GV25436@ziepe.ca> (raw)
In-Reply-To: <2a0a56fb-1ec8-dfc9-3c29-c9bae7bd9bae-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>

On Thu, Dec 28, 2017 at 02:48:10PM +0800, Liuyixian (Eason) wrote:

> And I also find a discussion on the usage of union. It also mentions that
> we can only get the "active" member from an union.
> https://stackoverflow.com/questions/2310483/purpose-of-unions-in-c-and-c

linux requires a compiler that supports the C99 model of allowing type
punning with unions.

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-28 16:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-25 13:37 [PATCH for-next 0/2] Bugfixes for eq support in hns Yixian Liu
     [not found] ` <1514209039-9388-1-git-send-email-liuyixian-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-12-25 13:37   ` [PATCH for-next 1/2] RDMA/hns: Add detailed comments for mb() call Yixian Liu
     [not found]     ` <1514209039-9388-2-git-send-email-liuyixian-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-12-26  7:37       ` Leon Romanovsky
2017-12-25 13:37   ` [PATCH for-next 2/2] RDMA/hns: Fix alignment problem of the doorbell Yixian Liu
     [not found]     ` <1514209039-9388-3-git-send-email-liuyixian-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-12-26  8:15       ` Leon Romanovsky
     [not found]         ` <20171226081526.GB10734-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-12-27 10:01           ` Liuyixian (Eason)
     [not found]             ` <6f657295-ab91-a940-c1d8-8d85dcedb4ea-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-12-27 16:44               ` Jason Gunthorpe
     [not found]                 ` <20171227164407.GB25436-uk2M96/98Pc@public.gmane.org>
2017-12-28  6:48                   ` Liuyixian (Eason)
     [not found]                     ` <2a0a56fb-1ec8-dfc9-3c29-c9bae7bd9bae-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-12-28  8:31                       ` Liuyixian (Eason)
2017-12-28 16:00                       ` Jason Gunthorpe [this message]
2017-12-27 17:40       ` Ruhl, Michael J
     [not found]         ` <14063C7AD467DE4B82DEDB5C278E86639F0E6137-AtyAts71sc88Ug9VwtkbtrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2017-12-28  6:51           ` Liuyixian (Eason)

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=20171228160054.GV25436@ziepe.ca \
    --to=jgg-uk2m96/98pc@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=liuyixian-hv44wF8Li93QT0dZR+AlfA@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