From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7235A1468E4 for ; Tue, 27 Feb 2024 15:58:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709049487; cv=none; b=I30+jpQpJRSuo5V7Fyba17rbmtjFVfba0VbiDuuXp9UNJ8L8Tac6GJ2X44oCvbukZ1E5czD6VodAwfn/rxnOQtbQbotGWJWQ9JEFeX7C2VvdAOVy/cSY6lKbCcRgN4+W4mgG/NOjU5yNoJQjE5NbhetSRO0cIv0MzWLZTLtefiQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709049487; c=relaxed/simple; bh=m8atfW3nBIl+dzhdJpoKOIZ/gL0HTKVc5kaXGpcmAJU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ChdyvMGaDr6Ds90uQNYoeaxBUTqfHedu2IDo7gHNAJfMtIVqBf8CoTLrYpXsl/2+StGG6+YuNtkWc/oGEsZiGNjVwwUuOQSdFHv7TBPUkmrCWIzNfkQANsFVVAETn0MAXqL9quPfQkufvlsXenRtjxYzVnKt/HmjDFbBY5COGis= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=esAZkbb3; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="esAZkbb3" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709049483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=fY+0b8Vv6KvNYU3uBxf+nKDNmKoZcXRJbPi/Ff45+Qo=; b=esAZkbb3L9ctif0tBzTX73O8VxX5s04M1cCIgF4UDZM8zZdOj6I6jRdOMWg3H6do7ihnOW Dxu8Z9D8wRNQ0G/U4LxCRegEI0peIB8xy0y8Bd6P0O2HuIUHa6PpPWRnba57koCn06HFvU m78YrQvoeg5JRUxVDnFihpN7J7yxRy0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-674-mf7YYoOkNZqLArlp8yPSFA-1; Tue, 27 Feb 2024 10:57:59 -0500 X-MC-Unique: mf7YYoOkNZqLArlp8yPSFA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id ADC7585A589; Tue, 27 Feb 2024 15:57:58 +0000 (UTC) Received: from localhost (unknown [10.39.192.3]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6D3C81C060B1; Tue, 27 Feb 2024 15:57:57 +0000 (UTC) From: Stefan Hajnoczi To: Miklos Szeredi Cc: Randy Dunlap , Linux FS-devel Mailing List , Linux Kernel Mailing List , Stephen Rothwell , Linux Next Mailing List , Stefan Hajnoczi , kernel test robot Subject: [PATCH] virtiofs: drop __exit from virtio_fs_sysfs_exit() Date: Tue, 27 Feb 2024 10:57:56 -0500 Message-ID: <20240227155756.420944-1-stefanha@redhat.com> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 virtio_fs_sysfs_exit() is called by: - static int __init virtio_fs_init(void) - static void __exit virtio_fs_exit(void) Remove __exit from virtio_fs_sysfs_exit() since virtio_fs_init() is not an __exit function. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202402270649.GYjNX0yw-lkp@intel.com/ Signed-off-by: Stefan Hajnoczi --- fs/fuse/virtio_fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fuse/virtio_fs.c b/fs/fuse/virtio_fs.c index 62a44603740c..948b49c2460d 100644 --- a/fs/fuse/virtio_fs.c +++ b/fs/fuse/virtio_fs.c @@ -1588,7 +1588,7 @@ static int __init virtio_fs_sysfs_init(void) return 0; } -static void __exit virtio_fs_sysfs_exit(void) +static void virtio_fs_sysfs_exit(void) { kset_unregister(virtio_fs_kset); virtio_fs_kset = NULL; -- 2.43.2