Skip to content

Commit 021f243

Browse files
bvanasschemartinkpetersen
authored andcommitted
scsi: ufs: core: Fix spelling of a sysfs attribute name
Change "resourse" into "resource" in the name of a sysfs attribute. Fixes: d829fc8 ("scsi: ufs: sysfs: unit descriptor") Signed-off-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Avri Altman <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 4937e60 commit 021f243

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Documentation/ABI/testing/sysfs-driver-ufs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ Description: This file shows the thin provisioning type. This is one of
711711

712712
The file is read only.
713713

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
715715
Date: February 2018
716716
Contact: Stanislav Nijnikov <[email protected]>
717717
Description: This file shows the total physical memory resources. This is

drivers/ufs/core/ufs-sysfs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,7 +1808,7 @@ UFS_UNIT_DESC_PARAM(logical_block_size, _LOGICAL_BLK_SIZE, 1);
18081808
UFS_UNIT_DESC_PARAM(logical_block_count, _LOGICAL_BLK_COUNT, 8);
18091809
UFS_UNIT_DESC_PARAM(erase_block_size, _ERASE_BLK_SIZE, 4);
18101810
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);
18121812
UFS_UNIT_DESC_PARAM(context_capabilities, _CTX_CAPABILITIES, 2);
18131813
UFS_UNIT_DESC_PARAM(large_unit_granularity, _LARGE_UNIT_SIZE_M1, 1);
18141814
UFS_UNIT_DESC_PARAM(wb_buf_alloc_units, _WB_BUF_ALLOC_UNITS, 4);
@@ -1825,7 +1825,7 @@ static struct attribute *ufs_sysfs_unit_descriptor[] = {
18251825
&dev_attr_logical_block_count.attr,
18261826
&dev_attr_erase_block_size.attr,
18271827
&dev_attr_provisioning_type.attr,
1828-
&dev_attr_physical_memory_resourse_count.attr,
1828+
&dev_attr_physical_memory_resource_count.attr,
18291829
&dev_attr_context_capabilities.attr,
18301830
&dev_attr_large_unit_granularity.attr,
18311831
&dev_attr_wb_buf_alloc_units.attr,

0 commit comments

Comments
 (0)