Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3931596rdh; Tue, 28 Nov 2023 07:31:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHofC2rb8WX/EOYde42JYcKlEU1XgFEtinrZZS20UPOOnK6X+MU0Wa3DuJHpMqSGFz7XHSl X-Received: by 2002:a05:6a00:1d13:b0:6c4:dd5b:9747 with SMTP id a19-20020a056a001d1300b006c4dd5b9747mr20045265pfx.17.1701185490323; Tue, 28 Nov 2023 07:31:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701185490; cv=none; d=google.com; s=arc-20160816; b=VHNJ3I6bgNazjqr1fGgPtkcXScxHnfQAoqYiS9Tt4+CC2z3A3gHo8PTrxhiYjHA/6j cE3uTAvFsI/QAY3Y/JnYdj5+DJyQZJgd7/GRYgVPzcFJtBb5Gwk5NtTrI4fLGUnl+roT JRCprrBGA6Ib/mN2erzh1qYQC3d419ptWHs02AxAzrNZWrhq8iVAd629JN0BA/VoL0zA 3o+/BlaUUIgjUkT4w1d0VnnpcPHuHTdfVx1UWETTSJz/93pxdTB7RejctlwEqxgNuwc6 PV1iAFEVY9kGh6+KOYlFH+Gzok2iOmQO+I1RgNvKDGV9tTJCyiER1/O3NYkm8Iu4s9Kd JJ+w== 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=faEAX4X+9jfjzHsHjHAHPU0gB3DelUTtbAK0YZozHzA=; fh=s1qcCcdeGtJtg45iI786B2NwhLXdCkscXoL/pyAIiQM=; b=Bgb3IUszdYjcAPdwlTkPfAknrM4AloMLtYEGkOQWNywc33a+ur4sZCXjjyUuj0vbnx 0ExfA0NwhmdVufyTGvL7qe+3qv/ZOoPEuPRbimg8D/+/cxMwWe7RERLskRjRqCrKL+ia 8SWtjGwHYT2JDtCOvAFDaq+s4WIpd8oGrCZOcZ5tffAmSPF0l3JZ8BofIiEP8b7LzIyR UyD0TqvJDfXmwiEhrqKnJpUqBv/RzHwGxD2w+mXr5IOTlRXgIqO4y/18dsrpzYhVs18R OMYX3exmuGk0IZ7NV8aa2BUDAvD9CAszQXuu7RdH65iEZervp9yzVqMKv0oHovwnoZss DLBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=JeJNoMdQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id q3-20020a056a00088300b006c4a78a81a5si12491903pfj.88.2023.11.28.07.31.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 07:31:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=JeJNoMdQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 02A3D8047478; Tue, 28 Nov 2023 06:43:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346305AbjK1Ond (ORCPT + 99 others); Tue, 28 Nov 2023 09:43:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346309AbjK1Onc (ORCPT ); Tue, 28 Nov 2023 09:43:32 -0500 Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48C6A10E2; Tue, 28 Nov 2023 06:43:37 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 6D0C640E01B1; Tue, 28 Nov 2023 14:43:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id C0Msifj7-dWQ; Tue, 28 Nov 2023 14:43:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1701182612; bh=faEAX4X+9jfjzHsHjHAHPU0gB3DelUTtbAK0YZozHzA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JeJNoMdQfWEirHmQQ6rrQChJehksLE2AbrFjoZH8jqHNQq9lSyleP5wVc84WSd3M2 T1+vsnuIuyqILKr+Ys8HYDqOir7DsUHGyZ6ry2KVhiyd3hf2rPeqwzNJBwcioLRY0K 8G9Vxcq4IKqEEWBQkyB418qhWfLcDn4tHHwLeYuToH4OQtdT33lkMvd3wlTv92aTlU RZ2kwT5m/kQqOhvxmSB1ej3i/ZzPpBtaxGyiDvRpdD6AWxd/NWWqs2KrpvbEf99Yh6 57ZYTlS4ZBaAgg4e5cOEDT1q9vAgYS4hSH8inpboGblCgx/ryDFfv6G8mbDf1e4Psu iB1CCWVYRv/15BvYsy6JIy6jXwF65raxyx6qKVnLhM5br1W9sYBAe82g38BbLjh4/f vkFJqDDD3bZlsHNCzoCKLtF+mQMVEdlHWZg+4akmYKFRc1dFdpl0OX5XEYeUqBlzLG FMHZibwuJ2QkoJcJVeHWDW8CX1CcIrNio0UIar6Yei7K6Iqsh2BUfr5VKzGYst5c+F aW9NzzPg4AleXPMTLlXeERDsx2EnvLv3Q3XMWTI7qeXVKro5hFAYOE6sk4idgvcuKe JhOP9wzCW6H9A+fd74l2qMlvNmKhlbRty98nKysTV6w0PSXOk9Le0m/LJLAR522TaD OyCA6c/ivvp65qNUaddcHkEQ= Received: from zn.tnic (pd95304da.dip0.t-ipconnect.de [217.83.4.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id AACFA40E01A5; Tue, 28 Nov 2023 14:43:24 +0000 (UTC) Date: Tue, 28 Nov 2023 15:43:20 +0100 From: Borislav Petkov To: Abhinav Singh Cc: mchehab@kernel.org, tony.luck@intel.com, james.morse@arm.com, rric@kernel.org, qiuxu.zhuo@intel.com, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] driver : edac : Fix warning using plain integer as NULL Message-ID: <20231128144320.GCZWX8iMRIIX6qDyVO@fat_crate.local> References: <20231128141703.614605-1-singhabhinav9051571833@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231128141703.614605-1-singhabhinav9051571833@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 28 Nov 2023 06:43:43 -0800 (PST) On Tue, Nov 28, 2023 at 07:47:03PM +0530, Abhinav Singh wrote: > Sparse static analysis tools generate a warning with this message > "Using plain integer as NULL pointer". In this case this warning is > being shown because we are trying to initialize pointer to NULL using > integer value 0. Applied after massaging, thanks. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette