[PATCH] usb: misc: usb3503: Fix compile error due to incorrect regmap depedency

2013-10-15 Thread Matthew Dawson
The USB3503 driver had an incorrect depedency on REGMAP, instead of REGMAP_I2C. This caused the build to fail since the necessary regmap i2c pieces were not available. Signed-off-by: Matthew Dawson matt...@mjdsystems.ca --- drivers/usb/misc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] mm/mempool: Avoid KASAN marking mempool posion checks as use-after-free

2016-03-08 Thread Matthew Dawson
When removing an element from the mempool, mark it as unpoisoned in KASAN before verifying its contents for SLUB/SLAB debugging. Otherwise KASAN will flag the reads checking the element use-after-free writes as use-after-free reads. Signed-off-by: Matthew Dawson <matt...@mjdsystems.ca> -

[PATCH] usb: misc: usb3503: Fix compile error due to incorrect regmap depedency

2013-10-15 Thread Matthew Dawson
The USB3503 driver had an incorrect depedency on REGMAP, instead of REGMAP_I2C. This caused the build to fail since the necessary regmap i2c pieces were not available. Signed-off-by: Matthew Dawson --- drivers/usb/misc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] tools build: Fix clang detection with clang >= 8.0

2019-08-12 Thread Matthew Dawson
der for llvm >= 8. Signed-off-by: Matthew Dawson --- tools/build/feature/test-clang.cpp | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/build/feature/test-clang.cpp b/tools/build/feature/test-clang.cpp index a2b3f092d2f0..313ef1568880 100644 --- a/tools/build/featur

[PATCH] mm/mempool: Avoid KASAN marking mempool posion checks as use-after-free

2016-03-08 Thread Matthew Dawson
When removing an element from the mempool, mark it as unpoisoned in KASAN before verifying its contents for SLUB/SLAB debugging. Otherwise KASAN will flag the reads checking the element use-after-free writes as use-after-free reads. Signed-off-by: Matthew Dawson --- mm/mempool.c | 2 +- 1 file