From: Grygorii Strashko <grygorii.strashko@ti.com>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>,
netdev <netdev@vger.kernel.org>, Sekhar Nori <nsekhar@ti.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux OMAP Mailing List <linux-omap@vger.kernel.org>
Subject: Re: [PATCH net-next] net: ethernet: ti: cpsw-phy-sel: check bus_find_device() ret value
Date: Tue, 15 May 2018 18:11:49 -0500 [thread overview]
Message-ID: <623a9ea1-3caa-3eeb-718b-e1e82fbfa87f@ti.com> (raw)
In-Reply-To: <CAHp75VdXjiis9R6a1EZO9q3fawB_nSmJhqRSvv_7yggTr-EBOA@mail.gmail.com>
On 05/15/2018 06:07 PM, Andy Shevchenko wrote:
> On Wed, May 16, 2018 at 2:01 AM, Grygorii Strashko
> <grygorii.strashko@ti.com> wrote:
>> This fixes klockworks warnings: Pointer 'dev' returned from call to
>> function 'bus_find_device' at line 179 may be NULL and will be dereferenced
>> at line 181.
>
>> + dev_err(dev, "unable to find platform device for %s\n",
>> + of_node_full_name(node));
>
> Sorry, isn't %pOF works for this?
>
Thanks, will update.
--
regards,
-grygorii
prev parent reply other threads:[~2018-05-15 23:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-15 23:01 [PATCH net-next] net: ethernet: ti: cpsw-phy-sel: check bus_find_device() ret value Grygorii Strashko
2018-05-15 23:07 ` Andy Shevchenko
2018-05-15 23:11 ` Grygorii Strashko [this message]
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=623a9ea1-3caa-3eeb-718b-e1e82fbfa87f@ti.com \
--to=grygorii.strashko@ti.com \
--cc=andy.shevchenko@gmail.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nsekhar@ti.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