From patchwork Wed Sep 29 20:06:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bean Huo X-Patchwork-Id: 12526563 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE268C433F5 for ; Wed, 29 Sep 2021 20:06:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8A903617E1 for ; Wed, 29 Sep 2021 20:06:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346344AbhI2UIg (ORCPT ); Wed, 29 Sep 2021 16:08:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346299AbhI2UIf (ORCPT ); Wed, 29 Sep 2021 16:08:35 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1F52C06161C; Wed, 29 Sep 2021 13:06:53 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id g19-20020a1c9d13000000b003075062d4daso2614856wme.0; Wed, 29 Sep 2021 13:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FuRM31Y4bq6o7rbsG6372Y73WTmoedFCgrX/ztAzv1A=; b=qYR2opfXcO/WFG17iPhnFfCWAZP+YhJ4VzKgq2TJMODP3aROIPPXwklqLrwjidycD5 vUxTo/7NW2SETFT4fI8ANUVBNxASecFiUlXifFek55pO/qyjfLRssAjjr6NUlN5/MLq0 J5WzGVUToeaX+Zv8u9SuVs9/GqAk+NaSCtkSul/nfiStKr+Of/yb9lp9BUWAejlariAR jLZSUw7v+zuZ6g/lx4aTQxC60HnGwf0zDDctg3EBKPs24Vj80ZxbU4OwUnLIJBrMf6Ro cY1tYAfO9R7fhY9dhR008SMGpygrHZXOXfUVvQYo0BXWB6D0OcCN8b2uVTHnvZL83kIL R7Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FuRM31Y4bq6o7rbsG6372Y73WTmoedFCgrX/ztAzv1A=; b=ypKGvVB7wzKOjhbt0DFvCnpnSGsNlYiwMTUeLweOFsVB1TVC5FD98y4+zvNBzYGEpD nrjl+nTL/f6FtuBiroTKe/G5OBbbTD31B8fn6KyUra/FpknuUsFI9qiv0SkOdh3uQEJi 67lpyWsqbZzKchkuq1/EEIx77t95gnNe8zJXODODV8KaQKBFnA6iSbNngUsZKeCeFsby zqaytEdOV21fAlt16PAdXIaOE9kJ8JLRyP95AWteLnkNKvNsCwDxEPC2Bk+yG5nYoDCw OLf9lhrobVf+Qbn5+3gb3GH/VIfgTrD9OqVbms/DOfTqgS6aafG5WXZSauMaT/hG3MjQ jsWg== X-Gm-Message-State: AOAM533AG+rBT3GodId6ZTRTLLMQdHSNCGDy/X6jBOvZ1rO6+/NHYXHK thdIyDW67JgdcmaL7RJ2+zg= X-Google-Smtp-Source: ABdhPJy98tW5mj9fxHZ/i3jm2JmvFOLFQlTxIvMv6CsXNpvFirTWZJ7ZmiVvJnyDAH8JPQkde6xRkA== X-Received: by 2002:a1c:a70d:: with SMTP id q13mr1663799wme.148.1632946012074; Wed, 29 Sep 2021 13:06:52 -0700 (PDT) Received: from ubuntu-laptop.speedport.ip (p200300e94717cf3fe089f40c55d147be.dip0.t-ipconnect.de. [2003:e9:4717:cf3f:e089:f40c:55d1:47be]) by smtp.gmail.com with ESMTPSA id l17sm910405wrx.24.2021.09.29.13.06.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Sep 2021 13:06:51 -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, daejun7.park@samsung.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/3] scsi: ufs: ufshpb: Fix NULL pointer dereference Date: Wed, 29 Sep 2021 22:06:38 +0200 Message-Id: <20210929200640.828611-2-huobean@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210929200640.828611-1-huobean@gmail.com> References: <20210929200640.828611-1-huobean@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org From: Bean Huo Before ufshcd_scsi_add_wlus() is executed, call ufshcd_rpm_{get/put}_sync(), "Null pointer dereference" issue will be triggered. Because hba->sdev_ufs_device is initialized in ufshcd_scsi_add_wlus() later. Unable to handle kernel NULL pointer dereference at virtual address 0000000000000348 Mem abort info: ESR = 0x96000004 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x04: level 0 translation fault Data abort info: ISV = 0, ISS = 0x00000004 CM = 0, WnR = 0 [0000000000000348] user address but active_mm is swapper Internal error: Oops: 96000004 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 91 Comm: kworker/u16:1 Not tainted 5.15.0-rc1-beanhuo-linaro-1423 Hardware name: MicronRB (DT) Workqueue: events_unbound async_run_entry_fn pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : pm_runtime_drop_link+0x128/0x338 lr : ufshpb_get_dev_info+0x8c/0x148 sp : ffff800012573c10 x29: ffff800012573c10 x28: 0000000000000000 x27: 0000000000000003 x26: ffff000001d21298 x25: 000000005abcea60 x24: ffff800011d89000 x23: 0000000000000001 x22: ffff000001d21880 x21: ffff000001ec9300 x20: 0000000000000004 x19: 0000000000000198 x18: ffffffffffffffff x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000041400 x14: 5eee00201100200a x13: 000000000000bb03 x12: 0000000000000000 x11: 0000000000000100 x10: 0200000000000000 x9 : bb0000021a162c01 x8 : 0302010021021003 x7 : 0000000000000000 x6 : ffff800012573af0 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000200 x2 : 0000000000000348 x1 : 0000000000000348 x0 : ffff80001095308c Call trace: pm_runtime_drop_link+0x128/0x338 ufshpb_get_dev_info+0x8c/0x148 ufshcd_probe_hba+0xda0/0x11b8 ufshcd_async_scan+0x34/0x330 async_run_entry_fn+0x38/0x180 process_one_work+0x1f4/0x498 worker_thread+0x48/0x480 kthread+0x140/0x158 ret_from_fork+0x10/0x20 Code: 88027c01 35ffffa2 17fff6c4 f9800051 (885f7c40) ---[ end trace 2ba541335f595c95 ] Since ufshpb_get_dev_info() is only called in asynchronous execution ufshcd_async_scan(), and before ufshpb_get_dev_info(), pm_runtime_get_sync() has been called: ... /* Hold auto suspend until async scan completes */ pm_runtime_get_sync(dev); atomic_set(&hba->scsi_block_reqs_cnt, 0); ... ufshcd_async_scan() ufshcd_probe_hba(hba, true); ufshcd_device_params_init(hba); ufshpb_get_dev_info(); ... pm_runtime_put_sync(hba->dev); Remove ufshcd_rpm_{get/put}_sync() from ufshpb_get_dev_info(), fix this issue. Fixes: 351b3a849ac7 ("scsi: ufs: ufshpb: Use proper power management API") Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshpb.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/scsi/ufs/ufshpb.c b/drivers/scsi/ufs/ufshpb.c index 9ea639bf6a59..33a38c06a296 100644 --- a/drivers/scsi/ufs/ufshpb.c +++ b/drivers/scsi/ufs/ufshpb.c @@ -2877,11 +2877,8 @@ void ufshpb_get_dev_info(struct ufs_hba *hba, u8 *desc_buf) if (version == HPB_SUPPORT_LEGACY_VERSION) hpb_dev_info->is_legacy = true; - ufshcd_rpm_get_sync(hba); ret = ufshcd_query_attr_retry(hba, UPIU_QUERY_OPCODE_READ_ATTR, QUERY_ATTR_IDN_MAX_HPB_SINGLE_CMD, 0, 0, &max_hpb_single_cmd); - ufshcd_rpm_put_sync(hba); - if (ret) dev_err(hba->dev, "%s: idn: read max size of single hpb cmd query request failed", __func__); From patchwork Wed Sep 29 20:06:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bean Huo X-Patchwork-Id: 12526565 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3D27C433F5 for ; Wed, 29 Sep 2021 20:06:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DAD23617E2 for ; Wed, 29 Sep 2021 20:06:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346403AbhI2UIi (ORCPT ); Wed, 29 Sep 2021 16:08:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343734AbhI2UIf (ORCPT ); Wed, 29 Sep 2021 16:08:35 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62119C061764; Wed, 29 Sep 2021 13:06:54 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id r11-20020a1c440b000000b0030cf0f01fbaso444400wma.1; Wed, 29 Sep 2021 13:06:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FwkJdXsI7IzjoquXlpaui4J2QaNI2ndlY8EwvfeAJrM=; b=BmTHcwuazyF6LMZt19VRsHrls7PX09o0uAA81CBBPAGvzOQVKfgmq2y5miJcL8b6JG LynWi59kn3Xd0nYHmZCjK+QSg5Qi5aIhPg+BqRgDVO1GeVxRlxxgJJqn47yQwlH4j0la CAN6cuLuqvjWKsbggOkgq6gBp2zvp/dzDUeTkLWyEDi1GuUhmAEoHQRRjVuZAoiNMWsk N8sWxYH+bItswJplqIv1wVRAYOF59D0BlbIlMv8C2K2+U6gg3uPPET2UY+tTBAEI7aX+ BGxdK8oYDnWOSXTS0qJdaLmykdImVjGo05tFpB0ETWLKHn+SsESUxNetsebbzWUgKS6V B68g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FwkJdXsI7IzjoquXlpaui4J2QaNI2ndlY8EwvfeAJrM=; b=kvnrXEndB4vMJE3yK1VNhkYcwb+SR7bZDMSVGe8OeJ7f2g6EhIF340uXVxbk3/Ln1+ QYan2gZS5I2pA7srHvKMF+YKuThh+uqZdqUlECguS6LvBkaywNbgjS++kAnUuIUc5CDC ljnZrIkSarSAVAmEkKP/DUHgb/7/8TG1NlykEa+zA2UyIK+COZy/uuG7DETlIXRsffIO gDsfmK/aC/q0fE07XrBwPQjLuSGt+SvNrm5n1CmR+xGiVfrKWIQC3opBEHL6MIRl30p1 oAgsQgbAXPTUxNfLeNDBMWezyLrw6wUnv/DP6qeEwfeHg+pGP1tKwl5XaQvAsNVzSmri ZsXw== X-Gm-Message-State: AOAM532dXLzBo0/EHBx+PUAS8o5BFXugPUGto7qOFUN4iAQrZN4NPKXg bfrn4G7vaT1KIHbc3qRA9pk= X-Google-Smtp-Source: ABdhPJxj8ZzLJLOOm8XxXteieqMFU35eNpbQf2yI9uVErzSGQKBHyaRTL1Iq829t9eBVGA1jq4tJNQ== X-Received: by 2002:a1c:2289:: with SMTP id i131mr12225500wmi.34.1632946013071; Wed, 29 Sep 2021 13:06:53 -0700 (PDT) Received: from ubuntu-laptop.speedport.ip (p200300e94717cf3fe089f40c55d147be.dip0.t-ipconnect.de. [2003:e9:4717:cf3f:e089:f40c:55d1:47be]) by smtp.gmail.com with ESMTPSA id l17sm910405wrx.24.2021.09.29.13.06.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Sep 2021 13:06:52 -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, daejun7.park@samsung.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/3] scsi: ufs: core: fix ufshcd_probe_hba() prototype to match the definition Date: Wed, 29 Sep 2021 22:06:39 +0200 Message-Id: <20210929200640.828611-3-huobean@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210929200640.828611-1-huobean@gmail.com> References: <20210929200640.828611-1-huobean@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org From: Bean Huo Since commit 568dd9959611 ("scsi: ufs: Rename the second ufshcd_probe_hba() argument"), the second ufshcd_probe_hba() argument has been changed to init_dev_params. Fixes: 568dd9959611 ("scsi: ufs: Rename the second ufshcd_probe_hba() argument") Signed-off-by: Bean Huo Reviewed-by: Bart Van Assche --- drivers/scsi/ufs/ufshcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index debef631c89a..081092418e2d 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -225,7 +225,7 @@ static int ufshcd_eh_host_reset_handler(struct scsi_cmnd *cmd); static int ufshcd_clear_tm_cmd(struct ufs_hba *hba, int tag); static void ufshcd_hba_exit(struct ufs_hba *hba); static int ufshcd_clear_ua_wluns(struct ufs_hba *hba); -static int ufshcd_probe_hba(struct ufs_hba *hba, bool async); +static int ufshcd_probe_hba(struct ufs_hba *hba, bool init_dev_params); static int ufshcd_setup_clocks(struct ufs_hba *hba, bool on); static int ufshcd_uic_hibern8_enter(struct ufs_hba *hba); static inline void ufshcd_add_delay_before_dme_cmd(struct ufs_hba *hba); From patchwork Wed Sep 29 20:06:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bean Huo X-Patchwork-Id: 12526567 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 381D2C433EF for ; Wed, 29 Sep 2021 20:07:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1038161262 for ; Wed, 29 Sep 2021 20:07:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346524AbhI2UIq (ORCPT ); Wed, 29 Sep 2021 16:08:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346376AbhI2UIh (ORCPT ); Wed, 29 Sep 2021 16:08:37 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69AC0C061765; Wed, 29 Sep 2021 13:06:55 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id g19-20020a1c9d13000000b003075062d4daso2614909wme.0; Wed, 29 Sep 2021 13:06:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ILAT+2o+6gqhrlieIGJMKpWSNQBv8ibrXFHSWep9zww=; b=kkXwZ4tuBzkPLfkam+0iYfk/xFCF4zYV05sN0zvCBctbewdth5CnvCTTby4fdt/Cpb MYDNJxpx6oFgBw8BQZ6uGEgHYwN7K61Abvo6dYoRscpx0msKVFq3k5a2m1Fhhx4bg8LK FahAm/Hf2bEE3mT18vzRDnklNvzIbr/bgnRLDH4zZxAcN4UBn5mIiKL8LJHM091EdxnU oU9qOWQa5AAM3NL0la97yrek5LbvSmLUvyFuq460YB8RoeY0cBPt9RMVtfE+pB0Lwu1R y0PR4uB4CHEbNIZh1a2lFs0andfWLi9lWCUoqojfBTTeYaKivU6U5ihOf7i/OvXhdS2l cosw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ILAT+2o+6gqhrlieIGJMKpWSNQBv8ibrXFHSWep9zww=; b=bEKlfluTzHebKFaZaYh31FoOiaPFtU0+C1snNB/3mG6tLGYeFN3fC+85IBpYxuyuMa Bc5SQI+GkaR1jpFSmiXKM6B5weoUuVUBadNCmD3CVWFR9/dAmteV379+UUXgcdHc1irL TrE5GYL/bNTy6NGbP/ANeckZDUd/qivzXoMMIYwPvBcQLtB1t7RsSJqFpt+UIt6+uxzJ JJZ9PFCuZJj2ZW9pvVUF6Iq68kY/wo9P59paDik8SMFJELuEnwvYzS3eiwSkgRmOj3no iCGxYWxJCzJkJotpmFqefYkD/jRo39fvp2YAx49fmon42LaZN9syHeLgefmdp5VLuGyJ rgAg== X-Gm-Message-State: AOAM532qg+HLZTPDCp3Er97b1jgi3+rWUYLwMRTJkcbsnCpyyjUdLHlr 3OYz+6ewGFn6DTPw0yKlweo= X-Google-Smtp-Source: ABdhPJxad1BhmREousWctVnLaSaz9jijKR1eS00B42zCGUmdZ4M38z35GD5DZM4XLIA7QAJE9ewOZA== X-Received: by 2002:a1c:1d13:: with SMTP id d19mr1892206wmd.89.1632946014130; Wed, 29 Sep 2021 13:06:54 -0700 (PDT) Received: from ubuntu-laptop.speedport.ip (p200300e94717cf3fe089f40c55d147be.dip0.t-ipconnect.de. [2003:e9:4717:cf3f:e089:f40c:55d1:47be]) by smtp.gmail.com with ESMTPSA id l17sm910405wrx.24.2021.09.29.13.06.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Sep 2021 13:06:53 -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, daejun7.park@samsung.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 3/3] scsi: ufs: core: Remove return statement in void function Date: Wed, 29 Sep 2021 22:06:40 +0200 Message-Id: <20210929200640.828611-4-huobean@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210929200640.828611-1-huobean@gmail.com> References: <20210929200640.828611-1-huobean@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org From: Bean Huo return statement is not useful at the end of "void" function. Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshcd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 081092418e2d..2f0366c3cbf8 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -5845,7 +5845,6 @@ static void ufshcd_exception_event_handler(struct work_struct *work) ufs_debugfs_exception_event(hba, status); out: ufshcd_scsi_unblock_requests(hba); - return; } /* Complete requests that have door-bell cleared */