Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3304588rdh; Mon, 27 Nov 2023 10:40:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNZtfxZny63FELPrHCm4vAcgQaCVJt2i+uRa8dSjGQmT9ALZCh7+38+ZUROWzn4b8HplJk X-Received: by 2002:a17:902:b60e:b0:1cf:b3fe:4fd8 with SMTP id b14-20020a170902b60e00b001cfb3fe4fd8mr9295533pls.50.1701110445114; Mon, 27 Nov 2023 10:40:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701110445; cv=none; d=google.com; s=arc-20160816; b=LDfLGLwrp2bo009DgpONgHSKbPPH//YaDdnwAuGbl9Tl+lxfl7rq85ctxSJX/bGvC4 YUOEbWjZaFwLOcvYysTZgoBsjllOZYTynxAcCglXLIwW7VoQdVyyDe8e6oCanktxV8Tn 7dB51nBlP9vcfjivWYe/u+lsCCOY2dXk9oBw1nogroJxNG+uWitgOLb1y9uDub6AGPp5 lbncip52WHSGJoEdNeX1rbCKyAq84C6Asemft78/XtN8wJIUB2IH0ohIyW89pFHAKheY JeSVmIHERBDlrAS6xCWeqAaPB77aLyLFEzJXRbPKh5nWAQhV4AqsObgi9Z6f8VNex5A/ mSmg== 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=0q2n0tc3kXV9vWzdDmVxky0SQ9EQ+gjJnqD2au8hEUo=; fh=7mQuilhd0wZ5b76UVDUKvxQVgqFKXo9CEdM+JvgBlQU=; b=TfcwkfbJ8IfxvvEn5DzmHXP5WiRSoOBuZrM+120Boj0/DbZZRrW6q2+2ua5epN0pUR daALLy3rbyC9iP/L1OR7zBN/nPC+OATkQeMDrs4rqq5SUDPEEyIA6B2HrIEoEUiNJHg0 vUE8WkkNtbaC+QKo23tqZVEt0I7HVEk5tbBIcroJdUjERScSWDYUn5MOHRi/RJhZUsyr WbvHm7CFpsLf7YoswcPvMZG9TyOzQNOG60TueF909ialPR1x37zEP6O08zMJsispTm3o hHKm21fBB3Qvq5ILAoiLA8E0V5MISDAPs5MRtejgBRXmBs+P19CyQLrY1rLjpfWSVPqv Q/8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=FhyIroyy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id 13-20020a63114d000000b005b96af23fecsi10674360pgr.496.2023.11.27.10.40.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 10:40:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=FhyIroyy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 18CB78245A5A; Mon, 27 Nov 2023 10:40:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232496AbjK0Sjv (ORCPT + 99 others); Mon, 27 Nov 2023 13:39:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjK0Sju (ORCPT ); Mon, 27 Nov 2023 13:39:50 -0500 Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D9EC198; Mon, 27 Nov 2023 10:39:56 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 5F9DD40E01A5; Mon, 27 Nov 2023 18:39:54 +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 oFSSdf7Hu-bc; Mon, 27 Nov 2023 18:39:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1701110391; bh=0q2n0tc3kXV9vWzdDmVxky0SQ9EQ+gjJnqD2au8hEUo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FhyIroyyhiKWoClkCs8L/YRrESKzuGAQyU3KcodlxHkIShp5hhJQstiazv8MG/Dv1 xzseEtSkVD/1+3pY7PIx7NlvxyfHJBhKGQsl6Su7TaDiPHDyFCN4aD/LCl5I/lloZO FqE4UI/Gkv1NLb2iTvqMUkDc02wfSSScdoA/idLd2uek9qRw/Hw4IRCnnpazyid+eI T95YxoWb3+zNoWjKLfg9mXCo8rS5gdU7Tf62pLAr2B4xAcIxCytQHAHCFXScLXvwKw QrwWDnUZhUve42Ux68KrWeMctZD5I1gFML1y+SR5K7ILm4XLbalMZ3kf1F/VBK8uB5 cRp5iPO0YgwKMoARtxDpNGpvUw0+T+muhvrLw/87XlsrFRau9bU7oxGP2cTom3mGW3 OmKfM+gN1L2inoHtjJlEpVUXue827X/krkmlPE5zzAzfOixP0ao9bLPZpMLO7nra7e Y2Eke7/nBAf9nsVXZuA/9mH0slPzkpCSLUodKY17kTvkzxZQMPkxUrKJlFqYh2vzUj ZGR+Ex/M2kYD+rFlZL5z2Y95ZoOApvxJAFJNybHDiQHnLCjyMhKBqlBDxxZIghNsQZ 6Yd9lHag+28dLKmxbfkR93swNpSNOf2LjJ4/gS3mPz0yhdXtybeCIiurApK45nanbl 7AoqCgUSlRCyCbZ7G1rlaWIs= 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 8E68A40E014B; Mon, 27 Nov 2023 18:39:42 +0000 (UTC) Date: Mon, 27 Nov 2023 19:39:41 +0100 From: Borislav Petkov To: Abhinav Singh Cc: tony.luck@intel.com, qiuxu.zhuo@intel.com, james.morse@arm.com, mchehab@kernel.org, rric@kernel.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: [PATCH] driver : edac : Fix warning using plain integer as NULL Message-ID: <20231127183941.GGZWTibScFM4lgbqkG@fat_crate.local> References: <20231109212157.1454726-1-singhabhinav9051571833@gmail.com> <20231127171435.GCZWTOe+DQSy4kkuKO@fat_crate.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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 (howler.vger.email [0.0.0.0]); Mon, 27 Nov 2023 10:40:42 -0800 (PST) On Mon, Nov 27, 2023 at 11:53:02PM +0530, Abhinav Singh wrote: > Hello, thanks for reviewing this. As of now this is only a warning issue in > kernel. I saw this post by linus > https://www.spinics.net/lists/linux-sparse/msg10066.html and thought of > submitting a patch. Also a similar patch of mine got accepted > https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2560740.html, > so thought about opening this one as well. Lemme try to understand what you're saying: just because someone accepted a patch of yours, then others should not ask you to improve your commit message so that it explains *why* a change should be done. How about you put the gist of what Linus is saying in your commit message? Don't you think it would be a much better commit message then? Especially if it explains why, even if it is the case that 0 == NULL, we don't want those in the kernel. Hmmm? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette