Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1968147iob; Thu, 19 May 2022 21:01:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVrdHE1yCwzcBYMRe3HOQWbvyov6xFsXAlIgGnsNDN9Qh/PTLBnVsciDBsWBRvgNyD1QlL X-Received: by 2002:aa7:d415:0:b0:42a:bb4d:7deb with SMTP id z21-20020aa7d415000000b0042abb4d7debmr8975963edq.6.1653019272584; Thu, 19 May 2022 21:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653019272; cv=none; d=google.com; s=arc-20160816; b=n2d6efjF+rtnp2h2my20ngHDz4I1oRwqG6firK0L6EZGViWNSKhnnygsbww3mPviWT ZdAxf3gO7YwkT1GKxYhMzcKJ1PiTScEetxcaMbDhuV+aI6T7LWIp5vNe/O9ZFsbya47p v/WcDvf51g4SgcN7yCY4GTMkasi9qPRJslU4bdhG+TrHB6D7yjxMtO+HFCllHs7PKx5Z U3KqZaCPAnzcUdbC/9I3S5R3oOjALR79vmTUg+Ly4HWPdU774yw8+jC1peyi08DCZTZ3 AXl+SJDY54AHLdddla2/uOiGdfVM3bsEhgnzAPHT+kC3DF4RzD3PfL+bxFM3lzZCT7pI wS9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qUf6SntwpxUIUfDhqhudgTCwuMcOgaLEEb6rtV4+Hm8=; b=uEUZF4JjL7esrSrTw6/G/tYUwchm0FCXhmlkLZYBdzIXiiHSpC7qCwnDpgvKinp7z/ d7yVM1iPRQrFXBoQ1avpcZXWSUuzPIX50ANbpNs/5xxkZOeLyVEE427Swzzlx1+FkjZQ Nu3E8JwFmOb4wl6/9tCu77qvznB1nca5ud0lwadw4Y/TxxnQSOQw4Pr0k+eQIo1djvLJ h8KHTNGK0VwEu/SmLPM3LJwGpQ/2R/ZfDpQfYB/cnBoRLM6xRReA/AvBlxBFhUH0guJF qtTx72AGmmKZ52oZevQgH0o6At3yZeThFiMqmYAa01wDryHxgQCjmmQVUS0SX2XI0vfS WTaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=dpLtFLrK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw5-20020a170906478500b006e00f0a2fc0si7558392ejc.818.2022.05.19.21.00.46; Thu, 19 May 2022 21:01:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=dpLtFLrK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344212AbiETBIW (ORCPT + 99 others); Thu, 19 May 2022 21:08:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239760AbiETBIT (ORCPT ); Thu, 19 May 2022 21:08:19 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03BE491566; Thu, 19 May 2022 18:08:17 -0700 (PDT) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24K0Inm9015725; Fri, 20 May 2022 01:08:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=corp-2021-07-09; bh=qUf6SntwpxUIUfDhqhudgTCwuMcOgaLEEb6rtV4+Hm8=; b=dpLtFLrKiGUUfCMSlYip+Xxzfn7aT2jZjR0oVPDP8ZSD5oOy/QlZc934PQJULwfbJEc1 usijH8DGVYWvZHePA2ECcoYJiEWlqBQDWL0hzLjqiH3q7KKWXf+ImkPXe/rRvHFcH9qN RUaYQoDG7MAzZXPeua6QKJ9F/X4fIn5el9afQnS2G2PMaLhUhlfEi95KfT1/PR+JDwm8 /yhyOj79YdYGEyZQUqUj7hZV/U6u2IOiM4fU1meujL3jsD1omMU/gRL6O7sVN5cQtS9Q Iqs8hZYNcjXUsjXQ+mYLGca7RD6EvszgMokkko2zkAr2sUVa4+EgzlI1F6j69EvTqJtX nA== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3g2372612h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 20 May 2022 01:08:10 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 24K15svO027876; Fri, 20 May 2022 01:08:09 GMT Received: from pps.reinject (localhost [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com with ESMTP id 3g22v5yxp2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 20 May 2022 01:08:09 +0000 Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 24K188j0034914; Fri, 20 May 2022 01:08:09 GMT Received: from ca-mkp.mkp.ca.oracle.com (ca-mkp.ca.oracle.com [10.156.108.201]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com with ESMTP id 3g22v5yxn5-1; Fri, 20 May 2022 01:08:08 +0000 From: "Martin K. Petersen" To: avri.altman@wdc.com, Daejun Park , jejb@linux.ibm.com, ALIM AKHTAR , bvanassche@acm.org, beanhuo@micron.com Cc: "Martin K . Petersen" , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH] scsi: ufs: Fix referencing invalid rsp field Date: Thu, 19 May 2022 21:08:06 -0400 Message-Id: <165300887555.11381.15197000918916648694.b4-ty@oracle.com> X-Mailer: git-send-email 2.35.2 In-Reply-To: <252651381.41652940482659.JavaMail.epsvc@epcpadp4> References: <252651381.41652940482659.JavaMail.epsvc@epcpadp4> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: cObOaScLb2VDQvWGfhOcQ4dxieWBDeJl X-Proofpoint-ORIG-GUID: cObOaScLb2VDQvWGfhOcQ4dxieWBDeJl X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 May 2022 15:05:29 +0900, Daejun Park wrote: > This is a patch for fixing referencing sense data when it is invalid. > When the length of the data segment is 0, there is no valid information in > the rsp field, so ufshpb_rsp_upiu() is returned without additional > operation. > > Applied to 5.18/scsi-fixes, thanks! [1/1] scsi: ufs: Fix referencing invalid rsp field https://git.kernel.org/mkp/scsi/c/d5d92b644084 -- Martin K. Petersen Oracle Linux Engineering