Re: [PATCH vfio] vfio: virqfd_lock can be static

From: Eric Auger
Date: Tue Mar 17 2015 - 06:51:32 EST


Reviewed-by: Eric Auger <eric.auger@xxxxxxxxxx>

On 03/17/2015 12:43 AM, kbuild test robot wrote:
>
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
> ---
> virqfd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/vfio/virqfd.c b/drivers/vfio/virqfd.c
> index 5967899..3d19aaf 100644
> --- a/drivers/vfio/virqfd.c
> +++ b/drivers/vfio/virqfd.c
> @@ -16,7 +16,7 @@
> #include <linux/slab.h>
>
> static struct workqueue_struct *vfio_irqfd_cleanup_wq;
> -DEFINE_SPINLOCK(virqfd_lock);
> +static DEFINE_SPINLOCK(virqfd_lock);
>
> int __init vfio_virqfd_init(void)
> {
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/