[PATCH] I2O: second code cleanup of sparse warnings and unneeded syncronization
Changes: - Added header "core.h" for i2o_core.ko internal definitions - More sparse fixes - Changed display of TID's in sysfs attributes from XXX to 0xXXX - Use the right functions for accessing I/O and normal memory - Removed error handling of SCSI device errors and let the SCSI layer take care of it - Added new device / removed device handling to SCSI-OSM - Make status access volatile - Cleaned up activation of I2O controller - Removed unnecessary wmb() and rmb() calls - Use own struct i2o_io for I/O memory instead of struct i2o_dma Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
b2aaee33fb
commit
9e87545f06
@ -62,7 +62,7 @@
|
||||
#include "i2o_block.h"
|
||||
|
||||
#define OSM_NAME "block-osm"
|
||||
#define OSM_VERSION "$Rev$"
|
||||
#define OSM_VERSION "1.287"
|
||||
#define OSM_DESCRIPTION "I2O Block Device OSM"
|
||||
|
||||
static struct i2o_driver i2o_block_driver;
|
||||
@ -537,7 +537,7 @@ static int i2o_block_reply(struct i2o_controller *c, u32 m,
|
||||
|
||||
static void i2o_block_event(struct i2o_event *evt)
|
||||
{
|
||||
osm_info("event received\n");
|
||||
osm_debug("event received\n");
|
||||
kfree(evt);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user