All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: drivers/platform/x86/acer-wmi.c: ERROR: obj is NULL but dereferenced
Date: Mon, 17 Sep 2012 00:41:14 +0000	[thread overview]
Message-ID: <20120917004114.GC12394@localhost> (raw)

Hi Chun-Yi,

coccinelle warns about:

  drivers/platform/x86/acer-wmi.c:1200:17-21: ERROR: obj is NULL but dereferenced.
  drivers/platform/x86/acer-wmi.c:891:17-21: ERROR: obj is NULL but dereferenced.
  drivers/platform/x86/acer-wmi.c:1953:17-21: ERROR: obj is NULL but dereferenced.

Which are first introduced by commit

commit 987dfbaa65b2c3568b85e29d2598da08a011ee09
Author:     Lee, Chun-Yi <joeyli.kernel@gmail.com>
AuthorDate: Fri May 27 14:52:14 2011 +0800
Commit:     Matthew Garrett <mjg@redhat.com>
CommitDate: Fri May 27 12:40:10 2011 -0400

    acer-wmi: support integer return type from WMI methods

Thanks,
Fengguang

             reply	other threads:[~2012-09-17  0:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17  0:41 Fengguang Wu [this message]
2012-09-17  3:34 ` drivers/platform/x86/acer-wmi.c: ERROR: obj is NULL but dereferenced joeyli

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=20120917004114.GC12394@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.