* [PATCH] crypto/ccp: remove rwlocks_types.h
@ 2016-05-11 10:06 Sebastian Andrzej Siewior
2016-05-11 16:21 ` Tom Lendacky
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2016-05-11 10:06 UTC (permalink / raw)
To: linux-crypto
Cc: Tom Lendacky, Herbert Xu, tglx, Peter Zijlstra,
Sebastian Andrzej Siewior
Users of rwlocks should include spinlock.h instead including this
header file. The current users of rwlocks_types.h are internal.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
drivers/crypto/ccp/ccp-dev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/crypto/ccp/ccp-dev.c b/drivers/crypto/ccp/ccp-dev.c
index 4dbc18727235..2a8ad712a5f2 100644
--- a/drivers/crypto/ccp/ccp-dev.c
+++ b/drivers/crypto/ccp/ccp-dev.c
@@ -16,7 +16,6 @@
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
-#include <linux/rwlock_types.h>
#include <linux/types.h>
#include <linux/mutex.h>
#include <linux/delay.h>
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] crypto/ccp: remove rwlocks_types.h
2016-05-11 10:06 [PATCH] crypto/ccp: remove rwlocks_types.h Sebastian Andrzej Siewior
@ 2016-05-11 16:21 ` Tom Lendacky
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lendacky @ 2016-05-11 16:21 UTC (permalink / raw)
To: Sebastian Andrzej Siewior, linux-crypto; +Cc: Herbert Xu, tglx, Peter Zijlstra
On 05/11/2016 05:06 AM, Sebastian Andrzej Siewior wrote:
> Users of rwlocks should include spinlock.h instead including this
> header file. The current users of rwlocks_types.h are internal.
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
There's already been a patch submitted and accepted for this
in the cryptodev tree:
commit 7587c4075400 ("crypto: ccp - Fix RT breaking #include <linux/rwlock_types.h>")
Thanks,
Tom
> ---
> drivers/crypto/ccp/ccp-dev.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/crypto/ccp/ccp-dev.c b/drivers/crypto/ccp/ccp-dev.c
> index 4dbc18727235..2a8ad712a5f2 100644
> --- a/drivers/crypto/ccp/ccp-dev.c
> +++ b/drivers/crypto/ccp/ccp-dev.c
> @@ -16,7 +16,6 @@
> #include <linux/sched.h>
> #include <linux/interrupt.h>
> #include <linux/spinlock.h>
> -#include <linux/rwlock_types.h>
> #include <linux/types.h>
> #include <linux/mutex.h>
> #include <linux/delay.h>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-11 16:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-11 10:06 [PATCH] crypto/ccp: remove rwlocks_types.h Sebastian Andrzej Siewior
2016-05-11 16:21 ` Tom Lendacky
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.