commit | 5b71fbdc64225b7a86944f4f0de80e59071187c7 | [log] [tgz] |
---|---|---|
author | Jan Beulich <JBeulich@suse.com> | Fri Nov 02 14:36:38 2012 +0000 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Fri Nov 02 11:04:02 2012 -0400 |
tree | 4a3ea77d3a531194d55156252aa12e430132be0a | |
parent | 9d02b43dee0d7fb18dfb13a00915550b1a3daa9f [diff] |
xen-pciback: simplify and tighten parsing of device IDs Now that at least one of the conformance problems of the kernel's sscanf() was addressed (commit da99075c1d368315e1508b6143226c0d27b621e0), we can improve the parsing done in xen-pciback both in terms of code readability and correctness (in particular properly rejecting input strings not well formed). Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>