From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: linux-input@vger.kernel.org
Subject: Re: power_supply: Change ownership from driver to core
Date: Mon, 23 Mar 2015 16:21:48 +0100 [thread overview]
Message-ID: <1427124108.30970.1.camel@AMDC1943> (raw)
In-Reply-To: <20150323145433.GA1609@mwanda>
On pon, 2015-03-23 at 17:54 +0300, Dan Carpenter wrote:
> Hello Krzysztof Kozlowski,
>
> The patch 297d716f6260: "power_supply: Change ownership from driver
> to core" from Mar 12, 2015, leads to the following static checker
> warning:
>
> drivers/hid/hid-input.c:457 hidinput_setup_battery()
> error: potential NULL dereference 'dev->battery'.
>
Yes, indeed. I'll fix it.
I suppose Smatch detected this so I wonder why it does not print this
warning in my configuration (I tried v0.5.0-2916-gbdbeaee0221e and
v0.5.0-3008-g08de8666209d). Any ideas?
Best regards,
Krzysztof
next prev parent reply other threads:[~2015-03-23 15:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-23 14:54 power_supply: Change ownership from driver to core Dan Carpenter
2015-03-23 15:21 ` Krzysztof Kozlowski [this message]
2015-03-23 16: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=1427124108.30970.1.camel@AMDC1943 \
--to=k.kozlowski@samsung.com \
--cc=dan.carpenter@oracle.com \
--cc=linux-input@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).