]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/privcmd: fix condition in privcmd_close()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 5 Nov 2012 06:42:17 +0000 (09:42 +0300)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 4 Mar 2013 15:36:56 +0000 (10:36 -0500)
commit670f3cf252043c5bfbac2a60b19c3092c5892caa
treed3b282275acffad4cea4846336334f07cff48f22
parent87b1a6e0e4a9d39110ee12958de12a46a9d12995
xen/privcmd: fix condition in privcmd_close()

The parenthesis are in the wrong place so the original code is
equivalent to:

if (!xen_feature(XENFEAT_writable_descriptor_tables)) { ...

Which obviously was not intended.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/privcmd.c