Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3604663pxb; Tue, 19 Apr 2022 06:26:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJRo6JkxZ/JcIhCKUeciuVngXEaw5/Wl6fWMoikrgkMZ7ZVYqNRX1gWqVuySm002/H9ss/ X-Received: by 2002:a17:90b:4d08:b0:1ce:8d09:1c58 with SMTP id mw8-20020a17090b4d0800b001ce8d091c58mr18753959pjb.168.1650374813258; Tue, 19 Apr 2022 06:26:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650374813; cv=none; d=google.com; s=arc-20160816; b=pQ9PCNFsMi7ejF9QzOZtq3mm4Q4jtZzERzaqnVXcEE11mxaVNIJzedVy+vsuxqm10w Jv21F6EU2OK0fB/N8zYR5Im8O3X2mKdMCQxLGE3JWDJ0WQ2oj7FDWu3VZDy1v8xFXSl2 PqKII8GWYOD45YJ0Fzqy+rsppomevKrnlL0AYEhppXUuvkaA8+5/xYfNSKLIts6+cNzt XjLHkcmPrMeIc9dvbLQ9Ri42ETLWvW2qY4wCdwbKBaK3a0VrSi1JPSp4CWzMBWeodxAB KVSUY0TivBKhWCNvvAPPv3WQFmrxkHWpmOkbFKOohbrXchg2kbLL7dtp2VNk2wxJe9Za IpRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vjOnXjNPEqRmHx/BeXVW6346i3KEjyA9mSSIl0BRIaU=; b=uKE0oQJFs4/3Dd0TpYlBvLT9M9T7cv8EGkwZ/NtPDuG+tr0wJ08MnXGiXE6z4WXUYY 27qXXn+RmkqFwxAzyclpdHeQyM6rNTIFZlpuLydvOnMZsWS4nTeEDygA1ye+dUxmxKoQ wP0DIxYkLk/v3hy2m9Tx6QRtd+wcMHj0e8rLvUHb1ATZzc9fN5zA7W2DPnX+czSJMAXP F/jlI3oWMxCpxJ73V1bzZO2Me3Av8gQjQKTdPenaHr0zDVxfFq6tw7qYm/+j7o41NSqk 2kM4P0RfhpKA3FMXoxpT4gdPR92ntA3OE64VaeODHmyJoIQOGcXQ9DVSfFhhoYZS9xkK CyYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=P7lbS84w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n25-20020a63a519000000b003aa4d0000cbsi432051pgf.547.2022.04.19.06.26.37; Tue, 19 Apr 2022 06:26:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=P7lbS84w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349469AbiDSHki (ORCPT + 99 others); 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> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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?