mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
bd8d6dd43a
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> |
||
---|---|---|
.. | ||
Kconfig.megaraid | ||
Makefile | ||
mbox_defs.h | ||
mega_common.h | ||
megaraid_ioctl.h | ||
megaraid_mbox.c | ||
megaraid_mbox.h | ||
megaraid_mm.c | ||
megaraid_mm.h | ||
megaraid_sas_base.c | ||
megaraid_sas_fp.c | ||
megaraid_sas_fusion.c | ||
megaraid_sas_fusion.h | ||
megaraid_sas.h |