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 X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8331EC433E0 for ; Fri, 22 May 2020 07:51:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5249220814 for ; Fri, 22 May 2020 07:51:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590133891; bh=kZVVwPNpwgBB2xHIzTu7T93HsBn42X1TjQX+ms5kWtA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=myVwN/4eJ0YzpszDbpQd2WRKyCEA+VCMgVs4nflmAtD9hJl/FH6ASel3obnNBdolx znIYle54QFEM/qzpBBAloxI/OPI35iL36ymYWCRqp8Nk0ul6bo99EHGBh8RM+rpYhv 2etGe/HwqFmeBP8pBJWf6/chHCCR4jzYuc2gUHAk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728833AbgEVHva (ORCPT ); Fri, 22 May 2020 03:51:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:58574 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728152AbgEVHva (ORCPT ); Fri, 22 May 2020 03:51:30 -0400 Received: from localhost (unknown [151.48.155.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8381F2072C; Fri, 22 May 2020 07:51:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590133890; bh=kZVVwPNpwgBB2xHIzTu7T93HsBn42X1TjQX+ms5kWtA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SYeetIZdgh0+MZOsx3dB6D7j28a0sndjuMd/lENS0YVrbPJRlipNxMQVeL9f9PePq tHwrhE3+x7a7hUzKRExJfeI6J9gqTCN/zGWRi7CwwFhHOi/eVWBNvWhY+qAOFqeQm5 XKuxzUYyVfrFOMbw9cflNVdIggfLDIc+aw6sW66g= Date: Fri, 22 May 2020 09:51:24 +0200 From: Lorenzo Bianconi To: Dan Carpenter Cc: nbd@nbd.name, linux-wireless@vger.kernel.org, lorenzo.bianconi@redhat.com, sean.wang@mediatek.com, ryder.lee@mediatek.com Subject: Re: [PATCH] mt76: mt7915: fix possible NULL pointer dereference in mt7915_register_ext_phy Message-ID: <20200522075124.GB4245@localhost.localdomain> References: <20200522074522.GB22511@kadam> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX" Content-Disposition: inline In-Reply-To: <20200522074522.GB22511@kadam> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --IiVenqGWf+H9Y6IX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable >=20 > On Fri, May 22, 2020 at 09:26:06AM +0200, Lorenzo Bianconi wrote: > > Fix a NULL pointer dereference in mt7915_register_ext_phy since phy > > data structure is allocated by mt76_alloc_phy routine > >=20 > > Signed-off-by: Lorenzo Bianconi >=20 > Thanks! Could you fix the same the bug in mt7615_register_ext_phy() as > well? Hi Dan, I have already posted the fix here: https://patchwork.kernel.org/patch/1155= 3519/ The patch is already in Felix's tree. Regards, Lorenzo >=20 > regards, > dan carpenter >=20 --IiVenqGWf+H9Y6IX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCXseEeAAKCRA6cBh0uS2t rHCtAP0d3mXoL+KbRp6VdNWIEeL7Z4gyyPrNhsMMycJiaXGoYQEA1Hta7HqjRH8K WxH5jXbFo31hWiSvEyfC6Ox5Avy2ywg= =k+tk -----END PGP SIGNATURE----- --IiVenqGWf+H9Y6IX--