Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology
Matthew Wilcox <[email protected]> Mon, 6 Jul 2020 08:51:03 -0400
| Newsgroups | org.linuxfoundation.lists.ksummit-discuss,dev.linux.lists.ksummit,dev.linux.lists.tech-board-discuss,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAFhKne9vswg3Q4mTOz4WP6QWJ8tDH+SNx1Pu7LotLagoNURKgw@mail.gmail.com> |
On Mon, Jul 6, 2020 at 3:54 AM Geert Uytterhoeven <[email protected]> wrote: > On Mon, Jul 6, 2020 at 9:22 AM Greg Kroah-Hartman > <[email protected]> wrote: > > On Mon, Jul 06, 2020 at 05:10:37PM +1000, NeilBrown wrote: > > > On Sat, Jul 04 2020, Matthew Wilcox wrote: > > > > Another suggestion for "slave" replacement should be "device". This is in > > > > the context of the w1 bus which is by far the largest user of the > > > > master/slave terminology in the kernel. > > W1 the largest? Really? I should have said "most obnoxious". They managed to put that terminology in filenames, eg drivers/w1/slaves and Documentation/w1/slaves In terms of number of lines of code using the word, it's only seventh in drivers/: $ for i in drivers/*; do c=$(find $i -type f |xargs grep slave |wc -l); echo "$c $i"; done |sort -rn |head 5218 drivers/net 1341 drivers/dma 988 drivers/i2c 695 drivers/gpu 666 drivers/soundwire 665 drivers/spi 559 drivers/w1 461 drivers/infiniband 389 drivers/media 301 drivers/scsi _______________________________________________ Ksummit-discuss mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/ksummit-discuss