Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1446758

Re: [PATCH v4] Documentation: Move samples from doc to samples/

From Jonathan Corbet <corbet@lwn.net>
Newsgroups linux.kernel
Subject Re: [PATCH v4] Documentation: Move samples from doc to samples/
Date 2016-07-20 00:40 +0200
Message-ID <rWLQd-1rn-11@gated-at.bofh.it> (permalink)
References (1 earlier) <ngBPA-7Le-9@gated-at.bofh.it> <rWmRQ-26O-37@gated-at.bofh.it> <ngBPA-7Le-13@gated-at.bofh.it> <hiyo3-5Kl-35@gated-at.bofh.it> <rWmRQ-26O-33@gated-at.bofh.it>
Organization LWN.net

Show all headers | View raw


On Mon, 18 Jul 2016 15:55:00 -0400
Mahesh Khanwalkar <maheshkhanwalkar@gmail.com> wrote:

> Moved sample code found in Documentation/ to samples/ but kept actual
> documentation where it is, while updating any in-text references to the
> moved code. Updated the Documentation/Makefile and samples/Makefile to
> reflect the change. Built with CONFIG_SAMPLES=y in .config with no
> build errors. The directories added within samples/ still follow the
> same structure that they did in Documentation. Directories in
> Documentation/ that contained code still exist, only the code within
> them has been moved out accordingly.

So, while I'm generally in favor of moving this code over to samples/,
I'm a bit nervous about a single, do-it-all patch.  I'd rather see each
subsystem's stuff moved separately, with (1) review from the appropriate
maintainer, and (2) some sense that somebody has looked at this code and
ensured that it still makes sense to keep around.

For example, pcmcia/crc32hash.c predates the git era and has only seen
trivial changes in living memory.  I have this vague sense that the
number of new PCMCIA cards needing addition is pretty small these days.
Rather than move it to samples/ (what is it a sample of?), we might want
to consider just getting rid of it.

Thanks,

jon

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4] Documentation: Move samples from doc to samples/ Mahesh Khanwalkar <maheshkhanwalkar@gmail.com> - 2016-07-18 22:00 +0200
  Re: [PATCH v4] Documentation: Move samples from doc to samples/ Jonathan Corbet <corbet@lwn.net> - 2016-07-20 00:40 +0200
    Re: [PATCH v4] Documentation: Move samples from doc to samples/ Randy Dunlap <rdunlap@infradead.org> - 2016-07-20 00:50 +0200
    Re: [PATCH v4] Documentation: Move samples from doc to samples/ Mahesh Khanwalkar <maheshkhanwalkar@gmail.com> - 2016-07-20 01:00 +0200

csiph-web