]> 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>
Sat, 1 Dec 2012 13:49:02 +0000 (08:49 -0500)
commit80840912da1d6cdab5e2e8cce1fb743f84c1613e
tree342dc693d157c918f921b2b90b60356d47b37878
parentf7a004b307d5d38580bb4c68012a87091bccf6a5
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