Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131580
b: refs/heads/master
c: 9b6d251
h: refs/heads/master
v: v3
  • Loading branch information
Ilpo Järvinen authored and Linus Torvalds committed Feb 21, 2009
1 parent 8a7e8dd commit 6d3e156
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: ad444684b78f12fb3f45a733722e2cbfe102d25c
refs/heads/master: 9b6d25100ace1dcf9750803ff08f6b61f840be79
3 changes: 2 additions & 1 deletion trunk/drivers/char/sx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1746,9 +1746,10 @@ static long sx_fw_ioctl(struct file *filp, unsigned int cmd,
sx_dprintk(SX_DEBUG_FIRMWARE, "returning type= %ld\n", rc);
break;
case SXIO_DO_RAMTEST:
if (sx_initialized) /* Already initialized: better not ramtest the board. */
if (sx_initialized) { /* Already initialized: better not ramtest the board. */
rc = -EPERM;
break;
}
if (IS_SX_BOARD(board)) {
rc = do_memtest(board, 0, 0x7000);
if (!rc)
Expand Down

0 comments on commit 6d3e156

Please sign in to comment.