From: Kashyap Desai Date: Wed, 18 Jul 2012 01:20:44 +0000 (-0700) Subject: [SCSI] megaraid_sas: Move poll_aen_lock initializer X-Git-Tag: v3.6-rc6~33^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd8d6dd43a77bfd2b8fef5b094b9d6095e169dee;p=pandora-kernel.git [SCSI] megaraid_sas: Move poll_aen_lock initializer The following patch moves the poll_aen_lock initializer from megasas_probe_one() to megasas_init(). This prevents a crash when a user loads the driver and tries to issue a poll() system call on the ioctl interface with no adapters present. Signed-off-by: Kashyap Desai Signed-off-by: Adam Radford Cc: Signed-off-by: James Bottomley --- Reading git-diff-tree failed