Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1296227rwn; Thu, 8 Sep 2022 17:14:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR7Ej04bHhP29S0wM8Mfhx04XhlRBgimjeSBISyKPz1s6n+ZbtZg7ATUsPbRlD/D+HQpGJf1 X-Received: by 2002:a05:6512:312f:b0:498:f40f:37b5 with SMTP id p15-20020a056512312f00b00498f40f37b5mr934210lfd.240.1662682449431; Thu, 08 Sep 2022 17:14:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662682449; cv=none; d=google.com; s=arc-20160816; b=tpZ1jPYqWN8dT+snMj+y8Qxd+54vvVfD1CuqJhYA136qPCnj8NDTy56APv4uQxuduz Mwfo8nI4bOpv7xkI6zI3GesBu9KaXS0DLFgEGEqBb2SvloWH9eKCOww2rm6RbPzLNgvE 3SlC/4JIgOqE2eFsPw4s+Bh/e8US/4UyPAMVjCyjD0qXSM0tD/E3YqmOnWkEBFKqqwMo FpI2iorg9N0IZFE9HUzdXnFf/tAyr38SoyxsJgInRjTh3mKkzlxdqS+o/N32JUFzBjgH JiY3TY1BJhPbYfYxnVDyX94Sly+/2Gbu8sIxWhcIX5pmJEEV/MaJLYpTSwJnYtQOVfVs +LUA== 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=XjxPO2gx8/ZRjoRujkZFtZwwfAjki0m/BAiBLxT6Ui4=; b=PVvLvSK3tYqt4eF4UOwpqQQFob/Xvc8Hdmkk82gTnbQjJ4WU0ZPmzsoFl6I2Zs1lSN OOPtHjos9twRhd63zAVDIlXXLWPFgwaU2hA5os6cMV2Drc1PGDf8G6haFPaWhkQJIy13 RtqXWcaj+pDl88i2T7xMqOz/xIIqFQnfpwFIYJlsXFzArwNzHnxNz0g/OjyxKlayvGFp IRDB/HIPU4WvEE4q/iqIXlbv671ScK2ixXjFmwqfOkjXuD10sCqweld54C4MNKMhPnkv /XMZB3z/+ooPWH6N5zYP+b43taHqfnxGY8vqAQ/wZqNhpHMTi48dAVFIXZSJlI6UJ25y FTgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=iJyD2NAh; 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 k15-20020a2ea28f000000b002672e8b3222si119781lja.488.2022.09.08.17.13.41; Thu, 08 Sep 2022 17:14:09 -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=iJyD2NAh; 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 S229541AbiIHXk2 (ORCPT + 99 others); Thu, 8 Sep 2022 19:40:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbiIHXk1 (ORCPT ); Thu, 8 Sep 2022 19:40:27 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C13758DFD; Thu, 8 Sep 2022 16:40:22 -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=XjxPO2gx8/ZRjoRujkZFtZwwfAjki0m/BAiBLxT6Ui4=; b=iJyD2NAhZ4H4PY4phmTFpsDggS 6yTyonULSS51/tP2qhdbShlZ6wqHXkJy6s9Rturc0AKL6AS3IweMhxNT5wTBPcTeKHApfHSWywOde KdBoHO0O93fa/3tTjkwne0X6toDaFkYGmKdIqevG+mT8Fmeqcm8YbFBhEGYprweyfbjInk2oQQxNS qjpamBh5NAdgQ+KmuFMq0vaEADcasPM/HXblNMQesNjJM/YJbUCKmF8nha63EZ5kHK6xCCD7VL5Ty 96gKcx/3aWwsrojCdGo8x6QElUxIKyvUuf2nnN/4fdcvWYyLwC6WVpPRv12aIbWPPmw1VT8v9lNwS J11EnCHA==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oWR85-009tQR-Q2; Thu, 08 Sep 2022 23:40:17 +0000 Date: Thu, 8 Sep 2022 16:40:17 -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: remove initialization assignment Message-ID: References: <20220801085117.4313-1-zeming@nfschina.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220801085117.4313-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, Aug 01, 2022 at 04:51:17PM +0800, Li zeming wrote: > The allocation address of the core_parent pointer variable is first > executed in the function, no initialization assignment is required. > > Signed-off-by: Li zeming Thanks! Queued up for sysctl-testing, if that comes back without issues, I'll move it to sysctl-next. Luis