Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3298097pxp; Mon, 14 Mar 2022 15:54:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynU5KZlHwjh9Jgg0xIbbsRR1E3wIOjI8eaTkxoJ7OD2gK1lbV0tXgmX/wOT8zKnqLDcR6H X-Received: by 2002:a63:de0c:0:b0:378:9365:c3c6 with SMTP id f12-20020a63de0c000000b003789365c3c6mr21713241pgg.301.1647298454488; Mon, 14 Mar 2022 15:54:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647298454; cv=none; d=google.com; s=arc-20160816; b=diGjDGZ4HhGswooknmfptNARXjuq0e8JgXII8nJ13jM3wHLEyAal6syHy6SXokKu62 eXl1iwC/av8XHOxbDFEylxKZRhs1JGTkO1UjX+BXhsbFBLpGduI1h6cBS17VQEv8p04l de9gpg4mh2ycIDm4veUg0g2kcrYfZYV/5ABKJJ6WM2ZFG1TiY7RDGcqTY0/oUY7vXkOy 5KwVCeo8oTT0Ktjg+NJ/z2tseO301fmM8xNeHB7eCCpLRr8x4dFEuUbzvG2LwmhzQ1lX lPMFImw5HrOJE2OirPPRZi6lyZsnEpPS+oWf0knDxcFFr9e3hWsYHeDIqwNemeR1/AwC VyHA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=i0Mi/ZVt4rMcLWT7B2KVMZ7vbLjZLb2b90G1EV4Pph8=; b=jgkO2ZPhnuTkaUgnc3+0RWwVkq1OWoHKCPvQFajBpTo9CcAHSVTY5N9SNfsCYc7S2t gZXqbEYiRHn46f2gXxh4WxM00w2wPHU/5zulUtZy25r0scbxyiG9OiHQKQS5fQA1lrxE dte8QQriNAls/5Se2ezaCBbPgOZ4jP3/tD/uC/sYIwmWzwCC82mUpua4HuHHLkWXFQHM A76WcJ3E6r0Mwa3z9SFi2sUivGXvGMduah53AexITcj3qRAmDHKbY+NclPD3ie+lU49k PodxG8J2MdK7VFz6x5NXuVcLAkuGCjHzb5zaHu+0pLv4mhPpYxMwQH916WZVwA9mPecw YIhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uetaO+0n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id az15-20020a17090b028f00b001bd14e01f26si421087pjb.20.2022.03.14.15.53.42; Mon, 14 Mar 2022 15:54:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uetaO+0n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239490AbiCNLmY (ORCPT + 99 others); Mon, 14 Mar 2022 07:42:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239575AbiCNLl7 (ORCPT ); Mon, 14 Mar 2022 07:41:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10233434BC; Mon, 14 Mar 2022 04:39:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B1A1D6118B; Mon, 14 Mar 2022 11:39:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A719FC340EC; Mon, 14 Mar 2022 11:39:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647257970; bh=HQDzt7DRnstbuSIZ9hqLQDqQhgyT8/fAxqbSn2TWsus=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uetaO+0n2pIRdIm0SMrBOYIKiXkwOppEVONNeyWV1ND7WvS7T4YNks97lavsgNQib q6FI++L2BY0/iXUI/2YTm06APtpkU3oDe9hGSnKmeLHdArQPPQk6gwN4MWlIqcdfxk pjTjGfVyKpYZYrHJU2AnWdIKWy2bRov/nCXGvLI0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Michael S. Tsirkin" , Cornelia Huck , Jason Wang Subject: [PATCH 4.19 23/30] virtio: unexport virtio_finalize_features Date: Mon, 14 Mar 2022 12:34:41 +0100 Message-Id: <20220314112732.449033983@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220314112731.785042288@linuxfoundation.org> References: <20220314112731.785042288@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michael S. Tsirkin commit 838d6d3461db0fdbf33fc5f8a69c27b50b4a46da upstream. virtio_finalize_features is only used internally within virtio. No reason to export it. Signed-off-by: Michael S. Tsirkin Reviewed-by: Cornelia Huck Acked-by: Jason Wang Signed-off-by: Greg Kroah-Hartman --- drivers/virtio/virtio.c | 3 +-- include/linux/virtio.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) --- a/drivers/virtio/virtio.c +++ b/drivers/virtio/virtio.c @@ -165,7 +165,7 @@ void virtio_add_status(struct virtio_dev } EXPORT_SYMBOL_GPL(virtio_add_status); -int virtio_finalize_features(struct virtio_device *dev) +static int virtio_finalize_features(struct virtio_device *dev) { int ret = dev->config->finalize_features(dev); unsigned status; @@ -185,7 +185,6 @@ int virtio_finalize_features(struct virt } return 0; } -EXPORT_SYMBOL_GPL(virtio_finalize_features); static int virtio_dev_probe(struct device *_d) { --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -151,7 +151,6 @@ void virtio_break_device(struct virtio_d void virtio_config_changed(struct virtio_device *dev); void virtio_config_disable(struct virtio_device *dev); void virtio_config_enable(struct virtio_device *dev); -int virtio_finalize_features(struct virtio_device *dev); #ifdef CONFIG_PM_SLEEP int virtio_device_freeze(struct virtio_device *dev); int virtio_device_restore(struct virtio_device *dev);