Re: [Xen-devel] [PATCH 00/12] xen: add common function for reading optional value

2016-11-07 Thread Jarkko Sakkinen
On Mon, Nov 07, 2016 at 11:08:09AM +, David Vrabel wrote: > On 31/10/16 16:48, Juergen Gross wrote: > > 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

Re: [Xen-devel] [PATCH 04/12] xen: make use of xenbus_read_unsigned() in xen-tpmfront

2016-11-03 Thread Jarkko Sakkinen
odified case. > > Cc: peterhu...@gmx.de > Cc: tp...@selhorst.net > Cc: jarkko.sakki...@linux.intel.com > Cc: jguntho...@obsidianresearch.com > Cc: tpmdd-de...@lists.sourceforge.net > > Signed-off-by: Juergen Gross <jgr...@suse.com> Reviewed-by: Jarkko Sakkinen

Re: [Xen-devel] [PATCH 04/12] xen: make use of xenbus_read_unsigned() in xen-tpmfront

2016-11-02 Thread Jarkko Sakkinen
odified case. > > Cc: peterhu...@gmx.de > Cc: tp...@selhorst.net > Cc: jarkko.sakki...@linux.intel.com > Cc: jguntho...@obsidianresearch.com > Cc: tpmdd-de...@lists.sourceforge.net > > Signed-off-by: Juergen Gross <jgr...@suse.com> Reviewed-by: Jarkko Sakkinen

Re: [Xen-devel] [PATCH] xen-tpmfront: correct return value check on xenbus_scanf()

2016-07-07 Thread Jarkko Sakkinen
On Thu, Jul 07, 2016 at 06:00:25AM -0600, Jan Beulich wrote: > >>> On 07.07.16 at 12:38, <jarkko.sakki...@linux.intel.com> wrote: > > On Thu, Jul 07, 2016 at 01:35:54PM +0300, Jarkko Sakkinen wrote: > >> On Thu, Jul 07, 2016 at 02:04:00AM -0600, Jan Beulich wro

Re: [Xen-devel] [PATCH] xen-tpmfront: correct return value check on xenbus_scanf()

2016-07-07 Thread Jarkko Sakkinen
On Thu, Jul 07, 2016 at 02:04:00AM -0600, Jan Beulich wrote: > Only a positive return value indicates success. > > Signed-off-by: Jan Beulich <jbeul...@suse.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakki...@linux.intel.com> /Jarkko > --- > drivers/char/tpm/xen-tpm

Re: [Xen-devel] [PATCH] xen-tpmfront: correct return value check on xenbus_scanf()

2016-07-07 Thread Jarkko Sakkinen
On Thu, Jul 07, 2016 at 01:35:54PM +0300, Jarkko Sakkinen wrote: > On Thu, Jul 07, 2016 at 02:04:00AM -0600, Jan Beulich wrote: > > Only a positive return value indicates success. > > > > Signed-off-by: Jan Beulich <jbeul...@suse.com> > > Reviewed-