All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@eu.citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "sstanisi@cbnco.com" <sstanisi@cbnco.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Roger Pau Monne <roger.pau@citrix.com>
Subject: Re: [PATCH v4 2/2] xl: Add commands for usb hot-plug
Date: Wed, 17 Apr 2013 11:20:06 +0100	[thread overview]
Message-ID: <516E7756.3040907@eu.citrix.com> (raw)
In-Reply-To: <1366193719.8399.229.camel@zakaz.uk.xensource.com>

On 17/04/13 11:15, Ian Campbell wrote:
> On Wed, 2013-04-17 at 11:02 +0100, Roger Pau Monné wrote:
>
>>> +#define is_dec(_c) ((_c) >= '0' && (_c) <= '9')
>>> +#define is_hex(_c) (is_dec(_c) || ((_c) >= 'a' && (_c) <= 'f'))
>> This are kind of general macros, that could be used elsewhere, might be
>> suitable to put them outside of this function and name them CHAR_IS_DEC
>> and CHAR_IS_HEX.
> ctype.h already provides isdigit() and isxdigit(), no need for our own.
> IMHO.

Oh right -- sorry, when I was looking at these I didn't see isxdigit().  
That's much better.

  -George


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2013-04-17 10:20 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-11 18:51 [PATCH v4 1/2] libxl: Introduce functions to add and remove USB devices to an HVM guest George Dunlap
2013-04-11 18:51 ` [PATCH v4 2/2] xl: Add commands for usb hot-plug George Dunlap
2013-04-17 10:02   ` Roger Pau Monné
2013-04-17 10:03     ` George Dunlap
2013-04-17 10:15     ` Ian Campbell
2013-04-17 10:20       ` George Dunlap [this message]
2013-04-17 11:48       ` Ian Jackson
2013-04-17 11:44     ` Ian Jackson
2013-04-11 18:55 ` [PATCH v4 1/2] libxl: Introduce functions to add and remove USB devices to an HVM guest George Dunlap
2013-04-16 15:38 ` George Dunlap
2013-04-16 18:00 ` Roger Pau Monné
2013-04-17  9:36   ` George Dunlap
2013-04-17  9:48     ` Roger Pau Monné
2013-04-17 10:05       ` George Dunlap
2013-04-17 11:46         ` Ian Jackson
2013-04-17  9:54     ` Ian Campbell
2013-04-17  9:59       ` George Dunlap
2013-04-17 11:41     ` Ian Jackson
2013-04-17  9:58   ` Ian Campbell
2013-04-17 10:02     ` George Dunlap
2013-04-17 10:13       ` Ian Campbell
2013-04-17 10:25         ` George Dunlap

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=516E7756.3040907@eu.citrix.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=roger.pau@citrix.com \
    --cc=sstanisi@cbnco.com \
    --cc=xen-devel@lists.xen.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 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.