Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1356933rdb; Wed, 6 Dec 2023 17:06:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IGN9ud3PA3rvIZNlopN5027u0ioPDmho273kEGRxzd6cJU7bQjR1owU6y2jBFW0Q4L1DQ0V X-Received: by 2002:a05:6358:889:b0:170:6c3d:34f5 with SMTP id m9-20020a056358088900b001706c3d34f5mr1303550rwj.20.1701911203062; Wed, 06 Dec 2023 17:06:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701911203; cv=none; d=google.com; s=arc-20160816; b=V3kxihbcT4W4SaWDtSCV3q+NsDvC3lKMsgL1F49xB4G/1QHseFj3X4wwkrs0NGwV3b 7abjo88wHPoPqe49WfP4dvopesvdWHoVj8T9QD16rA01k8r7cXe5s8kCVdYw+wmb9vsw Ka8UEMrh+ydWdobOy0SFh1s+l4Sywd8KNbjI2p8n3lJ7nouosc/kkxjYEkRnfaRgeA5k jg+7vkAMVhDKA1RNDn/SxQBBf315aHa1wHw/Kf66nfWG7xgJ0YPmVXWhQnkJBwkm+tJO ji2IBuLFySHZ3bw/W5UFUbgxBhtbnJFk5+hNU2WckhFwxuz59NnNVPzHTasmMTMPnPF7 /Rmg== 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=uLC9SHWP9HzPPTfguvi7eCiTglb7l56HPdmyFvz6QMA=; fh=qi9/wpji/mZVl+fJBa7xpCh+cxy9yY0joETAXXq6Ugw=; b=uIsrsu16HabWjlF+P7XQIXStCxe1Xys/POAhHEPXNa8uTBQcLBPaBSD0ODFNfqnR3w jqrZEPK8QRM2J9C6gZSfCin2SeB9Uf/LWWuxvEEk22LnUwUAeloVnY53QiA1abcm/Me4 vYgW2PuKvERPJsZeBgguawktrccma/WszHDQB3RJukpCclSZg+YcmYLVEIRFWKfCNeRq stZXmyQP40VVQx3H3CKicpOknWW+Q1IuWrlrdc8VjBBLBcvM7KL8ISAFXYfbAhcgfmTA mj88DjVpVhcOUrdnCgRMDPLIrjZaWh4uNr4VJtnGlsQJINPhn8pVmxOcuN4g3/hX9VIX hBAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id j4-20020a056a00130400b006ce500e3702si228015pfu.343.2023.12.06.17.06.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 17:06:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id C74AA8093579; Wed, 6 Dec 2023 17:06:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1441966AbjLGBGM (ORCPT + 99 others); Wed, 6 Dec 2023 20:06:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1441961AbjLGBGL (ORCPT ); Wed, 6 Dec 2023 20:06:11 -0500 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA11ED51; Wed, 6 Dec 2023 17:06:17 -0800 (PST) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1d05199f34dso2904045ad.3; Wed, 06 Dec 2023 17:06:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701911177; x=1702515977; 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=uLC9SHWP9HzPPTfguvi7eCiTglb7l56HPdmyFvz6QMA=; b=HVxuqATRtNeh+PZj+0v6py1i7Dv9UwNXnH1iKyUmSQRZLpYLebOsJwKaIPqUaTC6ZT s7twbP32ZX7xEcDdDRbGEw1tnH+/C1++JETH+S0vNqE/QsYK5gupc2mxvH/B3vvIvlDE ZnwlYIHHSxOeb/WXnDx+kVBRlAwecfO3vUKFDJKFThR67G3CU/wh5Xzn4YvEkPe3NFFN b43/jUwdkKu9PHC2uy98Tdf6AU0Xd90kYskXD3LSOS/PiLEsdMjT/rBHebyxzBzj/pW9 dD7UMq7rh2MBdlRNY6kuvL6+z7h2GA+T678TvMYPFEOw60wzOGJu7QlYniOV1JbMuITq A2Nw== X-Gm-Message-State: AOJu0Yy3ypJpS3kUefVte/7pr78PscH7/pUYq0z53u314kyndHFXuvpX EXm/iog5S1VDwn7PANO90Ps= X-Received: by 2002:a17:902:b195:b0:1d0:6ffd:6e6e with SMTP id s21-20020a170902b19500b001d06ffd6e6emr1655754plr.102.1701911177129; Wed, 06 Dec 2023 17:06:17 -0800 (PST) Received: from [172.20.2.177] (rrcs-173-197-90-226.west.biz.rr.com. [173.197.90.226]) by smtp.gmail.com with ESMTPSA id 21-20020a170902c21500b001cfb573674fsm80938pll.30.2023.12.06.17.06.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Dec 2023 17:06:16 -0800 (PST) Message-ID: Date: Wed, 6 Dec 2023 15:06:14 -1000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V4] scsi: ufs: core: store min and max clk freq from OPP table Content-Language: en-US To: Nitin Rawat , "James E.J. Bottomley" , "Martin K. Petersen" , Manivannan Sadhasivam , Krzysztof Kozlowski Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, quic_cang@quicinc.com, Manish Pandey References: <20231206133812.21488-1-quic_nitirawa@quicinc.com> From: Bart Van Assche In-Reply-To: <20231206133812.21488-1-quic_nitirawa@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 06 Dec 2023 17:06:24 -0800 (PST) On 12/6/23 03:38, Nitin Rawat wrote: > + list_for_each_entry(clki, head, list) { > + if (!clki->name) > + continue; > + > + clki->clk = devm_clk_get(hba->dev, clki->name); > + if (!IS_ERR(clki->clk)) { Please change the above line into the following: if (IS_ERR(...)) continue; to reduce the indentation level of the code below this statement. Thanks, Bart.