Commit f33213ec authored by Markus Lidel's avatar Markus Lidel Committed by Linus Torvalds
Browse files

[PATCH] I2O: Lindent run and replacement of printk through osm printing functions



Lindent run and replaced printk() through the corresponding osm_*() function

Signed-off-by: default avatarMarkus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9e87545f
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -44,8 +44,8 @@ config I2O_EXT_ADAPTEC_DMA64

config I2O_CONFIG
	tristate "I2O Configuration support"
	depends on PCI && I2O
	help
	depends on I2O
	---help---
	  Say Y for support of the configuration interface for the I2O adapters.
	  If you have a RAID controller from Adaptec and you want to use the
	  raidutils to manage your RAID array, you have to say Y here.
@@ -74,7 +74,7 @@ config I2O_BUS
config I2O_BLOCK
	tristate "I2O Block OSM"
	depends on I2O
	help
	---help---
	  Include support for the I2O Block OSM. The Block OSM presents disk
	  and other structured block devices to the operating system. If you
	  are using an RAID controller, you could access the array only by
@@ -87,7 +87,7 @@ config I2O_BLOCK
config I2O_SCSI
	tristate "I2O SCSI OSM"
	depends on I2O && SCSI
	help
	---help---
	  Allows direct SCSI access to SCSI devices on a SCSI or FibreChannel
	  I2O controller. You can use both the SCSI and Block OSM together if
	  you wish. To access a RAID array, you must use the Block OSM driver.
@@ -99,7 +99,7 @@ config I2O_SCSI
config I2O_PROC
	tristate "I2O /proc support"
	depends on I2O
	help
	---help---
	  If you say Y here and to "/proc file system support", you will be
	  able to read I2O related information from the virtual directory
	  /proc/i2o.
+0 −1
Original line number Diff line number Diff line
@@ -443,7 +443,6 @@ static struct class_interface i2o_device_class_interface = {
 *	Note that the minimum sized reslist is 8 bytes and contains
 *	ResultCount, ErrorInfoSize, BlockStatus and BlockSize.
 */

static int i2o_parm_issue(struct i2o_device *i2o_dev, int cmd, void *oplist,
			  int oplen, void *reslist, int reslen)
{
+1 −2
Original line number Diff line number Diff line
@@ -120,7 +120,6 @@ int i2o_driver_register(struct i2o_driver *drv)
		    i2o_driver_notify_device_add(drv, i2o_dev);
	}


	rc = driver_register(&drv->driver);
	if (rc)
		destroy_workqueue(drv->event_queue);
+1 −2
Original line number Diff line number Diff line
@@ -940,7 +940,6 @@ static void i2o_block_request_fn(struct request_queue *q)
			INIT_WORK(&dreq->work, i2o_block_delayed_request_fn,
				  dreq);

			osm_info("transfer error\n");
			if (!queue_delayed_work(i2o_block_driver.event_queue,
						&dreq->work,
						I2O_BLOCK_RETRY_TIME))
@@ -1042,8 +1041,8 @@ static struct i2o_block_device *i2o_block_device_alloc(void)
static int i2o_block_probe(struct device *dev)
{
	struct i2o_device *i2o_dev = to_i2o_device(dev);
	struct i2o_block_device *i2o_blk_dev;
	struct i2o_controller *c = i2o_dev->iop;
	struct i2o_block_device *i2o_blk_dev;
	struct gendisk *gd;
	struct request_queue *queue;
	static int unit = 0;
+13 −15
Original line number Diff line number Diff line
@@ -85,8 +85,7 @@ struct i2o_block_device {
};

/* I2O Block device request */
struct i2o_block_request
{
struct i2o_block_request {
	struct list_head queue;
	struct request *req;	/* corresponding request */
	struct i2o_block_device *i2o_blk_dev;	/* I2O block device */
@@ -96,8 +95,7 @@ struct i2o_block_request
};

/* I2O Block device delayed request */
struct i2o_block_delayed_request
{
struct i2o_block_delayed_request {
	struct work_struct work;
	struct request_queue *queue;
};
Loading