Messages in this thread | | | Date | Thu, 25 Aug 2022 18:09:38 +0200 | From | Sebastian Andrzej Siewior <> | Subject | Re: [PATCH] checkpatch: Print an error if rwlock.h is included directly. |
| |
On 2022-08-16 09:51:18 [+0200], To linux-kernel@vger.kernel.org wrote: > rwlock.h shouldn't be included directly in source code. PREEMPT_RT uses > a different implementation and this rwlock.h include breaks it. > > Add an error message if linux/rwlock.h is included.
This can be ignored, I found a more efficient way of doing this.
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Sebastian
| |