Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207306
b: refs/heads/master
c: b329bec
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed Aug 10, 2010
1 parent 68a0a80 commit 45fb3bd
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: 878ae1274944908e1863b06b03a2c94907afaa20
refs/heads/master: b329becfc78b180d5c422c9cb24a6ab378603305
2 changes: 1 addition & 1 deletion trunk/drivers/char/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ int misc_deregister(struct miscdevice *misc)
{
int i = DYNAMIC_MINORS - misc->minor - 1;

if (list_empty(&misc->list))
if (WARN_ON(list_empty(&misc->list)))
return -EINVAL;

mutex_lock(&misc_mtx);
Expand Down

0 comments on commit 45fb3bd

Please sign in to comment.