linux-sg2042/drivers/block/rsxx
Philip J Kelleher 8c49a77ca4 rsxx: Fix possible kernel panic with invalid config.
This patch fixes a possible Kernel Panic on driver load if
the configuration on the card is messed up or not yet set.
The driver could possible give a 32 bit unsigned all Fs to
the kernel as the device's block size.

Now we only write the block size to the kernel if the
configuration from the card is valid.

Also, driver version is being updated.

Signed-off-by: Philip J Kelleher <pjk1939@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2013-11-08 09:10:29 -07:00
..
Makefile block: IBM RamSan 70/80 branding changes. 2013-03-11 19:53:55 +01:00
config.c block: IBM RamSan 70/80 branding changes. 2013-03-11 19:53:55 +01:00
core.c rsxx: Moving pci_map_page to prevent overflow. 2013-11-08 09:10:28 -07:00
cregs.c rsxx: Adding EEH check inside cregs timeout. 2013-06-19 13:52:10 +02:00
dev.c rsxx: Fix possible kernel panic with invalid config. 2013-11-08 09:10:29 -07:00
dma.c rsxx: Disallow discards from being unmapped. 2013-11-08 09:10:29 -07:00
rsxx.h block: IBM RamSan 70/80 trivial changes. 2013-03-11 19:53:55 +01:00
rsxx_cfg.h block: IBM RamSan 70/80 branding changes. 2013-03-11 19:53:55 +01:00
rsxx_priv.h rsxx: Fix possible kernel panic with invalid config. 2013-11-08 09:10:29 -07:00