From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8546C433EF for ; Tue, 19 Apr 2022 07:37:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349463AbiDSHki (ORCPT ); Tue, 19 Apr 2022 03:40:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349460AbiDSHkd (ORCPT ); Tue, 19 Apr 2022 03:40:33 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94CF923155 for ; Tue, 19 Apr 2022 00:37:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=vjOnXjNPEqRmHx/BeXVW6346i3KEjyA9mSSIl0BRIaU=; b=P7lbS84w0PHNRblktdOPrgpRCo rd1P4AnGxndKibk7wYydSXu65UqO1XhLTvbfIdNPPv/717lqErU7EG4v9RJdgtoxHb9HF+7E+CG1/ vB0k3zVCigrIRTx6mdFT37tRTvIxdQqSiY0UkjmNI23r1CTXLNKORuVRd6cKwLdqOyyhn1JCuXDUN hoROoKKVoxggMmTvGRHboIyYIN9IuNE8LwPRoMFZCvMoS1ropYg/HC7RLD8vmZ78DCNhtUwEyMxBG xDK6l+B4KEeNCNc87YZRg4Jh6CgBzASCyNO2YkZXnEZZAV2S602yMNEyllsUKqqQLZ0nEC2A32GWE HfMLtnnQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngiQY-006khl-LL; Tue, 19 Apr 2022 07:37:35 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 9703298618A; Tue, 19 Apr 2022 09:37:32 +0200 (CEST) Date: Tue, 19 Apr 2022 09:37:32 +0200 From: Peter Zijlstra To: liqiong Cc: Thomas Gleixner , Dave Hansen , x86@kernel.org, linux-kernel@vger.kernel.org, yuzhe@nfschina.com, renyu@nfschina.com Subject: Re: [PATCH] arch/x86: use 'NULL' insteadof '0' as null pointer Message-ID: <20220419073732.GJ2731@worktop.programming.kicks-ass.net> References: <20220417154148.541485-1-liqiong@nfschina.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220417154148.541485-1-liqiong@nfschina.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 17, 2022 at 11:41:48PM +0800, liqiong wrote: > Sparse warns: "Using plain integer as NULL pointer". What's wrong with that?