diff options
Diffstat (limited to 'drivers/char/ipmi/ipmi_si_intf.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index d28b484aee45..cc6c9b2546a3 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -339,7 +339,7 @@ static void return_hosed_msg(struct smi_info *smi_info, int cCode) | |||
339 | cCode = IPMI_ERR_UNSPECIFIED; | 339 | cCode = IPMI_ERR_UNSPECIFIED; |
340 | /* else use it as is */ | 340 | /* else use it as is */ |
341 | 341 | ||
342 | /* Make it a reponse */ | 342 | /* Make it a response */ |
343 | msg->rsp[0] = msg->data[0] | 4; | 343 | msg->rsp[0] = msg->data[0] | 4; |
344 | msg->rsp[1] = msg->data[1]; | 344 | msg->rsp[1] = msg->data[1]; |
345 | msg->rsp[2] = cCode; | 345 | msg->rsp[2] = cCode; |
@@ -2927,7 +2927,7 @@ static void return_hosed_msg_badsize(struct smi_info *smi_info) | |||
2927 | { | 2927 | { |
2928 | struct ipmi_smi_msg *msg = smi_info->curr_msg; | 2928 | struct ipmi_smi_msg *msg = smi_info->curr_msg; |
2929 | 2929 | ||
2930 | /* Make it a reponse */ | 2930 | /* Make it a response */ |
2931 | msg->rsp[0] = msg->data[0] | 4; | 2931 | msg->rsp[0] = msg->data[0] | 4; |
2932 | msg->rsp[1] = msg->data[1]; | 2932 | msg->rsp[1] = msg->data[1]; |
2933 | msg->rsp[2] = CANNOT_RETURN_REQUESTED_LENGTH; | 2933 | msg->rsp[2] = CANNOT_RETURN_REQUESTED_LENGTH; |