Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1188647iol; Fri, 10 Jun 2022 02:07:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQtmOnCRwB4pDDTbNVigzD50p8wC5BEAZMtG6Z7N6VzXcU0AQnudB6onXHaED7BEIwbu1C X-Received: by 2002:aa7:da8f:0:b0:42d:d4b0:56e0 with SMTP id q15-20020aa7da8f000000b0042dd4b056e0mr49302890eds.359.1654852052853; Fri, 10 Jun 2022 02:07:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654852052; cv=none; d=google.com; s=arc-20160816; b=oEx+iKeHNfvH5U5GaNaA3aRgrRx0JoXzU4hGHWF4jqysRl/Q0le7xhsDqBQlPPtpU5 j1dyB/hjprCgqfXN5toJXmGX7BSjx4YtNvtFo0KVbtA28YB4dMRdoigTklZeyg+df+MN q3FBJRbc7j9uDk8m9Wq8xOgoE/r/teys4U2IRKz1k9NFIdAgQ9C7OdLEm+VShfsvC6eS 3/t/RYkXGad3Bvm2A7CPT9nQbUyR7yiS3u3i75uykM770WxFVVAjAmr2fIlUNhbz5t5e SVquULFO1MIKyLNFm1x59ERACFl/L6/U5NQWrsSBwkuqvOVz7btfAIzEx3vDRK0zuyDH QWHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:content-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=bMeQj0WB3feMcKPWBDNinj0jpYwg44qY0abSStpfGFw=; b=JJh7J7UFc8QPJXfWPnO4yWCXPjjJHeR3RHGj49TXjfor7Xtr1dy8ldtXYBCkyuCpQZ Z+o+uGcLmY40tHXPvc4abcQvZi5xqyuKpCSjc3Mk2OHIo4DAlP94KtK51i/DWa59s7lg aeM8CqG9a71/fats1Fajoo22hruL1Vmteftkx14S+m9gyj+byAG8vdviQ5PBDBJ8UsXU bXIbmIUI7x7NI2gdjsjjw9zeSikc5+5R7CxaR9pcezksbD2I0r2XMtDAK2SAX8gNVJxz sy4jOQD7TOVwF8t8R9KTuxlZigxi4rM2rXus9YocYOKxMmMKH3FXuF7WW0i7Mz+1n2Ig oYdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="D/KQM85/"; 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=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn12-20020a17090794cc00b00711e7f20a57si11169248ejc.809.2022.06.10.02.07.06; Fri, 10 Jun 2022 02:07:32 -0700 (PDT) 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=@samsung.com header.s=mail20170921 header.b="D/KQM85/"; 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=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347222AbiFJIPa (ORCPT + 99 others); Fri, 10 Jun 2022 04:15:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346746AbiFJIP2 (ORCPT ); Fri, 10 Jun 2022 04:15:28 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7138D20C6D6 for ; Fri, 10 Jun 2022 01:15:26 -0700 (PDT) Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220610081524epoutp0455e1e63b2a16f38ec43c5dcb4aa47e0e~3NFQ2ViBd0286502865epoutp044 for ; Fri, 10 Jun 2022 08:15:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220610081524epoutp0455e1e63b2a16f38ec43c5dcb4aa47e0e~3NFQ2ViBd0286502865epoutp044 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1654848924; bh=bMeQj0WB3feMcKPWBDNinj0jpYwg44qY0abSStpfGFw=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=D/KQM85/40GSvpCjNi9id8qfEmR5VrgOmHydQU3VF7LIm1AfsZPHISQtw6EMNBACF NHB5nbhqZucXNGSZXZ6PsgupMGOk7HmG34KadC+qmkPr+sDRBT4jFjEsjV9o5P4Bvx QbZcniBGLkgiOO2wfQvrW8Vg0oSHgoXf8RaS1/qE= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20220610081524epcas2p281a106d878387fbc07419ca43ed5aedf~3NFQhaoin1840018400epcas2p2r; Fri, 10 Jun 2022 08:15:24 +0000 (GMT) Received: from epsmges2p4.samsung.com (unknown [182.195.36.102]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4LKDKl46jHz4x9Q5; Fri, 10 Jun 2022 08:15:23 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id 7E.FE.09694.A9DF2A26; Fri, 10 Jun 2022 17:15:22 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p1.samsung.com (KnoxPortal) with ESMTPA id 20220610081522epcas2p1bff7fcad5bf93d5b05b8d01dad6793e0~3NFOs4Yvo2888328883epcas2p1b; Fri, 10 Jun 2022 08:15:22 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220610081522epsmtrp10a39c80c05c8b09afb5992538534afd0~3NFOsMhvI2304823048epsmtrp1I; Fri, 10 Jun 2022 08:15:22 +0000 (GMT) X-AuditID: b6c32a48-47fff700000025de-16-62a2fd9a96cd Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id DB.02.08924.99DF2A26; Fri, 10 Jun 2022 17:15:21 +0900 (KST) Received: from KORCO082417 (unknown [10.229.8.121]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220610081521epsmtip19abbe1a8fc44efa89ea6b41340797757~3NFOjD_x52561225612epsmtip1o; Fri, 10 Jun 2022 08:15:21 +0000 (GMT) From: "Chanho Park" To: "'Alim Akhtar'" , , Cc: , , In-Reply-To: <20220610070547.71193-1-alim.akhtar@samsung.com> Subject: RE: [PATCH -next] phy: samsung-ufs: fix NULL pointer dereference Date: Fri, 10 Jun 2022 17:15:21 +0900 Message-ID: <000001d87ca2$3ac0f520$b042df60$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJNUr2mveM3EJGNpu0kIdNV5dOukgIPmyx5rE4hWXA= Content-Language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnk+LIzCtJLcpLzFFi42LZdljTQnfW30VJBof+K1g8mLeNzaLvxUNm i8u75rBZTFj1jcVi0dYv7BY775xgdmDz2LSqk83jzrU9bB6bl9R79G1ZxejxeZNcAGtUtk1G amJKapFCal5yfkpmXrqtkndwvHO8qZmBoa6hpYW5kkJeYm6qrZKLT4CuW2YO0AFKCmWJOaVA oYDE4mIlfTubovzSklSFjPziElul1IKUnALzAr3ixNzi0rx0vbzUEitDAwMjU6DChOyMaTdX MBe8Zq84fWs6ewPjIbYuRk4OCQETiX07n7N3MXJxCAnsYJRoX3WXEcL5xCjx/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pxgLrrFXrP3Xx9LAuJqti5GTQ0LAROLwhCYgm4tDSGAHo8TpMy9YIBKy Es/e7WCHsIUl7rccYYUoesYocfXkQrAiNgF9iZcd21hBbBGBIok368+CTWUWiJZY9HsLWI2Q QB+jxJOTZSA2p4CtxI3OT2BDhQU8JVa8uwdkc3CwCKhKfDxcCmLyClhKfHhbC1LBKyAocXLm ExaIidoST28+hbOXLXzNDHGagsTPp8ugLrCSmLCnBapGRGJ2ZxvzBEbhWUhGzUIyahaSUbOQ tCxgZFnFKJlaUJybnltsWGCUl1quV5yYW1yal66XnJ+7iREcPVpaOxj3rPqgd4iRiYPxEKME B7OSCG/A7UVJQrwpiZVVqUX58UWlOanFhxilOViUxHkvdJ2MFxJITyxJzU5NLUgtgskycXBK NTBNYQzbevVD/Q7h3bb2Ovu165br3w89u5r7JHeUjuQygaAFZx/9nrNU6NoHwaIFDId2dUSc cI1J3nUrxi121wUu/pY679TsxTwPd6nH8eY8e7fn6O2L+9YK1D0KDKp6fd9++lG24AUSwi5b 0zv36J5zXKbUb1Z+ONDkfO3CS2Wr197/MGH1fClnT7uZCtazLvZ/SfBOMp3i8uWdQGn1irNl Znr6Z5Zf7nbQEt5nHtR35ly83kV9Lfk3FtYqe44yOrCvVV6348n7p9P0+hQ9lRI5YuVf5Cz5 9Ttqpqla0vNbcrnc3R/Ftc9OnrQp6czmFL7XqyPf7AmoLRZzuPDvW8S+xmWPpxdId89uXi10 bnapEktxRqKhFnNRcSIA9f25YA0DAAA= X-CMS-MailID: 20220610081522epcas2p1bff7fcad5bf93d5b05b8d01dad6793e0 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220610070811epcas5p3c62ef9ad9c82092deac59ff9be896677 References: <20220610070547.71193-1-alim.akhtar@samsung.com> X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 > Subject: =5BPATCH -next=5D phy: samsung-ufs: fix NULL pointer dereference >=20 > commit f86c1d0a58b1f63a (=22phy: samsung: ufs: remove drvdata from struct > samsung_ufs_phy=22) >=20 > removes _drvdata_ initialization which resulting in NULL pointer > dereferencing in samsung_ufs_phy_wait_for_lock_acq(). Fix this by > initializing drvdata. >=20 > The said commit also duplicate =22has_symbol_clk=22 both in drvdata struc= t and > in samsung_ufs_phy struct, let's go back and use only one =22has_symbol_c= lk=22. >=20 > Fixes: f86c1d0a58b1 phy: samsung: ufs: remove drvdata from struct > samsung_ufs_phy This might be conflicted when you apply your patch. https://lore.kernel.org/linux-phy/20220610072924.12362-3-alim.akhtar=40sams= ung.com/T/=23u When I created my patch, it was not existing so my previous patch make sens= e. If you get back drvdata for your patch, please drop this =22fixes tag + pat= ch=22 and put this in your patchset. Best Regards, Chanho Park