projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove libdss from Makefile
[GitHub/moto-9609/android_kernel_motorola_exynos9610.git]
/
lib
/
bug.c
diff --git
a/lib/bug.c
b/lib/bug.c
index a6a1137d06db75f94d005a9e646e061847be1c93..d2c9a099561ab0a4c6cd1a3c8fa59e81faba81d9 100644
(file)
--- a/
lib/bug.c
+++ b/
lib/bug.c
@@
-1,3
+1,4
@@
+// SPDX-License-Identifier: GPL-2.0
/*
Generic support for BUG()
@@
-149,6
+150,8
@@
enum bug_trap_type report_bug(unsigned long bugaddr, struct pt_regs *regs)
return BUG_TRAP_TYPE_NONE;
bug = find_bug(bugaddr);
+ if (!bug)
+ return BUG_TRAP_TYPE_NONE;
file = NULL;
line = 0;