From 3a5e426f7e16a1569a0f58750a12def83ba2a3e9 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Wed, 3 Apr 2013 08:59:45 +0300 Subject: [PATCH] db: fixup_kernel.sh: (struct mISDNchannel)->send information is bogus The problem here is that it calls itself recursively so if bad information gets into it, then it never comes out. Really no one cares about this function pointer. Just discard everything except the records of where it was called. Signed-off-by: Dan Carpenter --- smatch_data/db/fixup_kernel.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/smatch_data/db/fixup_kernel.sh b/smatch_data/db/fixup_kernel.sh index d59a9b71..4d178096 100755 --- a/smatch_data/db/fixup_kernel.sh +++ b/smatch_data/db/fixup_kernel.sh @@ -10,6 +10,8 @@ delete from caller_info where function = '(struct file_operations)->read' and fi delete from caller_info where function = '(struct file_operations)->write' and file != 'fs/read_write.c'; delete from caller_info where function = '(struct notifier_block)->notifier_call' and type != 0; +delete from caller_info where function = '(struct mISDNchannel)->send' and type != 0; + delete from caller_info where caller = 'hid_input_report' and type = 3; delete from caller_info where caller = 'nes_process_iwarp_aeqe' and type = 3; delete from caller_info where caller = 'oz_process_ep0_urb' and type = 3; -- 2.11.4.GIT