Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193251
b: refs/heads/master
c: 2448b14
h: refs/heads/master
i:
  193249: ffef1c3
  193247: e99fa02
v: v3
  • Loading branch information
Dan Carpenter authored and Takashi Iwai committed May 17, 2010
1 parent f5599bc commit 26aa7ec
Show file tree
Hide file tree
Showing 2 changed files with 2 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: b0fb75ad5c8ca205396d7a493c9be5a5da802747
refs/heads/master: 2448b14715bc83d75ed779452fe89285df4d772a
2 changes: 1 addition & 1 deletion trunk/sound/pci/asihpi/hpifunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3279,7 +3279,7 @@ static u16 hpi_entity_alloc_and_copy(struct hpi_entity *src,

buf_size = hpi_entity_size(src);
*dst = kmalloc(buf_size, GFP_KERNEL);
if (dst == NULL)
if (*dst == NULL)
return HPI_ERROR_MEMORY_ALLOC;
memcpy(*dst, src, buf_size);
return 0;
Expand Down

0 comments on commit 26aa7ec

Please sign in to comment.