Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5979819rwb; Sun, 11 Dec 2022 16:39:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf6QEIepmVxQTyKm1Uls8geN/S5sxz68my3qGSRG7oI5qRdiwIUFEkZ4df0YYVLOD/i6lAys X-Received: by 2002:a17:90b:2545:b0:213:113b:9085 with SMTP id nw5-20020a17090b254500b00213113b9085mr14156586pjb.23.1670805594339; Sun, 11 Dec 2022 16:39:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670805594; cv=none; d=google.com; s=arc-20160816; b=LwcXwfnpjMO1HT6Hb3I8OPLkpQKeEDC2DC3Jgwe0YVjt/GLQaKlw5SI+12eshS5we+ z4Veel7dFiaSNtemXuucwwECWM4NSgEVORiTb5wglpxpNCBTUxdpCSzeacYnuKIbvFex MCVVutCtjIJbzXWwFq5p8dQsTi/axF3r47JBJpyrviuIIuhmOzds3U8pMKZcNZkullUG ZekoY6ifjSDCwODChB1Axwte9mPGdojSO/9+4BvWCM9K59hhpRozi6Q0WGBkZTbcPoJc BScG3anLxxZKaf9ycpndmmyorf9MNgEBLTKCu1/tZAGcYB9oiH5ccBMies3GfmFG6+4X Ko0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=FbsJncDF4k/nje7/k7lqGjJdwRQs7s+dB9lApe4/jJg=; b=iq5bRO0+DqrhmQ5zTdiwQARcl6JG4Gqp9xddqgFJj0XCHgxslAn9tw0JzIkLHFRiJt VpZ01LUWhozUptlQfSEKPDK4IUI3Eum/DXTddDMtTURddSuimP2iY4ST3osWkQyMlDog gb61LTmYVBa9XyShso5GgSLcaMNCTWeRPOOVspk6Olap1hZMkm8nKkayr1f/3cBwYHZx daY6ybafsLPjHmPGUdvt4tELfSHGjEtdIf5ZFKeg4XWWu979iNVXhLGsOnGWyB8Owfq8 nHBZ67bBxHNouqGHiQEm+S020z18KsFIsIlOs6gC27pfOhHAONsTsUmUO5egEhyMzm/F Senw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pj1-20020a17090b4f4100b0020a97a92a2fsi8671084pjb.135.2022.12.11.16.39.44; Sun, 11 Dec 2022 16:39:54 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230438AbiLLAMT (ORCPT + 76 others); Sun, 11 Dec 2022 19:12:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230031AbiLLAMP (ORCPT ); Sun, 11 Dec 2022 19:12:15 -0500 Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A8D895BB; Sun, 11 Dec 2022 16:12:14 -0800 (PST) Received: by mail-qv1-f44.google.com with SMTP id o12so7259393qvn.3; Sun, 11 Dec 2022 16:12:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FbsJncDF4k/nje7/k7lqGjJdwRQs7s+dB9lApe4/jJg=; b=T/00l0PhFJvmtdZyqljFQvKDedQi+ga5gWzep07+ajdBSU294HVQvdfptfQ9FEI/b2 3h32K2meJ07KDUGoZYDGRle0eCPg2NwqFCpzV1Fl2vbTyZxkR4bPzWdjLXjg2F8ibOaR n5pK/d6FusDZD9MkRn3YRMSCbsWsGFEH58UK7fFN1ipE6OfgyL2m/y0DguhTBHk1l10F 0cMIvSkNhQoRX3ujIiZkbyCMjVEDkbb91W1C7RgPE7EW28fYxaLKwE0KXeIy4i0v9sGX YksoWKf98vnzi2tCHC0syYd2i93CYXi1PiN1E5OoIGSFyQRri9i3OU01lILtSabDT/fR Sp5g== X-Gm-Message-State: ANoB5pmYfGg72ksytkqmkwoEqL3Pfpm+WWxs3qSDzmET5PtEIcZ3GbQo eLyP81q/I5MfInhBgoR7HhY= X-Received: by 2002:a05:6214:43:b0:4b4:a3d5:17da with SMTP id c3-20020a056214004300b004b4a3d517damr16910109qvr.14.1670803933010; Sun, 11 Dec 2022 16:12:13 -0800 (PST) Received: from [10.205.211.210] ([67.142.235.252]) by smtp.gmail.com with ESMTPSA id bi35-20020a05620a31a300b006faa88ba2b5sm3267251qkb.7.2022.12.11.16.11.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 11 Dec 2022 16:12:12 -0800 (PST) Message-ID: Date: Sun, 11 Dec 2022 16:11:42 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v5 2/4] ufs: core: Remove redundant desc_size variable from hba Content-Language: en-US To: Arthur Simchaev , martin.petersen@oracle.com Cc: beanhuo@micron.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <1670763911-8695-1-git-send-email-Arthur.Simchaev@wdc.com> <1670763911-8695-3-git-send-email-Arthur.Simchaev@wdc.com> From: Bart Van Assche In-Reply-To: <1670763911-8695-3-git-send-email-Arthur.Simchaev@wdc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no 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 12/11/22 05:05, Arthur Simchaev wrote: > Always read the descriptor with QUERY_DESC_MAX_SIZE. > According to the spec, the device returns the actual size Reviewed-by: Bart Van Assche