Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80084
b: refs/heads/master
c: bca25ba
h: refs/heads/master
v: v3
  • Loading branch information
Parag Warudkar authored and Ingo Molnar committed Jan 30, 2008
1 parent d9ddb19 commit 6efa093
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 79da4721117fcf188b4b007b775738a530f574da
refs/heads/master: bca25bafbb390eeec376ac994954b99489d198ec
3 changes: 2 additions & 1 deletion trunk/include/asm-x86/dmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ extern char dmi_alloc_data[DMI_MAX_DATA];
static inline void *dmi_alloc(unsigned len)
{
int idx = dmi_alloc_index;
if ((dmi_alloc_index += len) > DMI_MAX_DATA)
if ((dmi_alloc_index + len) > DMI_MAX_DATA)
return NULL;
dmi_alloc_index += len;
return dmi_alloc_data + idx;
}

Expand Down

0 comments on commit 6efa093

Please sign in to comment.