aboutsummaryrefslogtreecommitdiff
path: root/linux-headers
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2018-06-14 21:14:37 +0200
committerKevin Wolf <kwolf@redhat.com>2018-06-15 14:49:44 +0200
commit3692b5d76819e573dedc9004c4b2b0e3dad83530 (patch)
tree3154adc7c2d6e1e2ef2103d3256a6f510844b549 /linux-headers
parentf1b34a248e9785e8cc0d28a1685d2cf4460bb256 (diff)
downloadqemu-3692b5d76819e573dedc9004c4b2b0e3dad83530.zip
qemu-3692b5d76819e573dedc9004c4b2b0e3dad83530.tar.gz
qemu-3692b5d76819e573dedc9004c4b2b0e3dad83530.tar.bz2
block-qdict: Clean up qdict_crumple() a bit
When you mix scalar and non-scalar keys, whether you get an "already set as scalar" or an "already set as dict" error depends on qdict iteration order. Neither message makes much sense. Replace by ""Cannot mix scalar and non-scalar keys". This is similar to the message we get for mixing list and non-list keys. I find qdict_crumple()'s first loop hard to understand. Rearrange it and add a comment. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions