Files
xen/tools/libxl
Jim Fehlig dfeccbeaa6 libxl: Fix assignment of devid value returned from libxl__device_nextid
Commit 5420f265 has some misplaced parenthesis that caused devid
to be assigned 1 or 0 based on checking return value of
libxl__device_nextid < 0, e.g.

  devid = libxl__device_nextid(...) < 0

This works when only one instance of a given device type exists, but
subsequent devices of the same type will also have a devid = 1 if
libxl__device_nextid succeeds.  Fix by checking the value assigned to
devid, e.g.

  (devid = libxl__device_nextid(...)) < 0

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
2013-06-26 17:22:37 +01:00
..
2011-04-04 14:54:46 +01:00
2012-10-05 14:34:30 +01:00
2012-07-06 13:17:40 +01:00
2012-07-06 13:17:40 +01:00
2012-09-17 11:17:00 +01:00
2013-04-12 12:21:02 +01:00
2012-05-30 08:57:49 +01:00
2012-08-24 12:38:16 +01:00
2012-08-24 12:38:18 +01:00
2012-07-26 10:35:35 +01:00
2013-05-07 13:37:56 +01:00
2011-10-12 16:21:32 +01:00
2012-09-17 11:17:01 +01:00