commit | bd8d6dd43a77bfd2b8fef5b094b9d6095e169dee | [log] [tgz] |
---|---|---|
author | Kashyap Desai <Kashyap.Desai@lsi.com> | Tue Jul 17 18:20:44 2012 -0700 |
committer | James Bottomley <JBottomley@Parallels.com> | Wed Aug 22 09:39:25 2012 +0400 |
tree | 72de4e32718559ec28f8ad31b26f4d4b4676a950 | |
parent | 338b131a3269881c7431234855c93c219b0979b6 [diff] |
[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 <Kashyap.Desai@lsi.com> Signed-off-by: Adam Radford <aradford@gmail.com> Cc: <stable@vger.kernel.org> Signed-off-by: James Bottomley <JBottomley@Parallels.com>