Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3312427rdh; Mon, 27 Nov 2023 10:54:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGuQOQ71tG6S5MLWkQPFfGX0BTduhQ9DzQMyv6jwKKpm8+D6bLSNoYRjgQGCji4TVWuhHlP X-Received: by 2002:a17:902:b905:b0:1cf:b964:5e5a with SMTP id bf5-20020a170902b90500b001cfb9645e5amr5733920plb.17.1701111263282; Mon, 27 Nov 2023 10:54:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701111263; cv=none; d=google.com; s=arc-20160816; b=sGAKVbP7VTG5xNuJvFsSe6YILl3RrMp8qDmKWdJtUEEv+k2D59VVBW36T9dnpKdZfa DdtSEUgqWVtQaQJMnIqCNQS6T5v7Y1IGrmjCACTH86F+B0X8qLI3SoDFt+SeCUkxTK/D iITUhfyQH7uSbQCi2JHkP+b+Y0NOnD4ITAfpie3y3Uq+EfrHBe5QyOu7ejm+feqyaYAt bzw+lXodzOxP+f6ZT9pz/hvuEh68M/QIuWx0QIJMr6JIhYAYSaZOxwl4Fg1Q6lM3VGvC VZcLnOXywFc3TXKMHDFCwSMV0P3jwlU5BQur3AzcnkGT5DvYHGE23lVjK82RWwf0vAGF aGWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=jBWX+tBMrXJ5sqEB3xXR9ubJgmb8By6ql2/SbCpyp68=; fh=C4aWCO3X9vOoDLJ5lDfcC+unLe2uXh1x1VNDBWwvW7w=; b=U3tN55vkuCFSNhUqrEPKDqYDedyQ3pk47+49JrIP9VYHXHJgaSIyGpA8b4HumYNPvq 957BUea7YBkelRSwaC/p4FQh3ec0oo9dLGl0C1UhdT/QXMsP5ADcYJdeOGAKLlWH9Pq5 XwLsOT3sxGad5PhCEI8YejUIKaQjcQapN5hmEl5G/SYNI3hDDAdcFtFG/YnVEfVPfL94 2CUHrJax7kEpqw6d/qUzOMy0OBV+xqp9p3lGdWNWiC3yBxreJPya62XrIqTN4f7ineL+ FqzOoMEeUWn4sQ4L8Iyv5GZMyziv0QJTsl0+5P1fKRyLn2tFmL08jeJeqYbUip6OsCOj OTvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XOD9gqhQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id iz15-20020a170902ef8f00b001cfb4d36d44si5771329plb.64.2023.11.27.10.54.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 10:54:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XOD9gqhQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id E78C3806993F; Mon, 27 Nov 2023 10:54:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232178AbjK0Sxy (ORCPT + 99 others); Mon, 27 Nov 2023 13:53:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230302AbjK0Sxx (ORCPT ); Mon, 27 Nov 2023 13:53:53 -0500 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68F8BD5A; Mon, 27 Nov 2023 10:54:00 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1cfa7be5650so7754735ad.0; Mon, 27 Nov 2023 10:54:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701111240; x=1701716040; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=jBWX+tBMrXJ5sqEB3xXR9ubJgmb8By6ql2/SbCpyp68=; b=XOD9gqhQwvp0sQZjxtBE3AV5Wrx+wU9zVN+OHCqTbPmaAPFORwVMbwNpMvUswCay2p 1ykV/VU2fksuC6jKHEa5jVBNFE2wOjKXBkXSPosit0ZtELhgyK6MfB5O8/FCMrkrFb5j 7bVN2PCm4EAWJhNUPRru6AQKM+AhjPTvCbDsKSmFtyDQggWCI+lMpxT1y98yhoP5gisD 4pQfJ3SK6R3dorNjDjDOlhDQz0gj5XYMNJNEfz6xein7N1mJhGUPHv7jSwsbgJW19uys DiLt6PdbGoM41ewcD8Nbiwh1Oo6/oQiIIIr+5I4z2xX0+JtHzBqP5sD/Moo0QZCf3kcP 2GaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701111240; x=1701716040; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jBWX+tBMrXJ5sqEB3xXR9ubJgmb8By6ql2/SbCpyp68=; b=G+itHPcQmSh3l0DLO9uLlR6jS+iGgVEYb+cr8b4WNa3GPCvukeLCejkgUZGmhUi09+ O/9GIntK/t7XqjJLlapjmTgItyQp+PkloMAXHnozuk6ah7pRNKLOY6mjOPa87Kj2CyNY bbZi7OfBXk0aErqEFfhxqUlBlo6LCo9bCjuQuj7E4doiMjSRRX1+WViIuLBMcmIYd7Eh jeRth4qTo7zLx2voKMIJ9jnjMt+4xTEIAGH6idcwPAFQy52Bmwg0uDnbVaDDAySyW/7g dPHebxaOwkNKWnAAo9J9uVJDdtbnlcKm27JVBSAebO4XVufpxGGNsnKYMONh9R0wUf1V 2o1Q== X-Gm-Message-State: AOJu0Yz6qBqUNXvMu36SV21b1kprK2/QQPNTrX2CgYezI2Vdihofr+o+ /JmyZTVlkQ0UsXbOGZjw5fw= X-Received: by 2002:a17:903:183:b0:1ce:5b6e:bae1 with SMTP id z3-20020a170903018300b001ce5b6ebae1mr15606570plg.3.1701111239836; Mon, 27 Nov 2023 10:53:59 -0800 (PST) Received: from [192.168.0.152] ([103.75.161.211]) by smtp.gmail.com with ESMTPSA id a5-20020a170902ecc500b001cfc50e5afesm3145347plh.23.2023.11.27.10.53.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Nov 2023 10:53:59 -0800 (PST) Message-ID: <95fc95c8-dac6-4137-a9cd-29f27da64e41@gmail.com> Date: Tue, 28 Nov 2023 00:23:54 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] driver : edac : Fix warning using plain integer as NULL Content-Language: en-US To: Borislav Petkov 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 References: <20231109212157.1454726-1-singhabhinav9051571833@gmail.com> <20231127171435.GCZWTOe+DQSy4kkuKO@fat_crate.local> <20231127183941.GGZWTibScFM4lgbqkG@fat_crate.local> From: Abhinav Singh In-Reply-To: <20231127183941.GGZWTibScFM4lgbqkG@fat_crate.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 27 Nov 2023 10:54:11 -0800 (PST) On 11/28/23 00:09, Borislav Petkov wrote: > 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? > Hello, my sincere apologies, I wrongly interpreted that you were asking for a reason in reply rather than in the commit message itself. Yeah I agree putting a reason in the commit message will make more sense. Just to be correct this time, I need to put a reason why this needs to be fixed, in the patch itself, right? Thank You, Abhinav Singh