From: Alex Williamson <alex.williamson@redhat.com>
To: Diana Craciun <diana.craciun@oss.nxp.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
laurentiu.tudor@nxp.com
Subject: Re: [PATCH] vfio/fsl-mc: Make vfio_fsl_mc_irqs_allocate static
Date: Tue, 3 Nov 2020 11:20:09 -0700 [thread overview]
Message-ID: <20201103112009.4d00dcb5@w520.home> (raw)
In-Reply-To: <20201026165336.31125-1-diana.craciun@oss.nxp.com>
On Mon, 26 Oct 2020 18:53:36 +0200
Diana Craciun <diana.craciun@oss.nxp.com> wrote:
> Fixed compiler warning:
> drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c:16:5: warning: no previous
> prototype for function 'vfio_fsl_mc_irqs_allocate' [-Wmissing-prototypes]
> ^
> drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c:16:1: note: declare 'static'
> if the function is not intended to be used outside of this translation unit
> int vfio_fsl_mc_irqs_allocate(struct vfio_fsl_mc_device *vdev)
>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
> ---
> drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to vfio for-linus branch for v5.10. Thanks,
Alex
>
> diff --git a/drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c b/drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c
> index c80dceb46f79..0d9f3002df7f 100644
> --- a/drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c
> +++ b/drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c
> @@ -13,7 +13,7 @@
> #include "linux/fsl/mc.h"
> #include "vfio_fsl_mc_private.h"
>
> -int vfio_fsl_mc_irqs_allocate(struct vfio_fsl_mc_device *vdev)
> +static int vfio_fsl_mc_irqs_allocate(struct vfio_fsl_mc_device *vdev)
> {
> struct fsl_mc_device *mc_dev = vdev->mc_dev;
> struct vfio_fsl_mc_irq *mc_irq;
prev parent reply other threads:[~2020-11-03 18:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-26 16:53 [PATCH] vfio/fsl-mc: Make vfio_fsl_mc_irqs_allocate static Diana Craciun
2020-11-03 18:20 ` Alex Williamson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201103112009.4d00dcb5@w520.home \
--to=alex.williamson@redhat.com \
--cc=diana.craciun@oss.nxp.com \
--cc=kvm@vger.kernel.org \
--cc=laurentiu.tudor@nxp.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).