aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/i2o
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/message/i2o')
-rw-r--r--drivers/message/i2o/i2o_block.c2
-rw-r--r--drivers/message/i2o/iop.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c
index d505b68cd372..e39986a78273 100644
--- a/drivers/message/i2o/i2o_block.c
+++ b/drivers/message/i2o/i2o_block.c
@@ -940,7 +940,7 @@ static const struct block_device_operations i2o_block_fops = {
940 * Allocate memory for the i2o_block_device struct, gendisk and request 940 * Allocate memory for the i2o_block_device struct, gendisk and request
941 * queue and initialize them as far as no additional information is needed. 941 * queue and initialize them as far as no additional information is needed.
942 * 942 *
943 * Returns a pointer to the allocated I2O Block device on succes or a 943 * Returns a pointer to the allocated I2O Block device on success or a
944 * negative error code on failure. 944 * negative error code on failure.
945 */ 945 */
946static struct i2o_block_device *i2o_block_device_alloc(void) 946static struct i2o_block_device *i2o_block_device_alloc(void)
diff --git a/drivers/message/i2o/iop.c b/drivers/message/i2o/iop.c
index 27cf4af0e13d..e5ab62141503 100644
--- a/drivers/message/i2o/iop.c
+++ b/drivers/message/i2o/iop.c
@@ -132,7 +132,7 @@ u32 i2o_cntxt_list_add(struct i2o_controller * c, void *ptr)
132 * Removes a previously added pointer from the context list and returns 132 * Removes a previously added pointer from the context list and returns
133 * the matching context id. 133 * the matching context id.
134 * 134 *
135 * Returns context id on succes or 0 on failure. 135 * Returns context id on success or 0 on failure.
136 */ 136 */
137u32 i2o_cntxt_list_remove(struct i2o_controller * c, void *ptr) 137u32 i2o_cntxt_list_remove(struct i2o_controller * c, void *ptr)
138{ 138{
@@ -198,7 +198,7 @@ void *i2o_cntxt_list_get(struct i2o_controller *c, u32 context)
198 * @c: controller to which the context list belong 198 * @c: controller to which the context list belong
199 * @ptr: pointer to which the context id should be fetched 199 * @ptr: pointer to which the context id should be fetched
200 * 200 *
201 * Returns context id which matches to the pointer on succes or 0 on 201 * Returns context id which matches to the pointer on success or 0 on
202 * failure. 202 * failure.
203 */ 203 */
204u32 i2o_cntxt_list_get_ptr(struct i2o_controller * c, void *ptr) 204u32 i2o_cntxt_list_get_ptr(struct i2o_controller * c, void *ptr)