Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298059
b: refs/heads/master
c: 37d2a36
h: refs/heads/master
i:
  298057: a23f07c
  298055: d8ef406
v: v3
  • Loading branch information
Jiang Liu authored and Len Brown committed Mar 30, 2012
1 parent db15aab commit 2502075
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 15afae604651d4e17652d2ffb56f5e36f991cfef
refs/heads/master: 37d2a3622d249d83413c92a1cd9e94b5237d0fcc
2 changes: 2 additions & 0 deletions trunk/drivers/acpi/apei/cper.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ void apei_estatus_print(const char *pfx,
gedata_len = gdata->error_data_length;
apei_estatus_print_section(pfx, gdata, sec_no);
data_len -= gedata_len + sizeof(*gdata);
gdata = (void *)(gdata + 1) + gedata_len;
sec_no++;
}
}
Expand Down Expand Up @@ -396,6 +397,7 @@ int apei_estatus_check(const struct acpi_hest_generic_status *estatus)
if (gedata_len > data_len - sizeof(*gdata))
return -EINVAL;
data_len -= gedata_len + sizeof(*gdata);
gdata = (void *)(gdata + 1) + gedata_len;
}
if (data_len)
return -EINVAL;
Expand Down

0 comments on commit 2502075

Please sign in to comment.