Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4278263pxy; Tue, 27 Apr 2021 00:44:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJze09YKpDy62g6bem2KKjHCnzPdvaKWKtN1cOu16vshyo9zH3HfAcNDliuPPiRNtDbZKyPt X-Received: by 2002:a05:6402:4d1:: with SMTP id n17mr2723214edw.118.1619509482244; Tue, 27 Apr 2021 00:44:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619509482; cv=none; d=google.com; s=arc-20160816; b=kaLlvy2xivyI6w/extzTn8oCkDDO8QlOIL5t+NqLjw/xUeoaO1y3SvIDnbzqYIVqHE 1n8ej9/QGNuk1bkqbk1zEv/kAE48E/tz0XPCSipMJfEogE2Y1884ddBgbSYhyyCBy7IM L7qXJkKJVpTi5jdUghtZVu4HDIvksE/B5KcJX+fLf5w3WS2T0n6uwv2sX7QLC3BlaPgu nT1SdHtO3IussDwVuzLnAHri00mAWvqYmS7b9U09P5LeYNeq5LQpbgDcMvu7Zvgq9zXi bD9ttAGDNtrO3Mqvrdni5Mq4KvPe56ASu3WNiRBLlfZdjnwoaCPkqTqe7cYthqD6Q6fQ /1eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:content-transfer-encoding:date :message-id:cc:to:from:sender:reply-to:subject:mime-version :dkim-signature:dkim-filter; bh=PrsfVE4deZ/xb+RnXu0vDm3K/Nkxr6m3k4bSEBKWYBE=; b=EJcTr2FDn/hZhtV9iEWfcFcaptloip5hTWDqKpNfpQ1Vd+YCAf5YOOnfB8r3qb2IFr W5qWqcQJUpULmHRZR3s9IlxGGcdlnuENbivAsBCSNcvoHWajvinflV8cjavtLPkTbeAP or+g/H5yRygNJCkNxklBEJTmkGnqFnzYuXx8WkSeNGzwuIzHx2QlKfu876Ud5CKNBUvd J5Zxc7hZ6hCaZ0aE/FukkLpke0rfz3sR9m7ipHbHgGi3wgnYK2K+4a3iErDkUpakYBms fXAr2KWYkHkTZ+eGu1DUg0NDKyPksLR5tMaDGMxuZa2HzR66y385MgiDRS7ZSfEW260O Fh/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=YICT8Q6K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d10si2158221edm.362.2021.04.27.00.44.19; Tue, 27 Apr 2021 00:44:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=YICT8Q6K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235074AbhD0HlC (ORCPT + 99 others); Tue, 27 Apr 2021 03:41:02 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:54889 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235009AbhD0Hky (ORCPT ); Tue, 27 Apr 2021 03:40:54 -0400 Received: from epcas3p3.samsung.com (unknown [182.195.41.21]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20210427074009epoutp035bb84009777fcc3db9ea9639676db13a~5pwukFz3u2723227232epoutp03e for ; Tue, 27 Apr 2021 07:40:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20210427074009epoutp035bb84009777fcc3db9ea9639676db13a~5pwukFz3u2723227232epoutp03e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1619509209; bh=PrsfVE4deZ/xb+RnXu0vDm3K/Nkxr6m3k4bSEBKWYBE=; h=Subject:Reply-To:From:To:CC:Date:References:From; b=YICT8Q6K7SyYiCrHki1+253HIy39S6j02daOrhe1RMD+AmtVb2VGHjDHUmgHmvhU3 ufyiCEfVJznDaNCJp5eJiGnZCTl8RFPRYkdph4zAQ9YjL8IoTrgmXjXk6k/bVmAAku oNUBE3vPmDP/PRGiqG43tRCoq4VMJPDR2kCSpslI= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas3p2.samsung.com (KnoxPortal) with ESMTP id 20210427074008epcas3p267f57edbd4cd25a7ccdfbfeaffec0294~5pwuGZvLJ0697306973epcas3p2h; Tue, 27 Apr 2021 07:40:08 +0000 (GMT) Received: from epcpadp3 (unknown [182.195.40.17]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4FTtvr6Y7kz4x9Pv; Tue, 27 Apr 2021 07:40:08 +0000 (GMT) Mime-Version: 1.0 Subject: [PATCH] scsi: ufs: Fix a typo in ufs-sysfs.c Reply-To: keosung.park@samsung.com Sender: Keoseong Park From: Keoseong Park To: ALIM AKHTAR , "avri.altman@wdc.com" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "stanley.chu@mediatek.com" , "cang@codeaurora.org" , "asutoshd@codeaurora.org" , "beanhuo@micron.com" , "huyue2@yulong.com" , "jaegeuk@kernel.org" , Keoseong Park , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Daejun Park , Sung-Jun Park , Jinyoung CHOI X-Priority: 3 X-Content-Kind-Code: NORMAL X-CPGS-Detection: blocking_info_exchange X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <1381713434.61619509208911.JavaMail.epsvc@epcpadp3> Date: Tue, 27 Apr 2021 16:38:42 +0900 X-CMS-MailID: 20210427073842epcms2p1efa82e558171ad06c9398ea7c364e7dc Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL X-CPGSPASS: Y X-CPGSPASS: Y X-Hop-Count: 3 X-CMS-RootMailID: 20210427073842epcms2p1efa82e558171ad06c9398ea7c364e7dc References: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change 'ufschd' to 'ufshcd'. Fix the following typo: ufschd_uic_link_state_to_string() -> ufshcd_uic_link_state_to_string() ufschd_ufs_dev_pwr_mode_to_string() -> ufshcd_ufs_dev_pwr_mode_to_string() Signed-off-by: Keoseong Park --- drivers/scsi/ufs/ufs-sysfs.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/ufs/ufs-sysfs.c b/drivers/scsi/ufs/ufs-sysfs.c index d7c3cff9662f..5d0e98a05ada 100644 --- a/drivers/scsi/ufs/ufs-sysfs.c +++ b/drivers/scsi/ufs/ufs-sysfs.c @@ -9,7 +9,7 @@ #include "ufs.h" #include "ufs-sysfs.h" -static const char *ufschd_uic_link_state_to_string( +static const char *ufshcd_uic_link_state_to_string( enum uic_link_state state) { switch (state) { @@ -21,7 +21,7 @@ static const char *ufschd_uic_link_state_to_string( } } -static const char *ufschd_ufs_dev_pwr_mode_to_string( +static const char *ufshcd_ufs_dev_pwr_mode_to_string( enum ufs_dev_pwr_mode state) { switch (state) { @@ -81,7 +81,7 @@ static ssize_t rpm_target_dev_state_show(struct device *dev, { struct ufs_hba *hba = dev_get_drvdata(dev); - return sysfs_emit(buf, "%s\n", ufschd_ufs_dev_pwr_mode_to_string( + return sysfs_emit(buf, "%s\n", ufshcd_ufs_dev_pwr_mode_to_string( ufs_pm_lvl_states[hba->rpm_lvl].dev_state)); } @@ -90,7 +90,7 @@ static ssize_t rpm_target_link_state_show(struct device *dev, { struct ufs_hba *hba = dev_get_drvdata(dev); - return sysfs_emit(buf, "%s\n", ufschd_uic_link_state_to_string( + return sysfs_emit(buf, "%s\n", ufshcd_uic_link_state_to_string( ufs_pm_lvl_states[hba->rpm_lvl].link_state)); } @@ -113,7 +113,7 @@ static ssize_t spm_target_dev_state_show(struct device *dev, { struct ufs_hba *hba = dev_get_drvdata(dev); - return sysfs_emit(buf, "%s\n", ufschd_ufs_dev_pwr_mode_to_string( + return sysfs_emit(buf, "%s\n", ufshcd_ufs_dev_pwr_mode_to_string( ufs_pm_lvl_states[hba->spm_lvl].dev_state)); } @@ -122,7 +122,7 @@ static ssize_t spm_target_link_state_show(struct device *dev, { struct ufs_hba *hba = dev_get_drvdata(dev); - return sysfs_emit(buf, "%s\n", ufschd_uic_link_state_to_string( + return sysfs_emit(buf, "%s\n", ufshcd_uic_link_state_to_string( ufs_pm_lvl_states[hba->spm_lvl].link_state)); } -- 2.17.1