]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: mark usages functions as NORETURN
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 20 Dec 2011 09:08:42 +0000 (17:08 +0800)
committerPekka Enberg <penberg@kernel.org>
Wed, 21 Dec 2011 20:28:07 +0000 (22:28 +0200)
commit2c1c8ce404c921f0aec72efe8c2a895799797445
tree53a4d93b5d4402a46a51f58d626f31404b293b4b
parenta82c229f55b100c38692dc869df6e2faec84b960
kvm tools: mark usages functions as NORETURN

It will help for simplifying codes like this:

{
if (cond == NULL)
NORETURN_func();

/* use cond safely, it is not NULL and don't need to check it again */
}

It also helps for readability.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/include/kvm/builtin-balloon.h
tools/kvm/include/kvm/builtin-debug.h
tools/kvm/include/kvm/builtin-list.h
tools/kvm/include/kvm/builtin-pause.h
tools/kvm/include/kvm/builtin-resume.h
tools/kvm/include/kvm/builtin-run.h
tools/kvm/include/kvm/builtin-setup.h
tools/kvm/include/kvm/builtin-stat.h
tools/kvm/include/kvm/builtin-stop.h
tools/kvm/include/kvm/parse-options.h