android_kernel_xiaomi_sm7250/arch
Isaac J. Manjarres e1bdae2e7a lib: refcount: Cause kernel panic on refcount error detection
Currently, when using the refcount API functions,
a warning is printed out once to let a user of
the refcount API know that an error case has been
detected. Then the refcount functions will
silently return, without modifying the reference count, which
could be mistaken for a successful modification. This can
allow for improper use of the object associated with that
refcount later. Trigger a kernel panic in case of refcount
error detection to prevent misuse of objects associated with
refcounts.

Change-Id: Ifb6a331d08a7d6c285225bc9667d2f4054db3561
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Signed-off-by: Venkata Narendra Kumar Gutta <vnkgutta@codeaurora.org>
2018-12-06 11:16:48 -08:00
..
alpha
arc ARC: clone syscall to setp r25 as thread pointer 2018-10-05 14:33:29 -07:00
arm sysctl: add cold_boot sysctl entry 2018-11-08 14:26:43 -08:00
arm64 Merge "arm64: defconfig: Enable SPS driver on Kona" 2018-12-05 15:42:25 -08:00
c6x
h8300
hexagon
ia64
m68k
microblaze
mips MIPS: memset: Fix CPU_DADDI_WORKAROUNDS `small_fixup' regression 2018-10-05 09:41:39 -07:00
nds32
nios2
openrisc
parisc parisc: Fix uninitialized variable usage in unwind.c 2018-10-16 11:37:29 +02:00
powerpc libnvdimm/dax 4.19-rc8 2018-10-14 08:34:31 +02:00
riscv
s390 s390 fixes for 4.19-rc8 2018-10-10 08:44:35 +02:00
sh
sparc sparc: vDSO: Silence an uninitialized variable warning 2018-10-17 21:55:02 -07:00
um
unicore32
x86 Merge remote-tracking branch 'origin/tmp-84df952' into msm-kona 2018-10-22 12:13:36 -07:00
xtensa
.gitignore
Kconfig lib: refcount: Cause kernel panic on refcount error detection 2018-12-06 11:16:48 -08:00