On Wed, Apr 05, 2017 at 02:47:35PM -0500, Eric Blake wrote: > We now have macros in place to make it less verbose to add a scalar > to QDict and QList, so use them. > > Patch created mechanically via: > spatch --sp-file scripts/coccinelle/qobject.cocci \ > --macro-file scripts/cocci-macro-file.h --dir block --in-place > then touched up manually to fix a couple of '?:' back to original spacing. > > Signed-off-by: Eric Blake <ebl...@redhat.com> > --- > block/blkdebug.c | 6 +++--- > block/blkverify.c | 6 +++--- > block/curl.c | 2 +- > block/file-posix.c | 8 ++++---- > block/file-win32.c | 4 ++-- > block/iscsi.c | 2 +- > block/nbd.c | 41 ++++++++++++++++++++--------------------- > block/nfs.c | 43 +++++++++++++++++-------------------------- > block/null.c | 2 +- > block/qcow2.c | 4 ++-- > block/quorum.c | 8 ++++---- > block/rbd.c | 16 ++++++++-------- > block/ssh.c | 16 +++++++--------- > block/vvfat.c | 10 +++++----- > 14 files changed, 78 insertions(+), 90 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature