diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-11-21 10:32:21 (GMT) |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2015-11-21 13:55:58 (GMT) |
commit | 049af1060bb81532f2700762a8ba71eb3fa81f5a (patch) | |
tree | e914b52b67dfdb4b61aec44af0d7f390197a2bb7 /drivers/vfio/vfio_iommu_type1.c | |
parent | 7200be7c81cc1a1c54a79348a724c16345c5242f (diff) | |
download | linux-049af1060bb81532f2700762a8ba71eb3fa81f5a.tar.xz |
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>
Diffstat (limited to 'drivers/vfio/vfio_iommu_type1.c')
0 files changed, 0 insertions, 0 deletions