aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-02-19 11:45:53 +0000
committerMartin K. Petersen <[email protected]>2024-02-27 02:22:26 +0000
commit517bcc2b4db435f230fe864f3db0a0f21d2f6951 (patch)
tree86a5ad86d3a674d122069d8fda1c28962ce062b1 /scripts/bpf_doc.py
parentscsi: libfc: replace deprecated strncpy() with memcpy() (diff)
downloadkernel-517bcc2b4db435f230fe864f3db0a0f21d2f6951.tar.gz
kernel-517bcc2b4db435f230fe864f3db0a0f21d2f6951.zip
scsi: core: Constify the struct device_type usage
Since commit aed65af1cc2f ("drivers: make device_type const"), the driver core can properly handle constant struct device_type. Move the scsi_host_type, scsi_target_type and scsi_dev_type variables to be constant structures as well, placing it into read-only memory which can not be modified at runtime. Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ricardo B. Marliere <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions