All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12] xen: add common function for reading optional value
@ 2016-10-31 16:48 ` Juergen Gross
  0 siblings, 0 replies; 55+ messages in thread
From: Juergen Gross @ 2016-10-31 16:48 UTC (permalink / raw)
  To: linux-kernel, xen-devel
  Cc: david.vrabel, boris.ostrovsky, Juergen Gross, konrad.wilk,
	roger.pau, peterhuewe, tpmdd, jarkko.sakkinen, jgunthorpe,
	tpmdd-devel, dmitry.torokhov, linux-input, wei.liu2,
	paul.durrant, netdev, bhelgaas, linux-pci, tomi.valkeinen,
	linux-fbdev

There are multiple instances of code reading an optional unsigned
parameter from Xenstore via xenbus_scanf(). Instead of repeating the
same code over and over add a service function doing the job and
replace the call of xenbus_scanf() with the call of the new function
where appropriate.

Juergen Gross (12):
  xen: introduce xenbus_read_unsigned()
  xen: make use of xenbus_read_unsigned() in xen-blkback
  xen: make use of xenbus_read_unsigned() in xen-blkfront
  xen: make use of xenbus_read_unsigned() in xen-tpmfront
  xen: make use of xenbus_read_unsigned() in xen-kbdfront
  xen: make use of xenbus_read_unsigned() in xen-netback
  xen: make use of xenbus_read_unsigned() in xen-netfront
  xen: make use of xenbus_read_unsigned() in xen-pcifront
  xen: make use of xenbus_read_unsigned() in xen-scsifront
  xen: make use of xenbus_read_unsigned() in xen-fbfront
  xen: make use of xenbus_read_unsigned() in xen-pciback
  xen: make use of xenbus_read_unsigned() in xenbus

 drivers/block/xen-blkback/xenbus.c        | 36 ++++++--------
 drivers/block/xen-blkfront.c              | 81 ++++++++++---------------------
 drivers/char/tpm/xen-tpmfront.c           |  8 +--
 drivers/input/misc/xen-kbdfront.c         | 13 ++---
 drivers/net/xen-netback/xenbus.c          | 50 ++++++-------------
 drivers/net/xen-netfront.c                | 67 +++++++------------------
 drivers/pci/xen-pcifront.c                |  6 +--
 drivers/scsi/xen-scsifront.c              |  6 +--
 drivers/video/fbdev/xen-fbfront.c         | 13 ++---
 drivers/xen/xen-pciback/xenbus.c          |  8 ++-
 drivers/xen/xenbus/xenbus_probe_backend.c |  8 +--
 drivers/xen/xenbus/xenbus_xs.c            | 22 +++++++--
 include/xen/xenbus.h                      |  4 ++
 13 files changed, 112 insertions(+), 210 deletions(-)

Cc: konrad.wilk@oracle.com
Cc: roger.pau@citrix.com
Cc: peterhuewe@gmx.de
Cc: tpmdd@selhorst.net
Cc: jarkko.sakkinen@linux.intel.com
Cc: jgunthorpe@obsidianresearch.com
Cc: tpmdd-devel@lists.sourceforge.net
Cc: dmitry.torokhov@gmail.com
Cc: linux-input@vger.kernel.org
Cc: wei.liu2@citrix.com
Cc: paul.durrant@citrix.com
Cc: netdev@vger.kernel.org
Cc: bhelgaas@google.com
Cc: linux-pci@vger.kernel.org
Cc: tomi.valkeinen@ti.com
Cc: linux-fbdev@vger.kernel.org
-- 
2.6.6

^ permalink raw reply	[flat|nested] 55+ messages in thread

end of thread, other threads:[~2016-11-09  0:29 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-31 16:48 [PATCH 00/12] xen: add common function for reading optional value Juergen Gross
2016-10-31 16:48 ` Juergen Gross
2016-10-31 16:48 ` [PATCH 01/12] xen: introduce xenbus_read_unsigned() Juergen Gross
2016-10-31 16:48   ` Juergen Gross
2016-11-07 11:02   ` David Vrabel
2016-11-07 11:02   ` [Xen-devel] " David Vrabel
2016-10-31 16:48 ` [PATCH 02/12] xen: make use of xenbus_read_unsigned() in xen-blkback Juergen Gross
2016-10-31 16:48 ` Juergen Gross
2016-10-31 16:48 ` [PATCH 03/12] xen: make use of xenbus_read_unsigned() in xen-blkfront Juergen Gross
2016-10-31 16:48   ` Juergen Gross
2016-10-31 16:48 ` [PATCH 04/12] xen: make use of xenbus_read_unsigned() in xen-tpmfront Juergen Gross
2016-10-31 16:48   ` Juergen Gross
2016-11-02 10:34   ` Jarkko Sakkinen
2016-11-02 10:34     ` Jarkko Sakkinen
2016-11-02 10:34   ` Jarkko Sakkinen
2016-11-04  4:26   ` Jarkko Sakkinen
2016-11-04  4:26     ` Jarkko Sakkinen
2016-11-04  4:26   ` Jarkko Sakkinen
2016-10-31 16:48 ` [PATCH 05/12] xen: make use of xenbus_read_unsigned() in xen-kbdfront Juergen Gross
2016-11-09  0:29   ` Dmitry Torokhov
2016-11-09  0:29   ` Dmitry Torokhov
2016-10-31 16:48 ` Juergen Gross
2016-10-31 16:48 ` [PATCH 06/12] xen: make use of xenbus_read_unsigned() in xen-netback Juergen Gross
2016-11-01  9:42   ` Paul Durrant
2016-11-01  9:42   ` Paul Durrant
2016-10-31 16:48 ` Juergen Gross
2016-10-31 16:48 ` [PATCH 07/12] xen: make use of xenbus_read_unsigned() in xen-netfront Juergen Gross
2016-10-31 16:48 ` Juergen Gross
2016-10-31 16:48 ` [PATCH 08/12] xen: make use of xenbus_read_unsigned() in xen-pcifront Juergen Gross
2016-10-31 18:18   ` Bjorn Helgaas
2016-10-31 18:18   ` Bjorn Helgaas
2016-10-31 16:48 ` Juergen Gross
2016-10-31 16:48 ` [PATCH 09/12] xen: make use of xenbus_read_unsigned() in xen-scsifront Juergen Gross
2016-10-31 16:48   ` Juergen Gross
2016-10-31 16:48 ` [PATCH 10/12] xen: make use of xenbus_read_unsigned() in xen-fbfront Juergen Gross
2016-10-31 16:48   ` Juergen Gross
2016-10-31 16:48   ` Juergen Gross
2016-10-31 16:48 ` [PATCH 11/12] xen: make use of xenbus_read_unsigned() in xen-pciback Juergen Gross
2016-10-31 16:48   ` Juergen Gross
2016-10-31 16:48 ` [PATCH 12/12] xen: make use of xenbus_read_unsigned() in xenbus Juergen Gross
2016-10-31 16:48   ` Juergen Gross
2016-10-31 17:08 ` [PATCH 00/12] xen: add common function for reading optional value David Miller
2016-10-31 17:08   ` David Miller
2016-10-31 17:08   ` David Miller
2016-11-01  4:33   ` Juergen Gross
2016-11-01  4:33     ` Juergen Gross
2016-11-01  4:33   ` Juergen Gross
2016-11-07 11:08 ` David Vrabel
2016-11-07 11:08   ` David Vrabel
2016-11-07 11:08   ` David Vrabel
2016-11-07 16:20   ` Jarkko Sakkinen
2016-11-07 16:20   ` Jarkko Sakkinen
2016-11-07 16:20     ` Jarkko Sakkinen
2016-11-07 16:20     ` Jarkko Sakkinen
2016-11-07 11:08 ` David Vrabel

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.