Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3738599rdh; Fri, 29 Sep 2023 00:27:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEjk350GvtCYdo1etq/XG3AmjFMrF1TMZDc9BfsDOZUULoJo+QsHkrttbg0HOPx+dDA1YV0 X-Received: by 2002:a05:6358:713:b0:143:85ed:827b with SMTP id e19-20020a056358071300b0014385ed827bmr3030079rwj.5.1695972471026; Fri, 29 Sep 2023 00:27:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695972470; cv=none; d=google.com; s=arc-20160816; b=Ws7HidB0myu7RBoRTc0KHBJbAz7Gw3/9EaSCXKY3vxl4rXoR5C+JuHqAKveoMq3e0n I7gJYJVCn4zWa0ygddqoVeRIUtwxyzaW7rzx9V2jk7E/LYyFxcUxvx++pDsA9wK4ASlD zw2JMJO7Hd/5SrFIUQU8jvycfgh5nT57ZsS9SwqqKzQQraH8kycGGxkFPevlvjHlAe9c txcZ4b7YnK6wXtQ6oTcoeNYeB8ooJHtIVo/KIcf16BMoAGD14/cpbItnqI2JgRE+Zcqs iUA6iOKekfZc8U1GJWTrPnzisIWQFBNLJ8trGbe64HWGumVnx85iZPKHOWgJHEMu0bAP H1cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mZrC/t7ae+Z2o86iz704abLpUMsth0bb5IgGpyWjrnM=; fh=UmoW1+JiIsv6+zEdeVsD730mW1ELOJrctybvftszFrc=; b=eoZ018tFYXGOXK0MwFY9oHOAeeSC/b3Hf6LJ/FkcC3d/GehtBndWACRHsEq/qTR5y7 YC9C0N1J2I0NH3fi9KPk/elcDmzwbRKkxwHWwooB01Ma3EcWAf8b2/FgYIdfYSa2c8IU JWypL/d0jEZBN72g7RAPO90JLcxJah7WwEO7Bnol4N9A1G3DJnuzHtHkVM3ttgtQHM/b 1YLTOge1BAoHu34DUGMVmkveD0Yr33ryVYAi531sRvAMmgJqFpBa9WDZ3II3QyOZFT2p z45U0jpGm/+UWJBOfSoBh1caJv8bgSM+DLmo7v+Ovn0Y7LCF2ZJEKf8ZO/0yM0kV1XJd IiqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=APaa5kKk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hpe.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id o2-20020a056a0015c200b0069344f0eda3si5823283pfu.5.2023.09.29.00.27.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 00:27:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=APaa5kKk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hpe.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id D10CC8041C20; Thu, 28 Sep 2023 10:52:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231954AbjI1Rwi (ORCPT + 99 others); Thu, 28 Sep 2023 13:52:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230349AbjI1Rwg (ORCPT ); Thu, 28 Sep 2023 13:52:36 -0400 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79E0219D; Thu, 28 Sep 2023 10:52:35 -0700 (PDT) Received: from pps.filterd (m0134424.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38SHhHiB002198; Thu, 28 Sep 2023 17:51:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=pps0720; bh=mZrC/t7ae+Z2o86iz704abLpUMsth0bb5IgGpyWjrnM=; b=APaa5kKkE4mpyTjbaPlvnbYIWIT9A784n1fDZhZsP48Q4BO9uSG32bZsfAF52jrU1bOT 1h7DtIZq8CfCoiXJzZq8iCLGpdSe2PlQIjBXHSbzsrerYmN3AzKoVoUge3gno+oOKne0 TZt5ZpPcmFxaL8khHe4Ax9IRzjtiszQvxqsciJsyNpAD6ZY84bLt17ZecVDpe5s/3MjB a3q5Nj2zzP41qNl43/8ndPzzA6qoqUz03rp+3yjfOcXzoZpJvReW4KIp/RtMFfifP+Ul Z6IbclgwAUZ5SJhoTsDmi8nxYS4v/OvpF1TAywHM0NXqhjlAEPK6WdmkxzbGRG8AthqO KA== Received: from p1lg14881.it.hpe.com ([16.230.97.202]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3tde4ur2yg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Sep 2023 17:51:25 +0000 Received: from p1lg14885.dc01.its.hpecorp.net (unknown [10.119.18.236]) (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 p1lg14881.it.hpe.com (Postfix) with ESMTPS id A9CF8805E26; Thu, 28 Sep 2023 17:51:23 +0000 (UTC) Received: from swahl-home.5wahls.com (unknown [16.231.227.36]) (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) (Client did not present a certificate) by p1lg14885.dc01.its.hpecorp.net (Postfix) with ESMTPS id DAC6681566E; Thu, 28 Sep 2023 17:51:16 +0000 (UTC) Date: Thu, 28 Sep 2023 12:51:15 -0500 From: Steve Wahl To: j.granados@samsung.com Cc: Luis Chamberlain , willy@infradead.org, josh@joshtriplett.org, Kees Cook , Phillip Potter , Clemens Ladisch , Arnd Bergmann , Greg Kroah-Hartman , Juergen Gross , Stefano Stabellini , Oleksandr Tyshchenko , Jiri Slaby , "James E.J. Bottomley" , "Martin K. Petersen" , Doug Gilbert , Sudip Mukherjee , Jason Gunthorpe , Leon Romanovsky , Corey Minyard , Theodore Ts'o , "Jason A. Donenfeld" , David Ahern , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Robin Holt , Steve Wahl , Russ Weight , "Rafael J. Wysocki" , Song Liu , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, linux-serial@vger.kernel.org, linux-scsi@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-rdma@vger.kernel.org, openipmi-developer@lists.sourceforge.net, netdev@vger.kernel.org, linux-raid@vger.kernel.org, linux-hyperv@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH 11/15] sgi-xp: Remove the now superfluous sentinel element from ctl_table array Message-ID: References: <20230928-jag-sysctl_remove_empty_elem_drivers-v1-0-e59120fca9f9@samsung.com> <=?utf-8?q?=3C20230928-jag-sysctl=5Fremove=5Fempty=5Felem=5Fdrive?=> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <=?utf-8?q?=3C20230928-jag-sysctl=5Fremove=5Fempty=5Felem=5Fdrive?=> X-Proofpoint-GUID: ARXao25-avAoloITuhrfvukM5pXVcFhf X-Proofpoint-ORIG-GUID: ARXao25-avAoloITuhrfvukM5pXVcFhf X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-28_16,2023-09-28_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 phishscore=0 malwarescore=0 adultscore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0 impostorscore=0 mlxlogscore=999 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309280155 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Thu, 28 Sep 2023 10:52:55 -0700 (PDT) On Thu, Sep 28, 2023 at 03:21:36PM +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 xpc_sys_xpc_hb and xpc_sys_xpc > > Signed-off-by: Joel Granados > --- > drivers/misc/sgi-xp/xpc_main.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/drivers/misc/sgi-xp/xpc_main.c b/drivers/misc/sgi-xp/xpc_main.c > index 6da509d692bb..c898092ff3ac 100644 > --- a/drivers/misc/sgi-xp/xpc_main.c > +++ b/drivers/misc/sgi-xp/xpc_main.c > @@ -109,8 +109,7 @@ static struct ctl_table xpc_sys_xpc_hb[] = { > .mode = 0644, > .proc_handler = proc_dointvec_minmax, > .extra1 = &xpc_hb_check_min_interval, > - .extra2 = &xpc_hb_check_max_interval}, > - {} > + .extra2 = &xpc_hb_check_max_interval} > }; > static struct ctl_table xpc_sys_xpc[] = { > { > @@ -120,8 +119,7 @@ static struct ctl_table xpc_sys_xpc[] = { > .mode = 0644, > .proc_handler = proc_dointvec_minmax, > .extra1 = &xpc_disengage_min_timelimit, > - .extra2 = &xpc_disengage_max_timelimit}, > - {} > + .extra2 = &xpc_disengage_max_timelimit} > }; > > static struct ctl_table_header *xpc_sysctl; > > -- > 2.30.2 > I assume you'll match the rest of the changes with regards to the trailing comma. Reviewed-by: Steve Wahl -- Steve Wahl, Hewlett Packard Enterprise