Re: [PATCH -next] Bluetooth: btusb: Remove return statement in btintel_reset_to_bootloader

2019-10-19 Thread Marcel Holtmann
Hi Nathan, > When building with Clang and CONFIG_BT_INTEL unset, the following error > occurs: > > In file included from drivers/bluetooth/hci_ldisc.c:34: > drivers/bluetooth/btintel.h:188:2: error: void function > 'btintel_reset_to_bootloader' should not return a value [-Wreturn-type] >r

[bug?] LTP pt_test failing after 38bb8d77d0b9 "perf/x86/intel/pt: Split ToPA metadata and page layout"

2019-10-19 Thread Jan Stancek
Hi, All variants of pt_test: https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/tracing/pt_test/pt_test.c started failing after: 38bb8d77d0b9 ("perf/x86/intel/pt: Split ToPA metadata and page layout") with following error on console/dmesg: pt: ToPA ERROR encountered, tr

Re: [PATCH] random: make try_to_generate_entropy() more robust

2019-10-19 Thread Ingo Molnar
* Linus Torvalds wrote: > On Fri, Oct 18, 2019 at 4:42 PM Jörn Engel wrote: > > > > We can generate entropy on almost any CPU, even if it doesn't provide a > > high-resolution timer for random_get_entropy(). As long as the CPU is > > not idle, it changed the register file every few cycles. A

Re: [tip: x86/asm] x86/asm/ftrace: Mark function_hook as function

2019-10-19 Thread Borislav Petkov
On Fri, Oct 18, 2019 at 04:31:25PM -0400, Steven Rostedt wrote: > Still looks ugly ;-) See below. I think it's not so bad. It is only built-tested on 64-bit and objtool complains about something again: arch/x86/kernel/ftrace_64.o: warning: objtool: .entry.text+0x0: unreachable instruction but I

Re: [PATCH 1/2] mfd: mfd-core: Allocate reference counting memory directly to the platform device

2019-10-19 Thread Lee Jones
On Fri, 18 Oct 2019, Daniel Thompson wrote: > On Fri, Oct 18, 2019 at 01:26:46PM +0100, Lee Jones wrote: > > MFD provides reference counting (for the 2 consumers who actually use it!) > > via mfd_cell's 'usage_count' member. However, since MFD cells become > > read-only (const), MFD needs to allo

Re: [PATCH 2/2] mfd: mfd-core: Honour Device Tree's request to disable a child-device

2019-10-19 Thread Lee Jones
Good morning Robin, It's been a while. I hope that you are well. Thanks for taking an interest. On Fri, 18 Oct 2019, Robin Murphy wrote: > On 18/10/2019 13:26, Lee Jones wrote: > > Until now, MFD has assumed all child devices passed to it (via > > mfd_cells) are to be registered. It does not t

[tip: perf/core] perf/core: Fix !CONFIG_PERF_EVENTS build warnings and failures

2019-10-19 Thread tip-bot2 for Ingo Molnar
The following commit has been merged into the perf/core branch of tip: Commit-ID: ae79d5588a04aec9dc4b0c6df700d131447306e0 Gitweb: https://git.kernel.org/tip/ae79d5588a04aec9dc4b0c6df700d131447306e0 Author:Ingo Molnar AuthorDate:Sat, 19 Oct 2019 09:15:27 +02:00 Committer:

[PATCH 1/2] lib/bsearch.c: introduce bsearch_idx

2019-10-19 Thread Thomas Meyer
many existing bsearch implementations don't want to have the pointer to the found element, but the index position, or if the searched element doesn't exist, the index position the search element would be placed in the array. Signed-off-by: Thomas Meyer --- include/linux/bsearch.h | 7 + lib

[PATCH 2/2] xfs: replace homemade binary search

2019-10-19 Thread Thomas Meyer
use newly introduced bsearch_idx instead. Signed-off-by: Thomas Meyer --- fs/xfs/libxfs/xfs_dir2_block.c | 30 ++ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/fs/xfs/libxfs/xfs_dir2_block.c b/fs/xfs/libxfs/xfs_dir2_block.c index 9595ced393dce..e484e

<    1   2   3