Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp6104047pxu; Wed, 23 Dec 2020 13:41:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJzHYmczPCxvLtrJRgNpERaO/lDvgKRXeakuYhmPy0I4FccMur0fRWxIMABFxmx5pMQuUdWH X-Received: by 2002:a50:e0ce:: with SMTP id j14mr26769165edl.18.1608759700385; Wed, 23 Dec 2020 13:41:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608759700; cv=none; d=google.com; s=arc-20160816; b=MdnDP1fQ6Tbosh3qQ8cm5Hk8EEAEbGSKWj+zF+gpoXy85M2X3kJxJYW5yCupbucKIk WDObnNSBtYJcke9k+dqoPl7tvBdeuPsHctGyEoTc+4vvHnEgChHBILkEsUZKNRGPN9Ro MGMpzYn0OO2ASjc92YJZMaclgF7vlXxi/8fS+TzUtinSgTGNHWs14MCkQ1agxx73077j bYvcKSkZl9BH59/QHrQMurZ2pprfxD9GOsKNbYf32w5HZf6tM/NHoMK2RS/NN4W0NIA9 8HVsYrUkSK+1+kApLYJxY5M19ue5HweAkZEwqneqPTVIVm31lyUxtRz5g6N8PcIqXM/M /k6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=8VdsyZ8WvqoPBszTJ/HR859gq7oHB0bgWRAKdYZ//jM=; b=nyzX5wPa1bUA5TpG5OQVCRDGphsIbOOA58Ia3GTMuXUFV4DDlS4F92IHkTZz9Moe0w 9ixuEanCdf/3hlg8wMFgwLYTU/6i19fTeEYUzuQN7KQ5VswsSUWzycpKr7Rzk5Jpl5Eb p3By1VIKG7DHtdY5YqiKeBDj/VBGGsJgjLiQ8M1ADhHqAfHsFNuYyHRCeYJZUxmDKOm8 Kb4gsou8BJrWEpDG38vnp3gxTMEuBwVAQrUIVim+NslCY7ILcMCvoUxTJ7Qlyh8afdbr 5j2UlXPjQalgsOP+yUYwo+suSENISaxwnmnk9RTLALFG9Tjz908LDqRX8In/rxH6g6X3 uwtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cCyknsDL; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce8si12397142ejb.147.2020.12.23.13.41.18; Wed, 23 Dec 2020 13:41:40 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=cCyknsDL; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725967AbgLWVjT (ORCPT + 99 others); Wed, 23 Dec 2020 16:39:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725536AbgLWVjT (ORCPT ); Wed, 23 Dec 2020 16:39:19 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB9A7C061794; Wed, 23 Dec 2020 13:38:38 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id g20so1055370ejb.1; Wed, 23 Dec 2020 13:38:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=8VdsyZ8WvqoPBszTJ/HR859gq7oHB0bgWRAKdYZ//jM=; b=cCyknsDLYzH6ROOxv4AzgykGAnsJYOtpUsnIkuQLbsspXrkorztxIIDQKHRPGEBQE9 Z9RDnI0LsYBiXH8gQqLWeQLsAYOwKiWBZcLDhNoKcpD1fdiuvJxi84nhB6ekwiU6leCo beMQEpklXqOHP+33VzSVeVgNHd7zeQP+z/mQT1zczv6+yxUlEl199A4PEvjszxD1vJPk i0vjAk49knQ/apqhUsvGdWa86CmrAwULMzm7pEZA9o/465X1pB5C4HjGiTq6VLRhRiNm Ff8f1pXylGCG4TLkkwtC9uK6Vr0v1H1QYLDWywVjbLaBWONRvfTV/ajnWuJIlzkIdRMq joSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=8VdsyZ8WvqoPBszTJ/HR859gq7oHB0bgWRAKdYZ//jM=; b=mVgDTIJG8IsO6NvJF4IWSYt+BJXM7ihRRUJZUk57m8ar4OGTSOcVBKSTrJ+4uwpf7e 53sNGdEJHSLJgeB/PrGXRpHwH/UTMIoK8HJD63VGOJF57wh/GD7F70OVAhOPlKoQOCJE Mglj0X/5lnb8sU5kyoPyP2oyyBI5DrSVmLudPZial1r9ySxwvAsRKGtQHygH/tVwFiKU t1wo5u4THULOm0+LsubDhakG1MFmleI/T5KC1Jh82LVQi5l+U50lfahoiyqLc+q8nlwi 1+oUUKLeLRk06SKgIsvcF3J6h2BRqVawbrWpdiXUE58zHiETchYs/Fy9k1yuJGHFswUb 6Ttg== X-Gm-Message-State: AOAM533COrt2+yD77568Mx6kIrki8jqseW6QM9pyWEejZU43dqB3KTXY E6xHdQEEITDmQ4wE8fRwoDP+32m7h6LQDg== X-Received: by 2002:a17:906:3999:: with SMTP id h25mr26096077eje.146.1608759517429; Wed, 23 Dec 2020 13:38:37 -0800 (PST) Received: from localhost.localdomain (ip5f5bfce9.dynamic.kabel-deutschland.de. [95.91.252.233]) by smtp.gmail.com with ESMTPSA id p12sm11896994ejc.116.2020.12.23.13.38.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Dec 2020 13:38:36 -0800 (PST) From: Bean Huo To: alim.akhtar@samsung.com, avri.altman@wdc.com, asutoshd@codeaurora.org, jejb@linux.ibm.com, martin.petersen@oracle.com, stanley.chu@mediatek.com, beanhuo@micron.com, bvanassche@acm.org, tomas.winkler@intel.com, cang@codeaurora.org Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, rjw@rjwysocki.net Subject: [PATCH v1 0/2] two changes of UFS sysfs Date: Wed, 23 Dec 2020 22:38:24 +0100 Message-Id: <20201223213826.20252-1-huobean@gmail.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bean Huo Bean Huo (2): scsi: ufs: Replace sprintf and snprintf with sysfs_emit scsi: ufs: Add handling of the return value of pm_runtime_get_sync() drivers/scsi/ufs/ufs-sysfs.c | 68 +++++++++++++++++++++++++----------- 1 file changed, 47 insertions(+), 21 deletions(-) -- 2.17.1