linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@oracle.com>
To: akarwar@marvell.com
Cc: linux-wireless@vger.kernel.org
Subject: re: mwifiex: handle driver initialization error paths
Date: Mon, 29 Jul 2013 17:47:54 +0300	[thread overview]
Message-ID: <20130729144754.GA7601@elgon.mountain> (raw)

Hello Amitkumar Karwar,

The patch 6b41f941d7cd: "mwifiex: handle driver initialization error 
paths" from Jul 22, 2013, leads to the following warning:
"drivers/net/wireless/mwifiex/main.c:533 mwifiex_fw_dpc()
	 warn: 'adapter' was already freed."

drivers/net/wireless/mwifiex/main.c
   529          adapter->surprise_removed = true;
   530          mwifiex_terminate_workqueue(adapter);
   531          mwifiex_free_adapter(adapter);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Free.
   532  done:
   533          if (adapter->cal_data) {
                    ^^^^^^^^^^^^^^^^^
Dereference.
   534                  release_firmware(adapter->cal_data);
   535                  adapter->cal_data = NULL;
   536          }

regards,
dan carpenter


             reply	other threads:[~2013-07-29 14:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-29 14:47 Dan Carpenter [this message]
2013-07-30 13:38 ` mwifiex: handle driver initialization error paths Amitkumar Karwar

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=20130729144754.GA7601@elgon.mountain \
    --to=dan.carpenter@oracle.com \
    --cc=akarwar@marvell.com \
    --cc=linux-wireless@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).