* re: mwifiex: handle driver initialization error paths
@ 2013-07-29 14:47 Dan Carpenter
2013-07-30 13:38 ` Amitkumar Karwar
0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2013-07-29 14:47 UTC (permalink / raw)
To: akarwar; +Cc: linux-wireless
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-30 13:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29 14:47 mwifiex: handle driver initialization error paths Dan Carpenter
2013-07-30 13:38 ` Amitkumar Karwar
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).