[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <871rn2ucw6.fsf@x220.int.ebiederm.org>
Date: Fri, 29 May 2020 07:46:49 -0500
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Luis Chamberlain <mcgrof@...nel.org>
Cc: keescook@...omium.org, yzaikin@...gle.com, nixiaoming@...wei.com,
axboe@...nel.dk, clemens@...isch.de, arnd@...db.de,
gregkh@...uxfoundation.org, jani.nikula@...ux.intel.com,
joonas.lahtinen@...ux.intel.com, rodrigo.vivi@...el.com,
airlied@...ux.ie, daniel@...ll.ch, benh@...nel.crashing.org,
rdna@...com, viro@...iv.linux.org.uk, mark@...heh.com,
jlbec@...lplan.org, joseph.qi@...ux.alibaba.com, vbabka@...e.cz,
sfr@...b.auug.org.au, jack@...e.cz, amir73il@...il.com,
rafael@...nel.org, tytso@....edu, julia.lawall@...6.fr,
akpm@...ux-foundation.org, intel-gfx@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org, linuxppc-dev@...ts.ozlabs.org,
ocfs2-devel@....oracle.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 02/13] cdrom: use new sysctl subdir helper register_sysctl_subdir()
Luis Chamberlain <mcgrof@...nel.org> writes:
> This simplifies the code considerably. The following coccinelle
With register_sysctl the code would read:
cdrom_sysctl_header = register_sysctl("dev/cdrom", cdrom_table);
Please go that direction. Thank you.
Eric
Powered by blists - more mailing lists