Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp124959ybg; Mon, 8 Jun 2020 18:18:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbBz17vPkI6IbHPOhI6Ng/oSvIquGRfwqDjhRK2ENHy5XVFJcs8SFQjkaJjGEotfS8yuI5 X-Received: by 2002:aa7:dc4e:: with SMTP id g14mr24151338edu.346.1591665539724; Mon, 08 Jun 2020 18:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591665539; cv=none; d=google.com; s=arc-20160816; b=eiLELtltCeVwGC10pRZcgTc1XOt8RHd5QJ2JpyoMd2wOHLoxG1cOq14pyuH4j/Yjr3 xPGyMg/i/eXd4DBc2yluQgAcHHGMGEdluiAtX0l+FDica7W8koqT2RngAneGaToI8oHZ 7s3vZrUzmr9XZ6inda4AFojMbxIM1tnSt41k7eY6kRr0GW0EnC7rISOuSNnAc65u8jFD VjnqT6YrIDWmTLQYXCFTWVVQaWCehX72dZBhjJp3voRaub2IyTgQ+hnZIDaBER3200Gp DmDvqO0FqW9a608Jxl/vuMjKtEHeZVlaOHVo/0yTzPwRim524aY7+S79PzsKer+2seH0 qcZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject; bh=VJx+ai5rJx6AVd1EhExoPYJWsUcdY4VOIKvvMPbs6xQ=; b=WN1YCEuNs2WTQnKE21S10F34egvwTSAHql7oNe+jWloS3yIDxY27ORufczFoDrbxSx 7G3mRwCPh8/VWIf/AAGaikgnNCY3OGe/JqTQOuch4zG7yJOSW2hUcCrXIg7OyyD1PTjo kM+m6/qZurdRa+/2qCG6UH3BJtWuzLIQf+BDwjhVdygIuaj1+V3Hnuk728QQQYlnq/1r CwZndXo7wsACUfDo7gnvtIUsPL9eYMTfv2W3LyNDFCUWeb0V6rvYa1RE16mgoJkgKia+ WU1SPc8zwJwyTxtoroIYNSoH/MhTlAzmVoZob6zv/0kFY8QSID1jFZD/U9JYHH53FyQZ d6Gw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o12si9227086edr.155.2020.06.08.18.18.36; Mon, 08 Jun 2020 18:18:59 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728191AbgFIBPZ (ORCPT + 99 others); Mon, 8 Jun 2020 21:15:25 -0400 Received: from mail-pj1-f67.google.com ([209.85.216.67]:39638 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727930AbgFIBPS (ORCPT ); Mon, 8 Jun 2020 21:15:18 -0400 Received: by mail-pj1-f67.google.com with SMTP id h95so626221pje.4; Mon, 08 Jun 2020 18:15:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=VJx+ai5rJx6AVd1EhExoPYJWsUcdY4VOIKvvMPbs6xQ=; b=Ly03LunStsL5+TLmuQrlqDlzpULngjZdo/ppfvlptKaBNsAi3Q2cNUnkWqBHQI+VtE zKV1PrMMa0PEnw7dPOqcy3DmJla+lEP1dg9xFYCsMEaC4ADqnbtZjOsTYzRb/68yLVeo TeUrI37f6Uj4o0QTBDteE0SqmopKvgWktBPo5hQctSSXuF9SD2Fbn9Nb3m0EW5pYuhgo N2jLNaCn3C4ilpc5nKv4Dhl453jHnqwlNaW8cBkEVWClrLTjyJ6sxGtiD+gGbrQr/hSE oVEECfbLD5PLqbnsPDanLL2xKMXG2KvLK3vDg1JM3s3ug2mZkrOssrNr8M26kb8hJork 8Uxg== X-Gm-Message-State: AOAM530ShUSFWl6rmFQ4WH3FwM4Et3jBe+EKOmV6N2ofxC807EW1446E gyJh8YcjHys1GF8Zf3I+bC0= X-Received: by 2002:a17:90a:3608:: with SMTP id s8mr1907958pjb.167.1591665317520; Mon, 08 Jun 2020 18:15:17 -0700 (PDT) Received: from [192.168.50.147] (c-73-241-217-19.hsd1.ca.comcast.net. [73.241.217.19]) by smtp.gmail.com with ESMTPSA id np5sm649345pjb.43.2020.06.08.18.15.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Jun 2020 18:15:16 -0700 (PDT) Subject: Re: [RFC PATCH 4/5] scsi: ufs: L2P map management for HPB read To: Avri Altman , "daejun7.park@samsung.com" , ALIM AKHTAR , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "asutoshd@codeaurora.org" , "beanhuo@micron.com" , "stanley.chu@mediatek.com" , "cang@codeaurora.org" , "tomas.winkler@intel.com" Cc: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Sang-yoon Oh , Sung-Jun Park , yongmyung lee , Jinyoung CHOI , Adel Choi , BoRam Shin References: <231786897.01591322101492.JavaMail.epsvc@epcpadp1> <336371513.41591320902369.JavaMail.epsvc@epcpadp1> <963815509.21591320301642.JavaMail.epsvc@epcpadp1> <231786897.01591320001492.JavaMail.epsvc@epcpadp1> <963815509.21591323002276.JavaMail.epsvc@epcpadp1> From: Bart Van Assche Autocrypt: addr=bvanassche@acm.org; prefer-encrypt=mutual; keydata= mQENBFSOu4oBCADcRWxVUvkkvRmmwTwIjIJvZOu6wNm+dz5AF4z0FHW2KN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UmHYhpS+W6CiZ3ZMxjO8Hgc ++w1mLeRUvda3i4/U8wDT3SWuHcB3DWlcppECLkAEQEAAYkBHwQYAQIACQUCVI67igIbDAAK CRBxXD01xc4QCZ4dB/0QrnEasxjM0PGeXK5hcZMT9Eo998alUfn5XU0RQDYdwp6/kMEXMdmT oH0F0xB3SQ8WVSXA9rrc4EBvZruWQ+5/zjVrhhfUAx12CzL4oQ9Ro2k45daYaonKTANYG22y //x8dLe2Fv1By4SKGhmzwH87uXxbTJAUxiWIi1np0z3/RDnoVyfmfbbL1DY7zf2hYXLLzsJR mSsED/1nlJ9Oq5fALdNEPgDyPUerqHxcmIub+pF0AzJoYHK5punqpqfGmqPbjxrJLPJfHVKy goMj5DlBMoYqEgpbwdUYkH6QdizJJCur4icy8GUNbisFYABeoJ91pnD4IGei3MTdvINSZI5e Message-ID: <03c44832-57e2-d4c4-ece2-06b59bec550f@acm.org> Date: Mon, 8 Jun 2020 18:15:15 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-06-06 11:26, Avri Altman wrote: >> + data_seg_len = be32_to_cpu(lrbp->ucd_rsp_ptr->header.dword_2) >> + & MASK_RSP_UPIU_DATA_SEG_LEN; > get_unaligned instead of be32_to_cpu ? Since sparse checks that the argument of be32_to_cpu() has type __be32 and since no such check is performed for get_unaligned_*(), please keep the be32_to_cpu(). Thanks, Bart.