From: Dan Carpenter <dan.carpenter@oracle.com>
To: Lorenzo Bianconi <lorenzo@kernel.org>
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
Date: Fri, 22 May 2020 10:45:23 +0300 [thread overview]
Message-ID: <20200522074522.GB22511@kadam> (raw)
In-Reply-To: <a03171996da0aaaa0963a4704b6d59be818bd42f.1590132235.git.lorenzo@kernel.org>
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
>
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Thanks! Could you fix the same the bug in mt7615_register_ext_phy() as
well?
regards,
dan carpenter
next prev parent reply other threads:[~2020-05-22 7:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-22 7:26 [PATCH] mt76: mt7915: fix possible NULL pointer dereference in mt7915_register_ext_phy Lorenzo Bianconi
2020-05-22 7:45 ` Dan Carpenter [this message]
2020-05-22 7:51 ` Lorenzo Bianconi
2020-05-22 8:38 ` Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200522074522.GB22511@kadam \
--to=dan.carpenter@oracle.com \
--cc=linux-wireless@vger.kernel.org \
--cc=lorenzo.bianconi@redhat.com \
--cc=lorenzo@kernel.org \
--cc=nbd@nbd.name \
--cc=ryder.lee@mediatek.com \
--cc=sean.wang@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox