[RT PATCH] locking/rwsem-rt: Remove might_sleep() in __up_read()

2021-04-06 Thread Andrew Halaney
There's no chance of sleeping here, the reader is giving up the lock and possibly waking up the writer who is waiting on it. Reported-by: Chunyu Hu Signed-off-by: Andrew Halaney --- Hello, I ran into a warning caused by this, and I think the warning is incorrect. Please let me know i

[RT v5.12-rc3-rt3] __call_rcu with KASAN causes invalid sleeping function call

2021-03-26 Thread Andrew Halaney
Hi, I booted the RT kernel (v5.12-rc3-rt3) with KASAN enabled for the first time today and noticed this: [2.670635] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:951 [2.670638] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 19, name: pgdatinit0 [

Re: [PATCH] pinctrl: nomadik: remove an unused variable

2020-12-30 Thread Andrew Halaney
-- > 2.29.2 > Got rid of the warning for me, I don't have hardware to test on but I don't think that's necessary for this. Tested-by: Andrew Halaney Reviewed-by: Andrew Halaney Thanks, Andrew