Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45231
b: refs/heads/master
c: a416aba
h: refs/heads/master
i:
  45229: a45ed3c
  45227: 3a66c43
  45223: 75f6490
  45215: 446ad21
v: v3
  • Loading branch information
Ard van Breemen authored and Linus Torvalds committed Jan 6, 2007
1 parent 2f0dff3 commit dc7d0f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c4a68306b9c0939b3facdad2cc5e34d660ff463a
refs/heads/master: a416aba637dcb4127595c02a59041cd278422f7e
6 changes: 6 additions & 0 deletions trunk/kernel/params.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,15 @@ int parse_args(const char *name,

while (*args) {
int ret;
int irq_was_disabled;

args = next_arg(args, &param, &val);
irq_was_disabled = irqs_disabled();
ret = parse_one(param, val, params, num, unknown);
if (irq_was_disabled && !irqs_disabled()) {
printk(KERN_WARNING "parse_args(): option '%s' enabled "
"irq's!\n", param);
}
switch (ret) {
case -ENOENT:
printk(KERN_ERR "%s: Unknown parameter `%s'\n",
Expand Down

0 comments on commit dc7d0f5

Please sign in to comment.