Centos-kernel-stream-9/drivers/pci/switch
Myron Stowe 549698e5c9 PCI: switchtec: Make switchtec_class constant
JIRA: https://issues.redhat.com/browse/RHEL-59033
Upstream Status: 8a74e4eaa72c14f997df6d820effb6aac400d470

commit 8a74e4eaa72c14f997df6d820effb6aac400d470
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date:   Mon Jun 10 10:20:53 2024 +0200

    PCI: switchtec: Make switchtec_class constant

    Now that the driver core allows for struct class to be in read-only memory,
    we should make all 'class' structures declared at build time placing them
    into read-only memory, instead of having to be dynamically allocated at
    runtime.

    Link: https://lore.kernel.org/r/2024061053-online-unwound-b173@gregkh
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Reviewed-by: Dave Jiang <dave.jiang@intel.com>
    Reviewed-By: Logan Gunthorpe <logang@deltatee.com>
    Cc: Kurt Schwemmer <kurt.schwemmer@microsemi.com>
    Cc: Jon Mason <jdmason@kudzu.us>
    Cc: Allen Hubbe <allenbh@gmail.com>

Signed-off-by: Myron Stowe <mstowe@redhat.com>
2024-10-05 10:59:19 -06:00
..
Kconfig docs: driver-api: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
Makefile
switchtec.c PCI: switchtec: Make switchtec_class constant 2024-10-05 10:59:19 -06:00