[OS-BUILD PATCH 9/33] nvme: Mark NVMe over FC Target support unmaintained

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Peter Georg <peter.georg@xxxxxxxxxxxxxxxxxxxxxxxx>

nvme: Mark NVMe over FC Target support unmaintained

Bugzilla: http://bugzilla.redhat.com/2019379
Upstream Status: RHEL only

commit 7cd9d59fcba0afc173390a4decbb60a25086f816
Author: Prarit Bhargava <prarit@xxxxxxxxxx>
Date:   Thu Nov 25 10:32:38 2021 -0500

    nvme: Mark NVMe over FC Target support unmaintained

    Bugzilla: http://bugzilla.redhat.com/2019379

    Upstream Status: RHEL9 only, https://gitlab.com/cki-project/kernel-ark
    commit 242c520e77a135a45175359d469537c0a6ec7923
    Author: Prarit Bhargava <prarit@xxxxxxxxxx>
    Date:   Tue Nov 23 20:35:56 2021 -0500

        nvme: Mark NVMe over FC Target support unmaintained

        Mark NVMe over FC Target support unmaintained.

        Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>

    Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>

Signed-off-by: Peter Georg <peter.georg@xxxxxxxxxxxxxxxxxxxxxxxx>

diff --git a/drivers/nvme/target/fc.c b/drivers/nvme/target/fc.c
index blahblah..blahblah 100644
--- a/drivers/nvme/target/fc.c
+++ b/drivers/nvme/target/fc.c
@@ -1340,6 +1340,8 @@ nvmet_fc_portentry_rebind_tgt(struct nvmet_fc_tgtport *tgtport)
 	spin_unlock_irqrestore(&nvmet_fc_tgtlock, flags);
 }
 
+static bool driver_warning_issued;
+
 /**
  * nvme_fc_register_targetport - transport entry point called by an
  *                              LLDD to register the existence of a local
@@ -1367,6 +1369,11 @@ nvmet_fc_register_targetport(struct nvmet_fc_port_info *pinfo,
 	unsigned long flags;
 	int ret, idx;
 
+	if (!driver_warning_issued) {
+		mark_driver_unmaintained("NVMe over FC Target");
+		driver_warning_issued = true;
+	}
+
 	if (!template->xmt_ls_rsp || !template->fcp_op ||
 	    !template->fcp_abort ||
 	    !template->fcp_req_release || !template->targetport_delete ||

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1610
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux