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 75964C54EE9 for ; Thu, 8 Sep 2022 23:54:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229911AbiIHXyG (ORCPT ); Thu, 8 Sep 2022 19:54:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229566AbiIHXyE (ORCPT ); Thu, 8 Sep 2022 19:54:04 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 240A9A6AE2; Thu, 8 Sep 2022 16:54:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=kukmqgp2SSkl+E6zj8L6ZjulyQQ13O7eDJQDQHr8gkU=; b=ueaRdOsKvzyTTLGgzoO1zkNaMy 7ms0DDQjq2u1tNvcep0fGiHxSa65Ng2/D61URjOCjkGXfewUeVeMQgZDnHeVAKrrkom34F18Pnjed ZDZb1fLCG+dQVRalQHIpXqf0ItC2FJ/wzmaxfYRecVt4aCigCopFfdC0k/bmqja3Tl4Jd4xSALLc+ 0Ru5tmX1/9VntHH9mGCkSFQMj791Bw1tucChceVUqmPf/sdZKSeFwTTczXLe6Mzc+WMwJn8GMexdR Pj6FGF0ZxLsV3znBP4CZdE1NKaJN37df0VKb1TDPPbXYqJV/V4Xvb5TDO0Xj3pSXXuGVETuK+Gbbp wCF/L8cg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oWRLN-009zff-0Z; Thu, 08 Sep 2022 23:54:01 +0000 Date: Thu, 8 Sep 2022 16:54:00 -0700 From: Luis Chamberlain To: Li zeming Cc: keescook@chromium.org, yzaikin@google.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] proc/proc_sysctl: Remove unnecessary 'NULL' values from Pointer Message-ID: References: <20220905012110.2946-1-zeming@nfschina.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220905012110.2946-1-zeming@nfschina.com> Sender: Luis Chamberlain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 05, 2022 at 09:21:10AM +0800, Li zeming wrote: > Pointer variables allocate memory first, and then judge. There is no > need to initialize the assignment. > > Signed-off-by: Li zeming you sent the same patch before, and with a different subject... Anyway the first one was queued up already, in the future please use a bit better subject. Luis