Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp362502pxp; Wed, 16 Mar 2022 07:19:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx39Q26CXSe6HXXyrbmJDBHcOU7n0PR99ft2JSmSYNpqN11SbWX8idInWn/6kIpOHrYEWlU X-Received: by 2002:a17:903:1246:b0:14f:e51e:baa7 with SMTP id u6-20020a170903124600b0014fe51ebaa7mr147705plh.159.1647440379169; Wed, 16 Mar 2022 07:19:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647440379; cv=none; d=google.com; s=arc-20160816; b=FjGtHRvfWR6nC9LTG+eDj2LdCerS3ntLVy4YLCSDZ0ZlgXF5eW9QTEPLRQm4kTxdjH Igw6b4+iCShACN6im9rbipNI25wfWDl9EhydusXyJrc9cSfQWNgx+X66XcVYBOvmFC62 I+YKVrXDf2ERdXc5bd8Lv4iY1Zwz5528p28r5ZaoxG+WDzeiCFdFRsXyNeTavb46ol0S KSVg8D9cwuT6051OrQUXxhGp6IjOnZf419NwMY593W5ZairzGLvmrfJmCPGJPU2WZDLh Lo6q72UljifkY/Pkd41EOFFVDORFxYVg1d7nxocv4d86dz/PV9oTbSbSVrG1eq0vgin3 iH3A== 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=u1oRcCcB9vh8WAgYwxSkc/URQ2wvCxJVEu9SQpNZpL4=; b=d4dhYb0zaNYyA5tYd+O6SC9iwcibllM3IX0Bosju64hzmxJZEhhLXAfDNPZmAgKjuV DXPwrFW4kqI6xoFUHBs8bpqtLrRmXoOL6YcHY3C2RHsNCAfN2TEsTqta2Sofjeljr1Fl 6AVA4lpmWsvYuwiQ854KpB4AG9csnGZfv7qIt92Rw4q8wCyAnpjXFO2sOSW5cKguA09e H9RytAEENc0EwbbGq93+szPnoGp4llm6hA4lFFwjuUir+KkZ1xZKnlnMR87/hTu3UZLv htwGzz2luwZZn362JrfUOzQAaMYcAFAmWkBocGoWOFh/Gf9VcayCbkt1poOaMfzrtjoA Q2QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="rGuIh6/4"; 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 j1-20020a056a00174100b004f79b676f54si2205667pfc.350.2022.03.16.07.19.24; Wed, 16 Mar 2022 07:19:39 -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="rGuIh6/4"; 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 S245449AbiCNMdC (ORCPT + 99 others); Mon, 14 Mar 2022 08:33:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243894AbiCNMVW (ORCPT ); Mon, 14 Mar 2022 08:21:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06605233; Mon, 14 Mar 2022 05:17:50 -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 8E66A60B04; Mon, 14 Mar 2022 12:17:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 542D7C340E9; Mon, 14 Mar 2022 12:17:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647260269; bh=NPgAG/TFqciHsybR6ESBeZHQsOLy1/BLnmY9oLRjOR8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rGuIh6/4nVAqDFjNUBDZ+Wptif+A48E5zMCk3ibg+hGVPtGCUQzCIxfddwF6VTmr5 Nm2kBsxNccBr6sARepCCVJp7Kz76kegysP91SnFs2BnIcdXeXByMYwfNeTPhoWr9aR wVew1TlgpswY4dX2PF66AkzyM8Tosj92ksY/D1BI= 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 5.16 101/121] virtio: unexport virtio_finalize_features Date: Mon, 14 Mar 2022 12:54:44 +0100 Message-Id: <20220314112746.934021284@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220314112744.120491875@linuxfoundation.org> References: <20220314112744.120491875@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 @@ -166,7 +166,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; @@ -202,7 +202,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 @@ -133,7 +133,6 @@ bool is_virtio_device(struct device *dev void virtio_break_device(struct virtio_device *dev); void virtio_config_changed(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);