diff options
author | Philip J Kelleher <pjk1939@linux.vnet.ibm.com> | 2013-02-25 12:27:46 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-03-11 19:53:55 +0100 |
commit | f37912039eb04979f269de0a7dc1a601702df51a (patch) | |
tree | a9f52fbc05d2f616256d9ae1e323fb66f80b57aa /drivers/block/rsxx/core.c | |
parent | f6161aa153581da4a3867a2d1a7caf4be19b6ec9 (diff) | |
download | talos-obmc-linux-f37912039eb04979f269de0a7dc1a601702df51a.tar.gz talos-obmc-linux-f37912039eb04979f269de0a7dc1a601702df51a.zip |
block: IBM RamSan 70/80 trivial changes.
This patch includes trivial changes that were recommended by
different members of the Linux Community.
Changes include:
o Removing the redundant wmb().
o Formatting
o Various other little things.
Signed-off-by: Philip J Kelleher <pjk1939@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/rsxx/core.c')
-rw-r--r-- | drivers/block/rsxx/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/rsxx/core.c b/drivers/block/rsxx/core.c index e5162487686a..edbae10e7f6f 100644 --- a/drivers/block/rsxx/core.c +++ b/drivers/block/rsxx/core.c @@ -161,9 +161,9 @@ static irqreturn_t rsxx_isr(int irq, void *pdata) } /*----------------- Card Event Handler -------------------*/ -static char *rsxx_card_state_to_str(unsigned int state) +static const char * const rsxx_card_state_to_str(unsigned int state) { - static char *state_strings[] = { + static const char * const state_strings[] = { "Unknown", "Shutdown", "Starting", "Formatting", "Uninitialized", "Good", "Shutting Down", "Fault", "Read Only Fault", "dStroying" |