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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E03C1E732E3 for ; Thu, 28 Sep 2023 15:26:57 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4RxHQS4LBXz3chT for ; Fri, 29 Sep 2023 01:26:56 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.210.49; helo=mail-ot1-f49.google.com; envelope-from=wei.liu.linux@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4RxHPq0ltkz2xZG for ; Fri, 29 Sep 2023 01:26:21 +1000 (AEST) Received: by mail-ot1-f49.google.com with SMTP id 46e09a7af769-6c620883559so1754826a34.0 for ; Thu, 28 Sep 2023 08:26:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695914779; x=1696519579; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=PYPUiAEm0lZNQbU6hKmoJKqPGRAnrTCwSSHfRdZ7LfA=; b=Z2TcS20yFuRrO21rYECGr3H+jVYmqCTlKIcEAfaeDkQcUbZGFEYltRrl03Azd/1Oam F+NqdnSyHya0m9mEc2w3Dml36F7g87J1ff+ZY18TVTiOuxuSdcDwvNg2XQ3CAs6IpXOC DkzdML2GOIQ/QfE49NB4HulBXqMDSOz9ZKxGwwysQqLWuVxcBf83WQ1Xjq12ZtGJhsfa awBcd4r9qJ8OYwK7qpABGdQ6P++IMgce+5yUHvkmcaMyqlY6mJlhwfkTER4y9QI6yNlF 0+BmtKJpxfeNxJZSXbZ10PFqkT6ToaxXaIAURl7CsZBIeC2X7Nfg+W1QXSYi+ujR+a61 f5Rg== X-Gm-Message-State: AOJu0Yzlj8rknt96AeDhTzZ8JSVnyAS2c5WN8QvkFArR20iQnWBUoXER GvQHnGlryy7jxsKyRPv6CeI= X-Google-Smtp-Source: AGHT+IEkFDTusLpYox11EoA1Tl2MJIdC5Ad7Ua286wH6ql8JYqDg2cQ1Wc6Zlzvv071aY+VufA88gQ== X-Received: by 2002:a9d:73d5:0:b0:6c4:b339:2528 with SMTP id m21-20020a9d73d5000000b006c4b3392528mr1632381otk.16.1695914778722; Thu, 28 Sep 2023 08:26:18 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([20.69.120.36]) by smtp.gmail.com with ESMTPSA id j14-20020aa78dce000000b006906aaf1e4dsm13514673pfr.150.2023.09.28.08.26.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 08:26:18 -0700 (PDT) Date: Thu, 28 Sep 2023 15:26:16 +0000 From: Wei Liu To: j.granados@samsung.com Subject: Re: [PATCH 14/15] hyper-v/azure: Remove now superfluous sentinel element from ctl_table array Message-ID: References: <20230928-jag-sysctl_remove_empty_elem_drivers-v1-0-e59120fca9f9@samsung.com> <65157da8.050a0220.fb263.fdb1SMTPIN_ADDED_BROKEN@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <65157da8.050a0220.fb263.fdb1SMTPIN_ADDED_BROKEN@mx.google.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Jason A. Donenfeld" , Steve Wahl , Joonas Lahtinen , Clemens Ladisch , linux-hyperv@vger.kernel.org, dri-devel@lists.freedesktop.org, Phillip Potter , Song Liu , Eric Dumazet , "K. Y. Srinivasan" , Jiri Slaby , Russ Weight , Wei Liu , Stefano Stabellini , Corey Minyard , Leon Romanovsky , linux-rdma@vger.kernel.org, David Airlie , "Rafael J. Wysocki" , Dexuan Cui , willy@infradead.org, Jason Gunthorpe , linux-serial@vger.kernel.org, Doug Gilbert , Jakub Kicinski , Paolo Abeni , Haiyang Zhang , Kees Cook , Arnd Bergmann , linux-kernel@vger.kernel.org, "James E.J. Bottomley" , intel-gfx@lists.freedesktop.org, josh@joshtriplett.org, Jani Nikula , linux-raid@vger.kernel.org, Rodrigo Vivi , xen-devel@lists.xenproject.org, openipmi-developer@lists.sourceforge.net, Juergen Gross , Tvrtko Ursulin , Theodore Ts'o , linux-scsi@vger.kernel.org, "Martin K. Petersen" , Greg Kroah-Hartman , David Ahern , Robin Holt , "David S. Miller" , Oleksandr Tyshchenko , Luis Chamberlain , Daniel Vetter , netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Sudip Mukherjee Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Please change the prefix to "Drivers: hv:" in the subject line in the two patches. On Thu, Sep 28, 2023 at 03:21:39PM +0200, Joel Granados via B4 Relay wrote: > From: Joel Granados > > This commit comes at the tail end of a greater effort to remove the > empty elements at the end of the ctl_table arrays (sentinels) which > will reduce the overall build time size of the kernel and run time > memory bloat by ~64 bytes per sentinel (further information Link : > https://lore.kernel.org/all/ZO5Yx5JFogGi%2FcBo@bombadil.infradead.org/) > > Remove sentinel from hv_ctl_table > > Signed-off-by: Joel Granados > --- > drivers/hv/hv_common.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/hv/hv_common.c b/drivers/hv/hv_common.c > index ccad7bca3fd3..bc7d678030aa 100644 > --- a/drivers/hv/hv_common.c > +++ b/drivers/hv/hv_common.c > @@ -147,8 +147,7 @@ static struct ctl_table hv_ctl_table[] = { > .proc_handler = proc_dointvec_minmax, > .extra1 = SYSCTL_ZERO, > .extra2 = SYSCTL_ONE > - }, > - {} > + } Please keep the comma at the end. > }; > > static int hv_die_panic_notify_crash(struct notifier_block *self, > > -- > 2.30.2 >