aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/message/i2o/exec-osm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/message/i2o/exec-osm.c b/drivers/message/i2o/exec-osm.c
index c13b9321e7ab..809d4b63c0b3 100644
--- a/drivers/message/i2o/exec-osm.c
+++ b/drivers/message/i2o/exec-osm.c
@@ -131,8 +131,10 @@ int i2o_msg_post_wait_mem(struct i2o_controller *c, struct i2o_message *msg,
131 int rc = 0; 131 int rc = 0;
132 132
133 wait = i2o_exec_wait_alloc(); 133 wait = i2o_exec_wait_alloc();
134 if (!wait) 134 if (!wait) {
135 i2o_msg_nop(c, msg);
135 return -ENOMEM; 136 return -ENOMEM;
137 }
136 138
137 if (tcntxt == 0xffffffff) 139 if (tcntxt == 0xffffffff)
138 tcntxt = 0x80000000; 140 tcntxt = 0x80000000;