Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp682401ybl; Tue, 28 Jan 2020 10:03:52 -0800 (PST) X-Google-Smtp-Source: APXvYqw4SJxjw5UIpOL7H82fr62d566usmlCLTa61YWfo8MqhyTXXG0dFxKaV386LxVSEiOkIP4o X-Received: by 2002:a05:6830:4c7:: with SMTP id s7mr6749172otd.359.1580234632506; Tue, 28 Jan 2020 10:03:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580234632; cv=none; d=google.com; s=arc-20160816; b=zwYPkFKGzhhPnoJTlbZuq84QLSpmbZFqfKnBOwQFvY5Aisob6dHJ7DZ5egCBjt7kZt +UKRg1sUyRKCuE9coxjpw5DE7J1BKlZZuxD9XYn7PtdHLDDj2YNXpDLc/79RBsN8VZUB hkII03eFqgEKPl/qlBxmSxpHSO4hV6SY4QNZKYkm28TnrpNXPrYD8MPvlhXfJseZiR1P /kieDS4ZVQeUQmwfQAEHgaciK512Iw8Ro1CGvLaraMDjbhvQr9MYhTj3Z0xAb4YID0/n OipZy8j80Fg3aohL975t+j7Fw7psHlpQU9mb8l6KfMNBxDR6nlZjt+wbYCZkns1MyRn0 qbxg== 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=g0zW0r1uJJ9CIgFjRq10S3oZfVh1Loy7Gii/hG9Jfjk=; b=QkLOMF5KUIrl3exIvfvLKYZCqCGMeFMcmxYkVyzClx9USnoo7EIPhlcmqVnHIwgoFL O6gDpDObC9TTsKtUXHJ0mxBjH/GJT2XC2lnevkSnKQCi+p4xyRUaALK0QXM/expdzYtz ZTfXxJvagPv5+4f9WjoZkQmNG1POnMvkP170JvLBTQSWf/4zBbOV9oKsjpZy0xwN8P2z ypkhH5L60jMh+n62LTHi85oYu4PmwbSE5iamVqrfGhMCyk91qnzCL/J0qYcdVlNiprgc 5t292s79CKsPEnh25piUSsPyWchiLkbAGULLUDiCN9+Nz9VhlO+6x0E6sOPmrw7rJAyE XFvQ== 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 m17si4665210otk.109.2020.01.28.10.03.36; Tue, 28 Jan 2020 10:03:52 -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 S1726520AbgA1SBd (ORCPT + 99 others); Tue, 28 Jan 2020 13:01:33 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:34845 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726066AbgA1SBd (ORCPT ); Tue, 28 Jan 2020 13:01:33 -0500 Received: from ip5f5bd665.dynamic.kabel-deutschland.de ([95.91.214.101] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iwVB2-00023P-Og; Tue, 28 Jan 2020 18:01:28 +0000 Date: Tue, 28 Jan 2020 19:01:28 +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: <20200128180128.lxx5cis2d74wolnc@wittgenstein> References: <20200128172008.22665-1-madhuparnabhowmik10@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200128172008.22665-1-madhuparnabhowmik10@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 28, 2020 at 10:50:08PM +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 > caused due to accessing rcu protected pointer without using rcu primitives. > > And the following warning: > > kernel/exit.c:626:40: warning: incorrect type in assignment > > Signed-off-by: Madhuparna Bhowmik Thanks, looks good to me! Acked-by: Christian Brauner