mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
ANDROID: Disable wq fp check in CFI builds
With non-canonical CFI, LLVM generates jump table entries for external symbols in modules and as a result, a function pointer passed from a module to the core kernel will have a different address. Disable the warning for now. Bug: 145210207 Change-Id: Ifdcee3479280f7b97abdee6b4c746f447e0944e6 Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Signed-off-by: Alistair Delva <adelva@google.com>
This commit is contained in:
parent
34a0950742
commit
fc33a8fd54
|
|
@ -1619,7 +1619,9 @@ static void __queue_delayed_work(int cpu, struct workqueue_struct *wq,
|
|||
struct work_struct *work = &dwork->work;
|
||||
|
||||
WARN_ON_ONCE(!wq);
|
||||
#ifndef CONFIG_CFI
|
||||
WARN_ON_ONCE(timer->function != delayed_work_timer_fn);
|
||||
#endif
|
||||
WARN_ON_ONCE(timer_pending(timer));
|
||||
WARN_ON_ONCE(!list_empty(&work->entry));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user