Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348811
b: refs/heads/master
c: 4adf07f
h: refs/heads/master
i:
  348809: 82ca85f
  348807: f7c1c2a
v: v3
  • Loading branch information
Luciano Coelho authored and Linus Torvalds committed Jan 16, 2013
1 parent 4cb43cb commit 3f9c9ab
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: 774a1221e862b343388347bac9b318767336b20b
refs/heads/master: 4adf07fba3bd64472921a01aae0e116f9f948b77
2 changes: 1 addition & 1 deletion trunk/drivers/base/firmware_class.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ static bool fw_read_file_contents(struct file *file, struct firmware_buf *fw_buf
char *buf;

size = fw_file_size(file);
if (size < 0)
if (size <= 0)
return false;
buf = vmalloc(size);
if (!buf)
Expand Down

0 comments on commit 3f9c9ab

Please sign in to comment.