From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9A1DC43334 for ; Thu, 2 Jun 2022 13:04:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:Message-ID:Date :Subject:In-Reply-To:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ggHHp2ogjbJqMb3RV1MoAVZAq16LdpwYqnDdaKebNTI=; b=ECIhwVwSNchmtC 7yVb9hcHWWG8SgScbqGwAPw/KHluMy0QATTEnt6Hiunzbl3mGQK4eqMbCNXRscAY4zH5xVopAzPxw iTfA/dH1ljJ/SEpxEsDeMyB52DoxYZEsJshC2aRjZqsMcBs9xrd54ISzjr0nkFr9UdDHiiNsnQeL8 yh4j9si6e6W8e1n9ADWwNGDJcfjnlRGv3A1Oc+eACWB2q4niaga0aZ5i59/QYEIIzX4GMZNRAkQom SSxvj8FswxZ3gQQ+oXyg6ZqRVAE3oJJa4hjD7dBjPckpDONbnKMODdU5FgtsNLjT3K4dJPSdXSsJ7 DlP8ra0MI7fx0nrNyANQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwkV6-003JQP-64; Thu, 02 Jun 2022 13:04:32 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwkUx-003JNT-OZ for linux-phy@lists.infradead.org; Thu, 02 Jun 2022 13:04:26 +0000 Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20220602130417epoutp03b0e105b5aabb3c3ff0bb48d525102af0~0z3NpE_7F2223222232epoutp03s for ; Thu, 2 Jun 2022 13:04:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20220602130417epoutp03b0e105b5aabb3c3ff0bb48d525102af0~0z3NpE_7F2223222232epoutp03s DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1654175057; bh=7429YeZ9Hyu90o3eIAgz56jiehI3KDgsZbfulkTdugI=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=caob5pWVeCEYuGImGjDoUsA+i6qr0nlCQu564YAgQCltWCY7B3qQmp5Q74jaQ+lo7 TkcJNug1Ts0t5QVBlrOk9Si1jWql6QP/wV6yEqLBEFNA5MyZ/xqn8OEluqWhOoEp9P yK3DHsgf8YOzoW04jVjgwy4gzF3QJR/hmRse4Fgo= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20220602130416epcas2p24b4c67e69d3a4d93a7ab3585db29c2f9~0z3M689mY1685816858epcas2p2V; Thu, 2 Jun 2022 13:04:16 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.92]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4LDR6l6YzFz4x9Pv; Thu, 2 Jun 2022 13:04:15 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 23.F7.10028.F45B8926; Thu, 2 Jun 2022 22:04:15 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p2.samsung.com (KnoxPortal) with ESMTPA id 20220602130415epcas2p22dd936d7686731681a22fe6cfd6c0173~0z3LcyOUD2782627826epcas2p2s; Thu, 2 Jun 2022 13:04:15 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220602130415epsmtrp112e0bc2d5e6f547bc288b40feb4efb4f~0z3Lb58kV2151821518epsmtrp1g; Thu, 2 Jun 2022 13:04:15 +0000 (GMT) X-AuditID: b6c32a47-589ff7000000272c-26-6298b54fefa3 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id BF.0F.08924.F45B8926; Thu, 2 Jun 2022 22:04:15 +0900 (KST) Received: from KORCO082417 (unknown [10.229.8.121]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220602130415epsmtip2c7027309bcdd4b51a6ac04812825f005~0z3LQm-Qj1820818208epsmtip2R; Thu, 2 Jun 2022 13:04:15 +0000 (GMT) From: "Chanho Park" To: "'Krzysztof Kozlowski'" , "'Kishon Vijay Abraham I'" , "'Vinod Koul'" , "'Alim Akhtar'" , "'Rob Herring'" , "'Krzysztof Kozlowski'" Cc: , , , In-Reply-To: <58e06727-a9ae-7466-6bc3-feee92bd9bf1@linaro.org> Subject: RE: [PATCH v2 2/6] phy: samsung: ufs: constify samsung_ufs_phy_cfg Date: Thu, 2 Jun 2022 22:04:15 +0900 Message-ID: <050401d87681$42e6cb70$c8b46250$@samsung.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQLWkTnA63V9WykH3rm22/0hqLdk6gLx1W7JAUiDJCwCxuJ30qsH1R0w Content-Language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrBJsWRmVeSWpSXmKPExsWy7bCmua7/1hlJBs9vGls8mLeNzWL+kXOs Fhee9rBZ9L14yGyx9/VWdotNj6+xWkxY9Y3FYsb5fUwWrXuPsFvsvHOC2YHLY9OqTjaPO9f2 s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wAA X-CMS-MailID: 20220602130415epcas2p22dd936d7686731681a22fe6cfd6c0173 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220602053329epcas2p238f5019ff98e4d9fcf5fea0001a773a9 References: <20220602053250.62593-1-chanho61.park@samsung.com> <20220602053250.62593-3-chanho61.park@samsung.com> <58e06727-a9ae-7466-6bc3-feee92bd9bf1@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220602_060424_203001_7EAEA753 X-CRM114-Status: UNSURE ( 8.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org > > @@ -75,7 +75,7 @@ static int samsung_ufs_phy_wait_for_lock_acq(struct > > phy *phy) static int samsung_ufs_phy_calibrate(struct phy *phy) { > > struct samsung_ufs_phy *ufs_phy = get_samsung_ufs_phy(phy); > > - struct samsung_ufs_phy_cfg **cfgs = ufs_phy->cfg; > > + const struct samsung_ufs_phy_cfg **cfgs = ufs_phy->cfg; > > This should be rather array of const pointers to const data. The prototype of ufs_phy->cfg is 'const struct samsung_ufs_phy_cfg **' by this patch. So, it should be, const struct samsung_ufs_phy_cfg ** const cfgs = ufs_phy->cfg; Best Regards, Chanho Park -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy