Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp516427pxa; Wed, 12 Aug 2020 07:39:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJkA4/41CqNFUgLbRtm9UA0oXFIa641HK6Dtreldkq8CwHEta4jpsKdz2ERrCodH08fieW X-Received: by 2002:a17:906:1c84:: with SMTP id g4mr84519ejh.59.1597243159774; Wed, 12 Aug 2020 07:39:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597243159; cv=none; d=google.com; s=arc-20160816; b=eDSXDg2T02pNqDgbO89SWqrYN8PelN6i+WAdNjl6+pQ6nefSntMBvD8WvUr3qo6m6J MldOcgZTeM0ZCAL+ZCB4Ag74//6YSCoLMxuKXe4SyMQtJzEqxhJlUZvomo+CL2s+Dsdi ouhF203YO+vH0uWWbKnUYouD4lEuSSfOioau8EjQGIsDrDP59jXjgoxU/0gPPBJeBYZ3 fcUO6pG+HeKSa2sVq9tC/fg54W1OFppuxB3i1iu26vRz3KKfVFATjXicgBqrBo/+VfnQ 0TALUngnTsjB47wazMfu/aqz2pG5ZniVA4Po22qZCK2WmLVJqFsrgK5EfwanNqNKkpLE KHgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=eMsBZ/mNa/JxQKyQPdcReQp5+OXk8qYiQBle2FaJYWE=; b=TwvjaHTmgDeHdrvUcG2H24FYf9tHwnOCdE2gfdSfi7BmR20ZNdX2Vr1sSC2ZK8t0Qq MFLWmBaxaMOwREYSuhhO6XFKpmMr8UEXcTpeRUcaWPDbLQeH99idd0iY2KG6JymhvBr4 wD73aOoehqWA+rgStuYkoY6ZSvAnTmqP3TD0wGz5VFy8XV0EZyQMN4zihacBykqmW9xU yTx376sz/irYNQs6G8LPXE62Dpp5n7XKNQowGiUkp1SSeX6ZbJScpavmBoTnKSBwibRX XLjcUR8t6PBrcu2z/DJVfTINWCPv9/zcG6P5F/DLvr+6lEg8ZPjc0cve54GJLJ2TD3FR w0Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=a7Xs8eiL; 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 b2si1410607edy.370.2020.08.12.07.38.56; Wed, 12 Aug 2020 07:39:19 -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=@gmail.com header.s=20161025 header.b=a7Xs8eiL; 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 S1726546AbgHLOhR (ORCPT + 99 others); Wed, 12 Aug 2020 10:37:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726434AbgHLOhQ (ORCPT ); Wed, 12 Aug 2020 10:37:16 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C326AC061383; Wed, 12 Aug 2020 07:37:15 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id kq25so2525061ejb.3; Wed, 12 Aug 2020 07:37:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=eMsBZ/mNa/JxQKyQPdcReQp5+OXk8qYiQBle2FaJYWE=; b=a7Xs8eiL9sQb5S+77grjIRHd+2a3QftR5KKYmOk2cEtBdF2hASeNP8VstAOIdPNi6o a7LqDbYU+vFa+DQUeowupLv/W+x59t6uSIT0K8RFVH/ctwL19S2kwZvBpnkcSjhqGOdf k00K5tsQEUN/6NArTteoAvVMZ6OlzMGsiOE3A/K4SlENEq3IDmUQJ/gifZQQBkypYERu anbnaetgf33tJG4umNIvfu/+nAISsUXYOIO2g8SpsaxXUDlpXF8hZSkInHpzbAExoBAT LsYTvRMnE47SXc1O8WwLBe9BbhycGbXP73A5f/grL9cIkkYbbQGgUizfGN6ct+Y0tMO2 1zuA== 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=eMsBZ/mNa/JxQKyQPdcReQp5+OXk8qYiQBle2FaJYWE=; b=g8VRAwaAsMyrWpUYDcnvLLC7PsRuH+jmNTAPVZWM7xzL2CBt5GVu3fMD7ogxBA0tGe 0ZhxIlj0tV1pPJuQij/mlrNIbcwydsA0DWPD77meSB+gVxF8aOSmnFtjaDrJov6jvkpa NQ3GA3y6dURhYiueXvUROJNCZFYDDFAj7r8IDExmML/2LGIImQtvuM7TcHXileFBayND zx9AAdXbuGt39vmuZ51Pt/I9FCjECirWqgXKkf8Vu1moBuYo0pPiEmdrnLjiYKkpwcrC M8341bxP0bt7Dq7u1KQ2smgClY8NTCSFIncQ8F+/S+iw2jufM2H8XVLnxoaAp/SG+XAb WNKA== X-Gm-Message-State: AOAM530MVTPzWUBoNm25KUHUMUoLFJojOp2p+Vd7GSyAo3kEHglS8RtR efyAfcBdStMGo/Gt6uFEXexJFfiB X-Received: by 2002:a17:906:2f17:: with SMTP id v23mr55947eji.343.1597243034601; Wed, 12 Aug 2020 07:37:14 -0700 (PDT) Received: from localhost.localdomain ([2a01:598:b90f:8e5c:44c:d55b:5f94:2fc4]) by smtp.gmail.com with ESMTPSA id d20sm1661179ejj.10.2020.08.12.07.37.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Aug 2020 07:37:14 -0700 (PDT) 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 Subject: [PATCH v2 0/2] make UFS dev_cmd more readable Date: Wed, 12 Aug 2020 16:37:02 +0200 Message-Id: <20200812143704.30245-1-huobean@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bean Huo Changelog: v1 - v2: 1. remove original patch scsi: ufs: differentiate dev_cmd trace message 2. add new patch scsi: ufs: remove several redundant goto statements Bean Huo (2): scsi: ufs: change ufshcd_comp_devman_upiu() to ufshcd_compose_devman_upiu() scsi: ufs: remove several redundant goto statements drivers/scsi/ufs/ufshcd.c | 33 +++++++++------------------------ 1 file changed, 9 insertions(+), 24 deletions(-) -- 2.17.1