vfio: fix a warning message
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 21 Nov 2015 10:32:21 +0000 (13:32 +0300)
committerAlex Williamson <alex.williamson@redhat.com>
Sat, 21 Nov 2015 13:55:58 +0000 (06:55 -0700)
commit049af1060bb81532f2700762a8ba71eb3fa81f5a
treee914b52b67dfdb4b61aec44af0d7f390197a2bb7
parent7200be7c81cc1a1c54a79348a724c16345c5242f
vfio: fix a warning message

The first argument to the WARN() macro has to be a condition.  I'm sort
of disappointed that this code doesn't generate a compiler warning.  I
guess -Wformat-extra-args doesn't work in the kernel.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio.c