Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333718
b: refs/heads/master
c: 12f1771
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Oct 10, 2012
1 parent c011678 commit 0068738
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: b2cbf3b30e6d1237f8864c4c9123f2a68cdfedf6
refs/heads/master: 12f1771709ea53f11cf633c065d6160769795f24
2 changes: 2 additions & 0 deletions trunk/sound/pci/hda/hda_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -5168,6 +5168,8 @@ EXPORT_SYMBOL_HDA(snd_hda_resume);
*/
void *snd_array_new(struct snd_array *array)
{
if (snd_BUG_ON(!array->elem_size))
return NULL;
if (array->used >= array->alloced) {
int num = array->alloced + array->alloc_align;
int size = (num + 1) * array->elem_size;
Expand Down

0 comments on commit 0068738

Please sign in to comment.