]> 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>
Tue, 27 Nov 2012 01:11:17 +0000 (20:11 -0500)
commitc22ffd35b88d70df59456209015de593e0cf9d79
treedd6dc99556738deb48e329496217043bcfefbb5b
parent843ddc96d2e3b931867af7bdf841ae71d796f3fc
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