All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] padata.h: Annotate parallel_data with __rcu
@ 2020-01-22 17:02 ` madhuparnabhowmik10
  0 siblings, 0 replies; 6+ messages in thread
From: madhuparnabhowmik10 @ 2020-01-22 17:02 UTC (permalink / raw)
  To: steffen.klassert
  Cc: linux-crypto, linux-kernel, joel, frextrite, rcu,
	linux-kernel-mentees, paulmck, Madhuparna Bhowmik

From: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>

This patch fixes the following sparse errors:
kernel/padata.c:110:14: error: incompatible types in comparison expression
kernel/padata.c:520:9: error: incompatible types in comparison expression
kernel/padata.c:1000:9: error: incompatible types in comparison expression

Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
---
 include/linux/padata.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/padata.h b/include/linux/padata.h
index 23717eeaad23..72a081dd2b73 100644
--- a/include/linux/padata.h
+++ b/include/linux/padata.h
@@ -143,7 +143,7 @@ struct padata_instance {
 	struct hlist_node		 node;
 	struct workqueue_struct		*parallel_wq;
 	struct workqueue_struct		*serial_wq;
-	struct parallel_data		*pd;
+	struct parallel_data __rcu		*pd;
 	struct padata_cpumask		cpumask;
 	struct blocking_notifier_head	 cpumask_change_notifier;
 	struct kobject                   kobj;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Linux-kernel-mentees] [PATCH] padata.h: Annotate parallel_data with __rcu
@ 2020-01-22 17:02 ` madhuparnabhowmik10
  0 siblings, 0 replies; 6+ messages in thread
From: madhuparnabhowmik10 @ 2020-01-22 17:02 UTC (permalink / raw)
  To: steffen.klassert
  Cc: paulmck, linux-kernel, rcu, Madhuparna Bhowmik, linux-crypto,
	joel, linux-kernel-mentees

From: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>

This patch fixes the following sparse errors:
kernel/padata.c:110:14: error: incompatible types in comparison expression
kernel/padata.c:520:9: error: incompatible types in comparison expression
kernel/padata.c:1000:9: error: incompatible types in comparison expression

Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
---
 include/linux/padata.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/padata.h b/include/linux/padata.h
index 23717eeaad23..72a081dd2b73 100644
--- a/include/linux/padata.h
+++ b/include/linux/padata.h
@@ -143,7 +143,7 @@ struct padata_instance {
 	struct hlist_node		 node;
 	struct workqueue_struct		*parallel_wq;
 	struct workqueue_struct		*serial_wq;
-	struct parallel_data		*pd;
+	struct parallel_data __rcu		*pd;
 	struct padata_cpumask		cpumask;
 	struct blocking_notifier_head	 cpumask_change_notifier;
 	struct kobject                   kobj;
-- 
2.17.1

_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] padata.h: Annotate parallel_data with __rcu
  2020-01-22 17:02 ` [Linux-kernel-mentees] " madhuparnabhowmik10
@ 2020-01-23 16:08   ` Daniel Jordan
  -1 siblings, 0 replies; 6+ messages in thread
From: Daniel Jordan @ 2020-01-23 16:08 UTC (permalink / raw)
  To: madhuparnabhowmik10
  Cc: steffen.klassert, linux-crypto, linux-kernel, joel, frextrite,
	rcu, linux-kernel-mentees, paulmck, Herbert Xu

[add Herbert]

Hi Madhuparna,

On Wed, Jan 22, 2020 at 10:32:46PM +0530, madhuparnabhowmik10@gmail.com wrote:
> From: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
> 
> This patch fixes the following sparse errors:
> kernel/padata.c:110:14: error: incompatible types in comparison expression
> kernel/padata.c:520:9: error: incompatible types in comparison expression
> kernel/padata.c:1000:9: error: incompatible types in comparison expression

This recent patch to padata in the cryptodev tree has fixed these sparse errors
and is heading for mainline soon:

https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=bbefa1dd6a6d53537c11624752219e39959d04fb

Thanks,
Daniel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Linux-kernel-mentees] [PATCH] padata.h: Annotate parallel_data with __rcu
@ 2020-01-23 16:08   ` Daniel Jordan
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel Jordan @ 2020-01-23 16:08 UTC (permalink / raw)
  To: madhuparnabhowmik10
  Cc: steffen.klassert, Herbert Xu, paulmck, linux-kernel, rcu,
	linux-crypto, joel, linux-kernel-mentees

[add Herbert]

Hi Madhuparna,

On Wed, Jan 22, 2020 at 10:32:46PM +0530, madhuparnabhowmik10@gmail.com wrote:
> From: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
> 
> This patch fixes the following sparse errors:
> kernel/padata.c:110:14: error: incompatible types in comparison expression
> kernel/padata.c:520:9: error: incompatible types in comparison expression
> kernel/padata.c:1000:9: error: incompatible types in comparison expression

This recent patch to padata in the cryptodev tree has fixed these sparse errors
and is heading for mainline soon:

https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=bbefa1dd6a6d53537c11624752219e39959d04fb

Thanks,
Daniel
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] padata.h: Annotate parallel_data with __rcu
  2020-01-23 16:08   ` [Linux-kernel-mentees] " Daniel Jordan
@ 2020-01-24  4:26     ` Madhuparna Bhowmik
  -1 siblings, 0 replies; 6+ messages in thread
From: Madhuparna Bhowmik @ 2020-01-24  4:26 UTC (permalink / raw)
  To: Daniel Jordan
  Cc: madhuparnabhowmik10, steffen.klassert, linux-crypto,
	linux-kernel, joel, frextrite, rcu, linux-kernel-mentees,
	paulmck, Herbert Xu

On Thu, Jan 23, 2020 at 11:08:50AM -0500, Daniel Jordan wrote:
> [add Herbert]
> 
> Hi Madhuparna,
> 
> On Wed, Jan 22, 2020 at 10:32:46PM +0530, madhuparnabhowmik10@gmail.com wrote:
> > From: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
> > 
> > This patch fixes the following sparse errors:
> > kernel/padata.c:110:14: error: incompatible types in comparison expression
> > kernel/padata.c:520:9: error: incompatible types in comparison expression
> > kernel/padata.c:1000:9: error: incompatible types in comparison expression
> 
> This recent patch to padata in the cryptodev tree has fixed these sparse errors
> and is heading for mainline soon:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=bbefa1dd6a6d53537c11624752219e39959d04fb
>
Thank you for letting me know about this.

Regards,
Madhuparna

> Thanks,
> Daniel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Linux-kernel-mentees] [PATCH] padata.h: Annotate parallel_data with __rcu
@ 2020-01-24  4:26     ` Madhuparna Bhowmik
  0 siblings, 0 replies; 6+ messages in thread
From: Madhuparna Bhowmik @ 2020-01-24  4:26 UTC (permalink / raw)
  To: Daniel Jordan
  Cc: steffen.klassert, Herbert Xu, paulmck, linux-kernel, rcu,
	madhuparnabhowmik10, linux-crypto, joel, linux-kernel-mentees

On Thu, Jan 23, 2020 at 11:08:50AM -0500, Daniel Jordan wrote:
> [add Herbert]
> 
> Hi Madhuparna,
> 
> On Wed, Jan 22, 2020 at 10:32:46PM +0530, madhuparnabhowmik10@gmail.com wrote:
> > From: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
> > 
> > This patch fixes the following sparse errors:
> > kernel/padata.c:110:14: error: incompatible types in comparison expression
> > kernel/padata.c:520:9: error: incompatible types in comparison expression
> > kernel/padata.c:1000:9: error: incompatible types in comparison expression
> 
> This recent patch to padata in the cryptodev tree has fixed these sparse errors
> and is heading for mainline soon:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=bbefa1dd6a6d53537c11624752219e39959d04fb
>
Thank you for letting me know about this.

Regards,
Madhuparna

> Thanks,
> Daniel
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-24  4:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22 17:02 [PATCH] padata.h: Annotate parallel_data with __rcu madhuparnabhowmik10
2020-01-22 17:02 ` [Linux-kernel-mentees] " madhuparnabhowmik10
2020-01-23 16:08 ` Daniel Jordan
2020-01-23 16:08   ` [Linux-kernel-mentees] " Daniel Jordan
2020-01-24  4:26   ` Madhuparna Bhowmik
2020-01-24  4:26     ` [Linux-kernel-mentees] " Madhuparna Bhowmik

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.