Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: ufs: core: Fix spelling of a sysfs attribute name

Change "resourse" into "resource" in the name of a sysfs attribute.

Fixes: d829fc8a1058 ("scsi: ufs: sysfs: unit descriptor")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20250624181658.336035-1-bvanassche@acm.org
Reviewed-by: Avri Altman <avri.altman@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Bart Van Assche and committed by
Martin K. Petersen
021f2436 4937e604

+3 -3
+1 -1
Documentation/ABI/testing/sysfs-driver-ufs
··· 711 711 712 712 The file is read only. 713 713 714 - What: /sys/class/scsi_device/*/device/unit_descriptor/physical_memory_resourse_count 714 + What: /sys/class/scsi_device/*/device/unit_descriptor/physical_memory_resource_count 715 715 Date: February 2018 716 716 Contact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com> 717 717 Description: This file shows the total physical memory resources. This is
+2 -2
drivers/ufs/core/ufs-sysfs.c
··· 1808 1808 UFS_UNIT_DESC_PARAM(logical_block_count, _LOGICAL_BLK_COUNT, 8); 1809 1809 UFS_UNIT_DESC_PARAM(erase_block_size, _ERASE_BLK_SIZE, 4); 1810 1810 UFS_UNIT_DESC_PARAM(provisioning_type, _PROVISIONING_TYPE, 1); 1811 - UFS_UNIT_DESC_PARAM(physical_memory_resourse_count, _PHY_MEM_RSRC_CNT, 8); 1811 + UFS_UNIT_DESC_PARAM(physical_memory_resource_count, _PHY_MEM_RSRC_CNT, 8); 1812 1812 UFS_UNIT_DESC_PARAM(context_capabilities, _CTX_CAPABILITIES, 2); 1813 1813 UFS_UNIT_DESC_PARAM(large_unit_granularity, _LARGE_UNIT_SIZE_M1, 1); 1814 1814 UFS_UNIT_DESC_PARAM(wb_buf_alloc_units, _WB_BUF_ALLOC_UNITS, 4); ··· 1825 1825 &dev_attr_logical_block_count.attr, 1826 1826 &dev_attr_erase_block_size.attr, 1827 1827 &dev_attr_provisioning_type.attr, 1828 - &dev_attr_physical_memory_resourse_count.attr, 1828 + &dev_attr_physical_memory_resource_count.attr, 1829 1829 &dev_attr_context_capabilities.attr, 1830 1830 &dev_attr_large_unit_granularity.attr, 1831 1831 &dev_attr_wb_buf_alloc_units.attr,