Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1296908rwn; Thu, 8 Sep 2022 17:15:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR7djIsSrNrUgvbX14HaR9hr68Foqr+NCThhq8h3UNySEu9Ta42tPH9DwTlhHgmqxGodCBro X-Received: by 2002:a05:651c:2112:b0:261:b9c1:509 with SMTP id a18-20020a05651c211200b00261b9c10509mr3389630ljq.39.1662682503129; Thu, 08 Sep 2022 17:15:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662682503; cv=none; d=google.com; s=arc-20160816; b=kJ2Jh/585cydx5YXZ7zscUTV7s3OKktFzrZCLTPPIRershbx6NRBaalbMtJfgVe3xG tSb1Q6a6IkLBwVHjJ6eQtMeaVEw/tVjhCG2wUMbOmonzfkRmRX0pXWwawIO8LqKEwCqu sKehOOsozpgpWF3smCzeqSKuG6dQVUVDs15fSLrBRm4Sqjn0YkhJ35+ODS74VKaz9utC 0RU+5+rERAwmHeJygc509hcSMXSeUgqSopoRcRO55H4iAtffHBpJoqqxnMgf2fxTRzqL ZDhuIr0GkWrfcYaELjYvXMtit60vWRNRuS4oTpDXf6O9m1TdQM/6Cr7N8ZmBodgK6Bb3 7XzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=kukmqgp2SSkl+E6zj8L6ZjulyQQ13O7eDJQDQHr8gkU=; b=g2bVAENO3j2d6Pzbwwv1mqknYm/8fPsXmRm134KQviEswjmeyX3dqpNthba3/3mB1y iJQwEKeWsk4dvoubaOeyeurLNQRND1sbNtqCBmnfL+SD29Bv9dbkXxw1huXqeEtv6Nga ZjypnmInfZ/W+qnZjs2WMLeMHboMFkABz+xnG5Xfu8XzkHoQhvMipLgkzE1htlqPEMwm qZQkec+gUzs7WUO5arfOXcVA2nFTcrgnBJ9uPrIb7uxTHqLMeZnZKjGyYkPKAxr+MC0R LdZxID3E+Mqa1FxN1terSRO8IXOVg5MEMc/xv2HA19fqrpoyO2yvnMxVHotCgks86q1K qP6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ueaRdOsK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k5-20020a05651c10a500b002643046536bsi150179ljn.91.2022.09.08.17.14.34; Thu, 08 Sep 2022 17:15:03 -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=bombadil.20210309 header.b=ueaRdOsK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229853AbiIHXyF (ORCPT + 99 others); Thu, 8 Sep 2022 19:54:05 -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 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, 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 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