Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1589701ybl; Thu, 30 Jan 2020 02:33:13 -0800 (PST) X-Google-Smtp-Source: APXvYqzqE3YbfAu9Z2XAZOV83i+yc7QkkW+fAwiC8CjnWoT3juu/23p2liQ6YNTwGg7gtdCUIIao X-Received: by 2002:a05:6830:1d93:: with SMTP id y19mr3061629oti.350.1580380393702; Thu, 30 Jan 2020 02:33:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580380393; cv=none; d=google.com; s=arc-20160816; b=1J7BivGxfZJlFNgVSHnwT0qCrKeX0ET+Ckf9r0LbANkNOWUxbXHRVWP5BRQLqBa215 zXoq33fwMfIcqenUTIaTZqULkj6HxnWBVPTkxslbTakGnhcdSkV/kcPoCnMLPInlzdlQ u7VQYrmDp6ocXWei0NetxLPXluLspG1sVeif8eoITCNGXwLyoB1rZMyIaPrjtqzC1bCf sFeTzv7c4kMQdNfQQHOvAP2DTeYrwsG71bpiZxOIg0OqXuh7urLbC4Vr2CHYLb/YefjI m+o8YZVTjuoOXK846YKseXDsaSV22d4aLVjuXPaK6YNHfovULDkq2mKoPZtMchVq7SJs 9qMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=peLTeNKJLJSQV1og83p2QHyuiYopA9IOIRX1MfBZSl8=; b=B1kyBbI3IwDZOVXJOl3a9+jRFGAstPPDs4H0WMT2qTkMLDGrZLspzriEfQAAPRjOnE ja1RAHEvTIbYc1+eYAPHKGWjnN6CGVTh5KF6y11o8iCIs3hL1dinXxtVk6sm4bIcj02d eR1GceBTduExCq+/62LjnVq+dJRQk+sc1t+kpKSPo1aNeF7IrUPNsfZCyFdtKILK6xVC tYvsGchmtAiKGnPYB6Q6zAG75TGyx8YZo8io30Xeofk/QXAu/EpHK2h0G/3GM4j7npdv CDksrh4GoI5FVfbgaHjl7xzaYS59q+tVVizxwvPhRP4a3E9gOBgWJfQ7Oj6WROVLsG0v qxVA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j12si2782145otk.276.2020.01.30.02.33.01; Thu, 30 Jan 2020 02:33:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727036AbgA3KcJ (ORCPT + 99 others); Thu, 30 Jan 2020 05:32:09 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:55694 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726873AbgA3KcJ (ORCPT ); Thu, 30 Jan 2020 05:32:09 -0500 Received: from [89.27.154.14] (helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ix779-00009R-Gd; Thu, 30 Jan 2020 10:31:59 +0000 Date: Thu, 30 Jan 2020 11:31:58 +0100 From: Christian Brauner To: madhuparnabhowmik10@gmail.com Cc: peterz@infradead.org, mingo@kernel.org, oleg@redhat.com, paulmck@kernel.org, linux-kernel@vger.kernel.org, joel@joelfernandes.org, linux-kernel-mentees@lists.linuxfoundation.org, rcu@vger.kernel.org Subject: Re: [PATCH] exit.c: Fix Sparse errors and warnings Message-ID: <20200130103158.azxldyfnugwvv6vy@wittgenstein> References: <20200130062028.4870-1-madhuparnabhowmik10@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200130062028.4870-1-madhuparnabhowmik10@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 30, 2020 at 11:50:28AM +0530, madhuparnabhowmik10@gmail.com wrote: > From: Madhuparna Bhowmik > > This patch fixes the following sparse error: > kernel/exit.c:627:25: error: incompatible types in comparison expression > > And the following warning: > kernel/exit.c:626:40: warning: incorrect type in assignment > > Signed-off-by: Madhuparna Bhowmik I think the previous version was already fine but hopefully RCU_INIT_POINTER() really saves some overhead. In any case: Acked-by: Christian Brauner