Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175788
b: refs/heads/master
c: 17e3767
h: refs/heads/master
v: v3
  • Loading branch information
roel kluin authored and Benjamin Herrenschmidt committed Nov 24, 2009
1 parent 6a5db9f commit e2d0569
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: d67ebe72c9ce525019db9139153b55247d34b0a4
refs/heads/master: 17e376756169af818c2e1c230502167cd1571a6c
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/platforms/cell/spufs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -2494,7 +2494,7 @@ static ssize_t spufs_switch_log_read(struct file *file, char __user *buf,
struct spu_context *ctx = SPUFS_I(inode)->i_ctx;
int error = 0, cnt = 0;

if (!buf || len < 0)
if (!buf)
return -EINVAL;

error = spu_acquire(ctx);
Expand Down

0 comments on commit e2d0569

Please sign in to comment.