Search Linux Wireless

re: mwifiex: handle driver initialization error paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux