Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5032887ybl; Wed, 22 Jan 2020 09:03:58 -0800 (PST) X-Google-Smtp-Source: APXvYqwZ/5GBMdJ9DMksNxHZwkI7yuSGrz97JKB3YJG86CgucAkGl+Rx+3E1j/GC35Hm2vG5BG1p X-Received: by 2002:aca:4106:: with SMTP id o6mr7490155oia.173.1579712638527; Wed, 22 Jan 2020 09:03:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579712638; cv=none; d=google.com; s=arc-20160816; b=Zp1tTvXdYQgTbICMlqcQcO7kJ4o2HXVZsa9woe5NnxfT2GwVLnqD0kvh6Gw8faAbzd YcswEl/hEvoY8Y4bdq4b4Nuqp99L23P5VeoNWzg5RRFVtGS/mSeVSdEZ9u3I+z7tMNzZ pYosmotdj6PyCAQZg5DKNymqAoXKSJL79RpzOM7GlrvWN7QAEGVoUr0E20wBVWI6f01U VZPYrs/YzoBEPSk9xE6G1CRf+6Ye5Xm3ZWSYR+Btmz6ExY0+iXDfLtI7BRrI0PJ0EaM/ ogeoB8EGe2v1TcZEme/imYdQMQBiA+UFzP6mueQfaW8rc4lo9cyVy3BjEonqvf2z1tWv +z8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=jqNBkbZMwy19kOHcx6NrygN9IcG823sl9KjLJVX13II=; b=InMqMXz2+nu49ZkoVnCJIc/ebicWFV6nesoKBe5NmM+MQuwmso4E7dj8OqadvrXmml /3tNqevRq0BIuhL21eL8/yJDFdNZC2OSJIK/yq8aj7bXwHKkMSAOKgEQm9ZN8NJVjCBB 36TxXWGjbKU6lj9va2Nn9LV/qcJ5L+UOWTtbi2VMY2ApuXH8vkd1yLTNsqgc8Ouqmq0S NKOpxGVikV2vQxSj6T++6Wv+CGjA9maD+/iGjByBqSSo8X28IyHyDcVrD/TOhbXqfXfy PMjjNsW2mxLizLOimN3oTXRJ5igljBH5Fn0xyHWh3b1DlKFL7cHzfUQu9nUIka0zruHP zQRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=udoNc8+p; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6si24089337oti.4.2020.01.22.09.03.38; Wed, 22 Jan 2020 09:03:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=udoNc8+p; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728927AbgAVRDc (ORCPT + 99 others); Wed, 22 Jan 2020 12:03:32 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:33794 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728901AbgAVRDc (ORCPT ); Wed, 22 Jan 2020 12:03:32 -0500 Received: by mail-pl1-f193.google.com with SMTP id c9so31195plo.1; Wed, 22 Jan 2020 09:03:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=jqNBkbZMwy19kOHcx6NrygN9IcG823sl9KjLJVX13II=; b=udoNc8+pJuT1/uLXNiK/pdBWmz4h5ouYltOmOXxoesWun39QRITmN2aPCFYQurU1yr zANY36cnhereu90S2EOXl+gUtZOy/uMty/7j+ukXQlE1/Dfkwnieuw4opEpaux0Eos/k T3CaW1rdIFo/Fw6jMYE7xwFZwjJ6u3qoweN4+reZw3dJXhDfEgeJEWnwiNeWaINTr8Aq xA60sss57Rq+7/EHNVwlLB6VzhO3yhq5S4I/SXA8KZme5qbJqmBs7iN1TuaxF3/5qEd2 ZQu0vOXzMgtcJdO55ITMCXUYlfa4byZjiRQiRMsKLl8kGBQTxb4kBzJ7Sl70QQLSMNjl EI/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jqNBkbZMwy19kOHcx6NrygN9IcG823sl9KjLJVX13II=; b=C35DMxWpxphvIxABwD4OWFVDWbvMm5JbICxma4tulcV6zCmqTrViZM7L9181QvdH0t l3aDsurwzkqDr7FBz5rbb9rJxZYGGLcASqZ36U4bCZH9hXVxG5dn3hJ7t0Lx+P92tkxH zbX9NGFR/+6pcFrzwKI9jC5Zd2I0YSw5nk9viNermW8v6e/QQ64FMS7zMJScIkYEohny CjllTpdalV3PlZ6GXwJw839F3X76c2r3B8R0guNB24kLfaEOypulwWEM2pk3/0RSVQ/w crVk/72GgYNpHNXt0gvrstrACDNtJLtucs6g8OA80pEHDf6VSzbG94U1UJt3AFfjxAOE 3YSg== X-Gm-Message-State: APjAAAW5zLK/ci9cW4jR4FL9hASnyLmhGTV04eHGlVjzElTa2HW+wavm BAwP1Ajik580QCPSKUul2J4y85g= X-Received: by 2002:a17:90a:fa88:: with SMTP id cu8mr3848711pjb.141.1579712611677; Wed, 22 Jan 2020 09:03:31 -0800 (PST) Received: from madhuparna-HP-Notebook.nitk.ac.in ([2402:3a80:1eee:fc60:1df1:6c1a:3227:9ec0]) by smtp.gmail.com with ESMTPSA id b8sm48682682pfr.64.2020.01.22.09.03.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2020 09:03:31 -0800 (PST) From: madhuparnabhowmik10@gmail.com To: steffen.klassert@secunet.com Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, joel@joelfernandes.org, frextrite@gmail.com, rcu@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, paulmck@kernel.org, Madhuparna Bhowmik Subject: [PATCH] padata.h: Annotate parallel_data with __rcu Date: Wed, 22 Jan 2020 22:32:46 +0530 Message-Id: <20200122170246.20177-1-madhuparnabhowmik10@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Madhuparna Bhowmik 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 --- 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