Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp711216pxb; Tue, 3 Nov 2020 10:22:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWshfRxcNHviRntMKrmUaaU7zNls+VeR3LrhR3k05GdRXigWoa7qEOzb/A1fKzxxyUGjlt X-Received: by 2002:a05:6402:553:: with SMTP id i19mr4872460edx.194.1604427756078; Tue, 03 Nov 2020 10:22:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604427756; cv=none; d=google.com; s=arc-20160816; b=p0gQjaZK4ws1ur1uSBTrGGlNh+g29nv+1AhZwEUAXTI2a5elOeBmlRB1w8l5yLO5tP PSgS01wAKu43QMWLkyyv5w6az2H9wsmIxG3H+TnQ61J5CWCt8qqmVAPSlTfvA32Gp9tt mAb/wXBPevVqqzgUO5L232s6KzFqY5h9h0osXMklHUqSGXH6z0NaF9DzlNAMrG5H2woZ 5ouFi9i/q9+ku1mJHEZHx1cfPeVgS0uE2h/w259kh/+cNz99Tu5kPhfSm8s1i5PEMYhg ogTRlS1RgGm4Dejh+QTVUjQx0JczonF6C5drDRCBWkeB7DbTGyhsIBEfd1InkvAvoEfP pcHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=rB8I6G9qs+tpAlTkO14nybmm3TLGcS/K/5ez3RfylJc=; b=OoG1ON8tBGKXuwYLXjTOie7ZF3Gr+autkNcvxwv/jit7veovnJOauI8BoWL62NfyMW 5FhTO4TOlfBAVtdsaI9+zjcTjHK/LGCXnbsWBBLNB7lYvhpNPWw6RoSDQZax/GJN2eoQ 6gGClJOpltfEayqjaLRlQIulZftiCh0kxhRNdC3hrYioUXU7jlQnK0jls6WLFnbNX530 lsQh9iYRAExT4P4skqRB+Yk+p6X3SaI92UOx5e/gHB/+h0CdY/FrCo89LmkXT2xvdWbr krmsPM2iBCrwZWHYy1/zK5osQehUjc92BpsjfzUEpRj3hUR8IEa0brTdmBjR4y+5x0zz x7xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Pw84qgcD; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n3si6837704edo.468.2020.11.03.10.22.12; Tue, 03 Nov 2020 10:22:36 -0800 (PST) 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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Pw84qgcD; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729072AbgKCSUO (ORCPT + 99 others); Tue, 3 Nov 2020 13:20:14 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:22478 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725892AbgKCSUO (ORCPT ); Tue, 3 Nov 2020 13:20:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604427613; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rB8I6G9qs+tpAlTkO14nybmm3TLGcS/K/5ez3RfylJc=; b=Pw84qgcDxbEMNdvbQ1Dj4uvzkeAOOJkOHSy3qW6nuhpbWNu2+aQqT92+QsKSeCuqoiBITG rCNtSw9mHkePyxmKNqjk6gp5l2kzXec38G8+TcAg/ox+Rn2Xh7e4YsmTalSjAul+vUSzjz MctWn2BoX2qnTvRQYoFS/tN0MeAkjWA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-231-4z9JkQCvOt6XCXuszhUokQ-1; Tue, 03 Nov 2020 13:20:11 -0500 X-MC-Unique: 4z9JkQCvOt6XCXuszhUokQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6C2BD809DDB; Tue, 3 Nov 2020 18:20:10 +0000 (UTC) Received: from w520.home (ovpn-112-213.phx2.redhat.com [10.3.112.213]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2931F5B4D8; Tue, 3 Nov 2020 18:20:10 +0000 (UTC) Date: Tue, 3 Nov 2020 11:20:09 -0700 From: Alex Williamson To: Diana Craciun 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 Message-ID: <20201103112009.4d00dcb5@w520.home> In-Reply-To: <20201026165336.31125-1-diana.craciun@oss.nxp.com> References: <20201026165336.31125-1-diana.craciun@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 26 Oct 2020 18:53:36 +0200 Diana Craciun 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 > Signed-off-by: Diana Craciun > --- > 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;