[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180116113649.15c64a91@w520.home>
Date: Tue, 16 Jan 2018 11:36:49 -0700
From: Alex Williamson <alex.williamson@...hat.com>
To: Xiongwei Song <sxwjean@...il.com>
Cc: kwankhede@...dia.com, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] vfio: mdev: make a couple of functions and structure
vfio_mdev_driver static
On Fri, 22 Dec 2017 07:12:26 +0800
Xiongwei Song <sxwjean@...il.com> wrote:
> The functions vfio_mdev_probe, vfio_mdev_remove and the structure
> vfio_mdev_driver are only used in this file, so make them static.
>
> Clean up sparse warnings:
> drivers/vfio/mdev/vfio_mdev.c:114:5: warning: no previous prototype
> for 'vfio_mdev_probe' [-Wmissing-prototypes]
> drivers/vfio/mdev/vfio_mdev.c:121:6: warning: no previous prototype
> for 'vfio_mdev_remove' [-Wmissing-prototypes]
>
> Signed-off-by: Xiongwei Song <sxwjean@...il.com>
> ---
> drivers/vfio/mdev/vfio_mdev.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Applied to next branch with reviewed-bys for v4.16. Thanks,
Alex
Powered by blists - more mailing lists