Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751545AbeAPShC (ORCPT + 1 other); Tue, 16 Jan 2018 13:37:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56438 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751401AbeAPShA (ORCPT ); Tue, 16 Jan 2018 13:37:00 -0500 Date: Tue, 16 Jan 2018 11:36:49 -0700 From: Alex Williamson To: Xiongwei Song Cc: kwankhede@nvidia.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] vfio: mdev: make a couple of functions and structure vfio_mdev_driver static Message-ID: <20180116113649.15c64a91@w520.home> In-Reply-To: <20171221231226.15505-1-sxwjean@gmail.com> References: <20171221231226.15505-1-sxwjean@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Tue, 16 Jan 2018 18:37:00 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Fri, 22 Dec 2017 07:12:26 +0800 Xiongwei Song 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 > --- > 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