On 01/07/2015 07:03 AM, Bart Van Assche wrote:
Since kernel v3.19-rc1 module_refcount() returns 1 instead of 0
when called from inside module_exit(). This breaks the
module_refcount() test in scsi_device_put() and hence causes the
following kernel warning to be reported when unloading the ib_srp
kernel module:
Tested-by: Don Brace <don.brace@xxxxxxxx>
This patch fixed module removal crashes I was seeing with the hpsa
driver running on 3.19-rc4 kernel. Ran ~200 insmod/rmmod tests with no
issues.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html