]> xenbits.xensource.com Git - people/royger/xen.git/commit
blktap2: use abort() instead of custom crash
authorDoug Goldstein <cardoe@cardoe.com>
Tue, 26 Apr 2016 13:04:46 +0000 (08:04 -0500)
committerWei Liu <wei.liu2@citrix.com>
Tue, 26 Apr 2016 14:23:16 +0000 (15:23 +0100)
commit4d98d3ebfc88e637f9f00c787cf07e9e6c6bd3b5
tree9b80c669768e1b57a072f8d881e03f5475b2e497
parentf7cd9d2c6b1c79d69a3c7af4c01a6225cca1539b
blktap2: use abort() instead of custom crash

Instead of trying to write a snippet of code that crashes the process
just use abort() directly. This is to fix the build on clang which
detects that the snippet of code will crash and fails to compile. At
the same time removed extraneous whitespace in the macro.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
tools/blktap2/drivers/tapdisk-vbd.c