Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1314060 > unrolled thread
| Started by | Cornelia Huck <cornelia.huck@de.ibm.com> |
|---|---|
| First post | 2016-01-21 11:00 +0100 |
| Last post | 2016-01-21 11:00 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 2/2] vhost: disentangle vring endianness stuff from the core code Cornelia Huck <cornelia.huck@de.ibm.com> - 2016-01-21 11:00 +0100
| From | Cornelia Huck <cornelia.huck@de.ibm.com> |
|---|---|
| Date | 2016-01-21 11:00 +0100 |
| Subject | Re: [PATCH 2/2] vhost: disentangle vring endianness stuff from the core code |
| Message-ID | <qTkc3-3tc-19@gated-at.bofh.it> |
On Wed, 13 Jan 2016 18:09:47 +0100 Greg Kurz <gkurz@linux.vnet.ibm.com> wrote: > The way vring endianness is being handled currently obfuscates > the code in vhost_init_used(). > > This patch tries to fix that by doing the following: > - move the the code that adjusts endianness to a dedicated helper > - export this helper so that backends explicitely call it > > No behaviour change. > > Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com> > --- > drivers/vhost/net.c | 3 +++ > drivers/vhost/scsi.c | 3 +++ > drivers/vhost/test.c | 2 ++ > drivers/vhost/vhost.c | 16 +++++++++++----- > drivers/vhost/vhost.h | 1 + > 5 files changed, 20 insertions(+), 5 deletions(-) Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Back to top | Article view | linux.kernel
csiph-web