Skip to content

Commit

Permalink
kernel_irq_context: add (struct irqaction)->handler as an ignored fun…
Browse files Browse the repository at this point in the history
…ction

We already track the IRQ handler so this information is not useful and
it's possibly wrong for our needs.  (We want to ignore threaded IRQs).

Signed-off-by: Dan Carpenter <[email protected]>
  • Loading branch information
Dan Carpenter committed Feb 19, 2024
1 parent d010690 commit eb44e21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions smatch_kernel_irq_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ static bool is_ignored_fn(struct expression *expr)
strcmp(fn, "call_mmap") == 0 ||
strcmp(fn, "(struct comedi_subdevice)->cancel") == 0 ||
strcmp(fn, "(struct flexcop_device)->read_ibi_reg") == 0 ||
strcmp(fn, "(struct irqaction)->handler") == 0 || /* called from __handle_irq_event_percpu() */
strcmp(fn, "(struct spi_message)->complete") == 0 ||
strcmp(fn, "(struct usb_gadget_driver)->setup") == 0 ||
strcmp(fn, "(struct v4l2_subdev_core_ops)->interrupt_service_routine") == 0 ||
Expand Down

0 comments on commit eb44e21

Please sign in to comment.