Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp473000pxx; Mon, 26 Oct 2020 12:46:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycnN/H93cU6SFGS5bDSdCUPs0aNo454zmMToQbRCRFHifL0gpA5tjgTtIMSt6tunSHeidW X-Received: by 2002:a17:906:52d5:: with SMTP id w21mr18360012ejn.501.1603741597010; Mon, 26 Oct 2020 12:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603741597; cv=none; d=google.com; s=arc-20160816; b=wx8+1sJA/MEkox/PWhDi6X77j5mM69CkhhRQAQB7RfNrc7O+nG7DeAKJl/ELakqF2a jA52PuYrUa0jYDlaTwCFADqPZ0Xorteq1xydwyrQrMIHvbnhWSL2ibMrjT49J+r+FOdM rqXumFXz9JSqtWlT18yR4KkI/heFeCDCepcCf+mKgAAnd6iRlufMqHIWQa6XK38tuhfw kR6ptulz9HAm8KuKuehZDzSoBCYS3KdniypC9Olbfz2mWrGbiNSPMl7vXCgB8ycsCnMj sLpncbOYGM0av2QJvR7lOkZuMiD4JfKzRCIbBekw6uVtbunnMETZue/XcGST4BllWQ71 KQPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=YPO0CsVNf5xJmGjPJUCs+nPXSM+qBPHhJBvAzurMKzs=; b=E8OT6DGAXbUK63bipeF4qZcRz/4yO9iobJVOZT4vLLhii30BcJhoZfZ6VBgdE3sfic jqMyKDE+QO8zaG+NtQK74kdJFXoOPjZYpBf0htBgPA8cP4n/+8r8uvW1T5WP0jeap3Cx 2rIZM2+nK3SHGgc0LTlgVfFrR9XiaJ4wgZXCKTibdtCc5uGK/w4TVZeMLCAobpidls6k 1CHQkiF+HRIeTlup8ACkeBah40wvHwPxkJXaCv9i9r/lM4GqOwVw9lZin1jFr7GPaCAl AhwFB5Z1c1dhQIbgDXaEXiOrCxHReE9fHpjRfUqAv0pij18vaHyazmJjsLUDgy6hArfH ayzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dg11si7623024edb.246.2020.10.26.12.46.14; Mon, 26 Oct 2020 12:46:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1786611AbgJZQxp (ORCPT + 99 others); Mon, 26 Oct 2020 12:53:45 -0400 Received: from inva021.nxp.com ([92.121.34.21]:39862 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1786604AbgJZQxp (ORCPT ); Mon, 26 Oct 2020 12:53:45 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E3EA52011CD; Mon, 26 Oct 2020 17:53:43 +0100 (CET) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id D7E142010E8; Mon, 26 Oct 2020 17:53:43 +0100 (CET) Received: from fsr-ub1864-111.ea.freescale.net (fsr-ub1864-111.ea.freescale.net [10.171.82.141]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 8F65320308; Mon, 26 Oct 2020 17:53:43 +0100 (CET) From: Diana Craciun To: alex.williamson@redhat.com, kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, laurentiu.tudor@nxp.com, Diana Craciun Subject: [PATCH] vfio/fsl-mc: Make vfio_fsl_mc_irqs_allocate static Date: Mon, 26 Oct 2020 18:53:36 +0200 Message-Id: <20201026165336.31125-1-diana.craciun@oss.nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: Diana Craciun --- drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.17.1