Files
linux-apfs/drivers/pcmcia
Dan Carpenter 36c286d5a4 pcmcia: i82092: fix i82092aa_pci_remove()
Smatch complains because the call to
	pci_set_drvdata(dev, &sockets[i].socket);
is reading one step beyond the end of the sockets[] array.  It will
crash when we use it later.

The only place which uses pci_get_drvdata() is i82092aa_pci_remove().
That function should loop through all the sockets and unregister them.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17 12:07:34 -08:00
..
2012-11-28 12:10:16 -08:00
2012-11-28 12:10:16 -08:00
2012-11-28 12:10:16 -08:00
2012-05-07 09:56:39 +08:00
2012-05-07 09:56:39 +08:00
2012-11-28 12:10:16 -08:00
2012-05-07 09:56:39 +08:00
2012-11-28 12:10:16 -08:00
2012-11-28 12:10:16 -08:00
2012-11-28 12:10:16 -08:00
2012-11-28 12:10:16 -08:00
2012-11-28 12:10:16 -08:00