From 32cdd1cafca041021082a1386f5a5b51a7f18cbc Mon Sep 17 00:00:00 2001 From: Guillaume Knispel Date: Thu, 31 Jan 2013 18:47:40 +0100 Subject: remove ref to megrez and TAINT_CRAP xivo_tdm --- tdm/xivo_tdm.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tdm/xivo_tdm.c') diff --git a/tdm/xivo_tdm.c b/tdm/xivo_tdm.c index f48366d..28cf9be 100644 --- a/tdm/xivo_tdm.c +++ b/tdm/xivo_tdm.c @@ -1500,10 +1500,20 @@ static enum hrtimer_restart debug_trace(struct hrtimer *timer) #endif /* DEBUGFS_MY_STUFF */ + +static inline void my_add_taint_module(struct module *mod, unsigned flag) +{ + add_taint(flag); + mod->taints |= (1U << flag); +} + + static int __init xivo_tdm_init(void) { int rc; + my_add_taint_module(THIS_MODULE, TAINT_CRAP); + #ifdef DEBUGFS_MY_STUFF spin_lock_init(&debug_lock); debug_index = -1; -- cgit v1.2.3