Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5477178rwb; Mon, 14 Nov 2022 05:22:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Jo8Ze14zeYhfT6icOyc+QFiGvxgPGMzcCWYnOn7+83SEhAtPb+Sey5oyrSWubt4qtDuAz X-Received: by 2002:a17:902:6a8a:b0:188:ad33:23c with SMTP id n10-20020a1709026a8a00b00188ad33023cmr12516365plk.108.1668432125042; Mon, 14 Nov 2022 05:22:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668432125; cv=none; d=google.com; s=arc-20160816; b=UD86lVIAF4f55r8OTy2HJmMnjdhmT+Xa9xh3HotnHF14NtfHomPG03dsFUMOEp//WQ AdK4lBooyloyNHW4iTIseAudwaBuM6snIuMbETk7P2bMJAH/85HjFD1ZDqjRIBG1780x wBpVsWY8N2VYVYhqTbjCNVhKpAQ2Qt+hNGiySuWo41bydD1Pt55/wxUwCn7OjHx8DRTx V6lPfbIliOQZs36IMRW9vx6O76opN+/7ZQgH8uzcdDhTOHRqzbDK0+E99Zlg/USGQcxg 8TxwsP7WX98XrrOmKsehaodUdEZO7uJPIUE3v+9qS+127SFvc1OZyFVMMQ6DHhG7Sc1B Xw/w== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Kyboqkdwv0OhgycEnHtFn4SdfDb9/t65Yq5Z3sJmWv8=; b=HoKMog2Usk4xzAnp7kw33ruTMbYu4C5f8UiBZ86QHDquZH2PC8MtvfSRAwZCLEd+P4 uLbrrmbeVPjR9pc+whYk9mP0ZKvhmFiAy84lHwKlW9NZzC4tZEbLYwE82RUxDIS5tVfd f++jRRb2mM79nKXHK5AxrSaQUFgmbXiEsT2Ws7B7HZHQWRUdNRC3/ijqiQsZcTuZLbLl dJ/zAap5lSYossK/e/pmsQnHC/WUSjSM5x7bmExuS+nOEBiXvByqJFmVKWbs1XmCyh7z Qx/s9aGFhONrFJhFd95WhAtx2X85SLFqN8qOzSBVtAVESfScLE/n6Jfcx53ahKR4G2o2 G0Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=BacPVNdu; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b3-20020a17090a6e0300b0021616a303b8si7355684pjk.83.2022.11.14.05.21.52; Mon, 14 Nov 2022 05:22:05 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=BacPVNdu; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237084AbiKNMTg (ORCPT + 89 others); Mon, 14 Nov 2022 07:19:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237055AbiKNMTc (ORCPT ); Mon, 14 Nov 2022 07:19:32 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAA4621E; Mon, 14 Nov 2022 04:19:31 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id k2so27886572ejr.2; Mon, 14 Nov 2022 04:19:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Kyboqkdwv0OhgycEnHtFn4SdfDb9/t65Yq5Z3sJmWv8=; b=BacPVNduzXzHiWNKDcrUSJ/GNskhguM7M9Qw6d8zFSxyDyDJkS8FxJKfixfW940QBV iVlVX60z3GHCuGxE1WLxHgROt6hxHqqewxyye4P8cU1azburAv9CpxWbDA8MLz/DO1Yq ExRc4gSjjK19F4/+L2wtG4e/Sn6MzfcP7bHM4N/lmClTlxYwZ19YqY9aM8P+VjatBZbg 48zwZlEN9WFO75tGUDi1CdQh/2FSX8F+D27H2I9MeXBq4HeJCXGy52XVRt7zTlm84Rod ktGcSu3thGkDyJB55CtqILvHvgkvSWjbHnADHQb4Lr56gesZXTWPXLe0XV8ANuVqrRmQ sL+w== 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:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Kyboqkdwv0OhgycEnHtFn4SdfDb9/t65Yq5Z3sJmWv8=; b=E3ReYZf4I2tEEKONmJTWdqC3vBKfngU6cKIIt3yxseBVehFDm297ut+duXxZZ+grPa NLbwf/VPlGsfxqYWhYZDYhKnPLPSBmquYxhgoGxgD1xOOwEDdbtRqJr33LZQDGBMwUhb LsxADRFFSVEr4nnRLt2pc7oNmWxI1VC5kG0aIoGFdc8ouEKlD5ea3rt5V9MgEQG4yk9K ffubB2evXh41cGt59voMa7UrHQhc8m/3lkov+tbh1smsmopbgcXm4qWh14VYUpKsxN+h cd5Kkg72P/Zeq6AOXj8eI+UlHBAbE2mwLUS0GeqlZh1H/Y8SdH0h2K5CqrvPLG4UxOPo YcjA== X-Gm-Message-State: ANoB5plRhFbYtSv+5ssU+MhhL3INy6OfhBkQ4Q3t3rc8rPI0EnddHnXE 7YcQ03eDOiE6bxxeTTRHOp4= X-Received: by 2002:a17:906:7c8d:b0:7af:1233:948d with SMTP id w13-20020a1709067c8d00b007af1233948dmr869528ejo.698.1668428370400; Mon, 14 Nov 2022 04:19:30 -0800 (PST) Received: from [10.176.235.173] ([137.201.254.41]) by smtp.gmail.com with ESMTPSA id o9-20020a170906768900b0078df26efb7dsm4083201ejm.107.2022.11.14.04.19.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Nov 2022 04:19:29 -0800 (PST) Message-ID: <4e205f57-673f-bd7b-1c04-5f3c8db0b054@gmail.com> Date: Mon, 14 Nov 2022 13:19:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v2 3/4] ufs: core: Remove len parameter from ufshcd_set_active_icc_lvl To: Arthur Simchaev , martin.petersen@oracle.com Cc: beanhuo@micron.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <1667399353-10228-1-git-send-email-Arthur.Simchaev@wdc.com> <1667399353-10228-4-git-send-email-Arthur.Simchaev@wdc.com> Content-Language: en-US From: Bean Huo In-Reply-To: <1667399353-10228-4-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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Arthur, On 02.11.22 3:29 PM, Arthur Simchaev wrote: > diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c > index aa46292..9cc3abd 100644 > --- a/drivers/ufs/core/ufshcd.c > +++ b/drivers/ufs/core/ufshcd.c > @@ -7386,7 +7386,7 @@ static u32 ufshcd_get_max_icc_level(int sup_curr_uA, u32 start_scan, > * Returns calculated ICC level > */ > static u32 ufshcd_find_max_sup_active_icc_level(struct ufs_hba *hba, > - const u8 *desc_buf, int len) > + const u8 *desc_buf) 'len' description of 'ufshcd_find_max_sup_active_icc_level()' should be removed as well. Kind regards, Bean