Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp12076rdb; Fri, 29 Sep 2023 14:49:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEvW8ZOs+UIQ8BLfqtXNCqdjyz9HDDYHf7ZpRa8zaf4KqrSRb9w5O7jZUZoRBZBiJkwr4mh X-Received: by 2002:a05:6a00:2d87:b0:68f:ca4a:efd with SMTP id fb7-20020a056a002d8700b0068fca4a0efdmr5762966pfb.9.1696024168201; Fri, 29 Sep 2023 14:49:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696024168; cv=none; d=google.com; s=arc-20160816; b=OwtaRIdwDnpfPOrhcec+AbmC+uBvk0UI9rXfn68HMDvjCjub93ZdWz2Lv/eTxYRLrB /k5EbyN8KJNoeJ6t1uZuIq3EoajRCYiawQiNjoHRV2tVn866QKG6o5dqftO8EzWOjUnK 5WjN3nuhzHcsURGKcq6h+AICnxhQExQfSo5ku4ZLM76ZkfiFfh1nI+P40ylt2e5x9mXo EJfNDLm6RzEcoePAJC5UPhJF43yLETMLiIeWXZlq6VwMtllFtywjxfTd1mJMo7SIjqem 8VZyo+wg+AUO1fWX3Z2a5gQJEaqT2AxZcTeljAsopK8t4CNRpqOfKqjbKV6FaHuxPPKY VxLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=8lyq3NbxKETKAT4kssG9Gl7+6++BIm6RujbjJHzxU10=; fh=zeiXbg3Ut0jbgbqo3nZqU/T2J2s+wOHy96QZAdAUvmI=; b=oxIEHtsc5EUqpthYNpNZVMaUrFDJh/1vcE6172zs1F92NXPNeVx5I2u1AaHwKEkNAy 5YWF0D9uWEP6kJRwx618w5EkcdNvSQrmX8GjlGf3Z975ZKaMcd7LEntKBhD2zgiXtWE4 3XX4OYusrEuaeljcVz9VKQ8s46+2AqtyNSKnw9OrlOv65V6Hm0wyDVe0XvzLZ2srfzJf XvaBT2/O4jxRyXoZZNOKSJs0gigUOrz+t0L633hMRYz7oURuOgRSVRqC3DfTHXQnf/5+ fAGGkneibTQrqK1vL/Jl2lQ4GbgltXJReGox9P0J+kxgLi8k7VGiS/XkDTvaiT164pwS kivQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=M88Xxnqj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id z125-20020a633383000000b0057d08dac754si10044266pgz.671.2023.09.29.14.49.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 14:49:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=M88Xxnqj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 3526E808D2A2; Fri, 29 Sep 2023 05:14:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233192AbjI2MOB (ORCPT + 99 others); Fri, 29 Sep 2023 08:14:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233115AbjI2MN7 (ORCPT ); Fri, 29 Sep 2023 08:13:59 -0400 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A3F61AA; Fri, 29 Sep 2023 05:13:57 -0700 (PDT) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20230929121355euoutp029355d2b77491cadd67994111037d28a5~JXZZf4USK0777807778euoutp02o; Fri, 29 Sep 2023 12:13:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20230929121355euoutp029355d2b77491cadd67994111037d28a5~JXZZf4USK0777807778euoutp02o DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1695989635; bh=8lyq3NbxKETKAT4kssG9Gl7+6++BIm6RujbjJHzxU10=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=M88XxnqjOeCFtmJ1iLUvg3cga7VIuTJv+1GqYmT6uofLJq3jgsotPtjN5QZA7t1oZ fs7iWrQBoROVkp7B5E2c/zp8eMYLVW4UMFGtNGm5/jfkl9qXkXZMN/pTuYUUkxDHfR HIDo2xQNUMaOXM4Qdv/qAl1z11RhR58+4jS2E998= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20230929121354eucas1p25742ddebbe1cfa7ed6cca8c8327da2b9~JXZZQ0UAB2204222042eucas1p2F; Fri, 29 Sep 2023 12:13:54 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 96.E4.42423.28FB6156; Fri, 29 Sep 2023 13:13:54 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20230929121353eucas1p222db2685fd99727840771a59abb770ce~JXZYHgAdt1405914059eucas1p2f; Fri, 29 Sep 2023 12:13:53 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20230929121353eusmtrp2af1af6bf573e1ce71e31c070f88b0d2f~JXZYGNQIA1483714837eusmtrp2R; Fri, 29 Sep 2023 12:13:53 +0000 (GMT) X-AuditID: cbfec7f2-a51ff7000002a5b7-c6-6516bf82728c Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id CD.21.10549.18FB6156; Fri, 29 Sep 2023 13:13:53 +0100 (BST) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20230929121353eusmtip13974bd648951759583fb359b46754e5e~JXZXzSlko2058220582eusmtip1C; Fri, 29 Sep 2023 12:13:53 +0000 (GMT) Received: from localhost (106.210.248.178) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 29 Sep 2023 13:13:52 +0100 Date: Fri, 29 Sep 2023 14:14:59 +0200 From: Joel Granados To: Steve Wahl CC: Luis Chamberlain , , , 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 , 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 , , , , , , , , , , , , Subject: Re: [PATCH 11/15] sgi-xp: Remove the now superfluous sentinel element from ctl_table array Message-ID: <20230929121459.t7dfskyybi6jovjn@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="4w7nhf7oeskaesco" Content-Disposition: inline In-Reply-To: X-Originating-IP: [106.210.248.178] X-ClientProxiedBy: CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) To CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) X-Brightmail-Tracker: H4sIAAAAAAAAA2VTa1BUZRjuO+dwzoKhh9XkG9QsyJzAQBitdxIaDR0PozQ0jkyXGWSV00rJ JZYN0hxBQW4hF2GEVWRBYTc2F1hhlUXBcAMURzRALkLIhqSCiigCEksLB8uZ/j3vc3m/9/nx iUhxD+MgCg6N5CNCJXscaRtKXz/R/P7B2sX86vLkVdDYXkjAVGY9A6cb+wiY1meQcKI5joKa OB2CmpwzNLSOPqZBa4gn4G69iYFDp0ppuHWOg+PpZwlQtZQiuNPmAIUdegJycxoRnOj0gEd5 S+FigWWfMgyupYTADf0RK+jXVDKQ9aKIhOyMYRpaDCdoSMg3IBioS6Ugpf08DddOpTIwOWa2 AlWDmYCO9LsIktMSENQrF8P45KQVXLjTj+B50xCC7GJXyHuWTYJ6KI+EWsUtBopy1SQ0qKZo 0Gh3QG3WLyRcasqyUOa9EP/TBAOXdV0ETI5bHh6rOEqsX8u1tG7hJl9kIu54zE2Kq/i5k+C6 i6oQd/G5kuKqFD0Mp9TJOYMhluHOqp25UxfuE9xU0gdc16AXpytJorlxdRrJpRdeQn7Lv7Tx DOL3BH/PR7h9HGiz++TgQyJ8zD7aqLxCxKCMRcnIWoTZNVgzncMkIxuRmFUjfNtYSQjDM4TT 9VNzylOE2y6dYV5GShLuk4KgQjjn1zSrf11NjQmUMFQinKpKn41Q7Aqc+fcjNINpdhVuHuom Z/Ai1gkfuds2mybZ0gXYWJNHzwgLWR6bOmY2WYts2Q/xUJWREL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3Sqt3tVGJejfMe984O2VnG5iejqevIJq4GDmoPBT5Nmhe4zjrYOAo4iWCqy J+UK6T/T24AkjQQAAA== X-CMS-MailID: 20230929121353eucas1p222db2685fd99727840771a59abb770ce X-Msg-Generator: CA X-RootMTR: 20230928175234eucas1p2c62c48251c66c0016180977783dd2314 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20230928175234eucas1p2c62c48251c66c0016180977783dd2314 References: <20230928-jag-sysctl_remove_empty_elem_drivers-v1-0-e59120fca9f9@samsung.com> <20230928-jag-sysctl_remove_empty_elem_drive> 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 groat.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 (groat.vger.email [0.0.0.0]); Fri, 29 Sep 2023 05:14:22 -0700 (PDT) --4w7nhf7oeskaesco Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 28, 2023 at 12:51:15PM -0500, Steve Wahl wrote: > On Thu, Sep 28, 2023 at 03:21:36PM +0200, Joel Granados via B4 Relay wrot= e: > > From: Joel Granados > >=20 > > 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/) > >=20 > > Remove sentinel from xpc_sys_xpc_hb and xpc_sys_xpc > >=20 > > Signed-off-by: Joel Granados > > --- > > drivers/misc/sgi-xp/xpc_main.c | 6 ++---- > > 1 file changed, 2 insertions(+), 4 deletions(-) > >=20 > > diff --git a/drivers/misc/sgi-xp/xpc_main.c b/drivers/misc/sgi-xp/xpc_m= ain.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[] =3D { > > .mode =3D 0644, > > .proc_handler =3D proc_dointvec_minmax, > > .extra1 =3D &xpc_hb_check_min_interval, > > - .extra2 =3D &xpc_hb_check_max_interval}, > > - {} > > + .extra2 =3D &xpc_hb_check_max_interval} > > }; > > static struct ctl_table xpc_sys_xpc[] =3D { > > { > > @@ -120,8 +119,7 @@ static struct ctl_table xpc_sys_xpc[] =3D { > > .mode =3D 0644, > > .proc_handler =3D proc_dointvec_minmax, > > .extra1 =3D &xpc_disengage_min_timelimit, > > - .extra2 =3D &xpc_disengage_max_timelimit}, > > - {} > > + .extra2 =3D &xpc_disengage_max_timelimit} > > }; > > =20 > > static struct ctl_table_header *xpc_sysctl; > >=20 > > --=20 > > 2.30.2 > >=20 >=20 > I assume you'll match the rest of the changes with regards to the > trailing comma. If you are refering to Greg's comments. yes. I'll send a V2 with the trailing comma. Best >=20 > Reviewed-by: Steve Wahl >=20 > --=20 > Steve Wahl, Hewlett Packard Enterprise --=20 Joel Granados --4w7nhf7oeskaesco Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEErkcJVyXmMSXOyyeQupfNUreWQU8FAmUWv8IACgkQupfNUreW QU9DQwv+Opqxeb0JXEqqCeoSyrjiYyUtb6SlSpGMHgzSUMrdGnvmrA3cDGKGUhGd TNgpEJ+tN5ZYPPvQD5O1pqTlaBxf4VZytJ8DonLDtW6cyREdb4WLvjb1yMxn6LJh bgJYc7vgcgaK53S2uIm8MJhT3OR33Ft2sAxtR8fuOW59OONGh3vDB+GwxspJ/zaM VR21A7Dpj802nQLhSbKzMo2zv2Za22ltVbKjZOhfo/gH3aDaxJ2OnaVXGlR4oLpw K7oDpV7SlZzWpia4hixX9z0PeNzNheViN4LmyY0jR11VXnCpOBOM4RUkwtDa5N21 GwipoG/V/D2rGuyWtcKTKRbHkBl3klgfwyeeN17PPVqllgyafCeMPIflxb7Dnuxk 24dDkirouJRzNnsF1F7VPr1YGd9MJNFJ+4OB2C/4eOk/b3ql0r9iZXyQUw3A1OH2 hL977fnUzbzPk/dZYy3qVEFJwj+B1agVRH25sPKRqUNQLD7QnFtgu8xPfKrbuQ0N 1jFybOz5 =hyLo -----END PGP SIGNATURE----- --4w7nhf7oeskaesco--