Skip to content

Commit

Permalink
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker…
Browse files Browse the repository at this point in the history
…nel/git/rusty/linux

Pull module fixes from Rusty Russell:
 "Fixed one missing place for the new taint flag, and remove a warning
  giving only false positives (now we finally figured out why)"

* tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
  module: remove warning about waiting module removal.
  Fix: tracing: use 'E' instead of 'X' for unsigned module taint flag
  • Loading branch information
Linus Torvalds committed May 1, 2014
2 parents b7e1bd9 + 79465d2 commit 60b88f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion include/trace/events/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct module;
{ (1UL << TAINT_OOT_MODULE), "O" }, \
{ (1UL << TAINT_FORCED_MODULE), "F" }, \
{ (1UL << TAINT_CRAP), "C" }, \
{ (1UL << TAINT_UNSIGNED_MODULE), "X" })
{ (1UL << TAINT_UNSIGNED_MODULE), "E" })

TRACE_EVENT(module_load,

Expand Down
3 changes: 0 additions & 3 deletions kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -815,9 +815,6 @@ SYSCALL_DEFINE2(delete_module, const char __user *, name_user,
return -EFAULT;
name[MODULE_NAME_LEN-1] = '\0';

if (!(flags & O_NONBLOCK))
pr_warn("waiting module removal not supported: please upgrade\n");

if (mutex_lock_interruptible(&module_mutex) != 0)
return -EINTR;

Expand Down

0 comments on commit 60b88f3

Please sign in to comment.