crypto: Make errp the last parameter of functions
commit375092332eeaa6e47561ce47fd36144cdaf964d0
authorFam Zheng <famz@redhat.com>
Fri, 21 Apr 2017 12:27:02 +0000 (21 20:27 +0800)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 24 Apr 2017 07:13:22 +0000 (24 09:13 +0200)
tree88ad159539d14fcd35c6223cbd602698ba684037
parent9217283dc8ce48688ea0556763574c0333faf79c
crypto: Make errp the last parameter of functions

Move opaque to 2nd instead of the 2nd to last, so that compilers help
check with the conversion.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170421122710.15373-7-famz@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[Commit message typo corrected]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
block/crypto.c
crypto/block-luks.c
include/crypto/block.h
tests/test-crypto-block.c