Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1386625 > unrolled thread
| Started by | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| First post | 2016-04-25 18:10 +0200 |
| Last post | 2016-04-26 13:00 +0200 |
| Articles | 5 — 4 participants |
Back to article view | Back to linux.kernel
[PATCH v2 0/2] moves samples out of Documentation directory Arnd Bergmann <arnd@arndb.de> - 2016-04-25 18:10 +0200
[PATCH v2 2/2] samples: v4l: from Documentation to samples directory Arnd Bergmann <arnd@arndb.de> - 2016-04-25 18:10 +0200
Re: [PATCH v2 0/2] moves samples out of Documentation directory Jonathan Corbet <corbet@lwn.net> - 2016-04-26 12:00 +0200
Re: [PATCH v2 0/2] moves samples out of Documentation directory Hans Verkuil <hansverk@cisco.com> - 2016-04-26 12:40 +0200
Re: [PATCH v2 0/2] moves samples out of Documentation directory Mauro Carvalho Chehab <mchehab@osg.samsung.com> - 2016-04-26 13:00 +0200
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2016-04-25 18:10 +0200 |
| Subject | [PATCH v2 0/2] moves samples out of Documentation directory |
| Message-ID | <rrRfc-hZ-23@gated-at.bofh.it> |
As suggested by Nicolas Pitre, here is a resend of two patches to move the kernel modules from Documentation/*/ to samples/*/. With Nico's changes in place, it's no longer necessary to do this, but it seems like a good idea anyway for consistency. Not sure who would be the best person to pick up the patches, I'd probably either the Documentation or the kbuild maintainers. Arnd [PATCH v2 1/2] samples: connector: from Documentation to samples [PATCH v2 2/2] samples: v4l: from Documentation to samples directory
[toc] | [next] | [standalone]
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2016-04-25 18:10 +0200 |
| Subject | [PATCH v2 2/2] samples: v4l: from Documentation to samples directory |
| Message-ID | <rrRfd-hZ-45@gated-at.bofh.it> |
| In reply to | #1386625 |
A small bug with the new autoksyms support showed that there are
two kernel modules in the Documentation directory that qualify
as samples, while all other samples are in the samples/ directory.
This patch was originally meant as a workaround for that bug, but
it has now been solved in a different way. However, I still think
it makes sense as a cleanup to consolidate all sample code in
one place.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
Documentation/Makefile | 3 +--
Documentation/video4linux/v4l2-framework.txt | 2 +-
samples/Makefile | 2 +-
{Documentation/video4linux => samples/v4l}/Makefile | 0
{Documentation/video4linux => samples/v4l}/v4l2-pci-skeleton.c | 0
5 files changed, 3 insertions(+), 4 deletions(-)
rename {Documentation/video4linux => samples/v4l}/Makefile (100%)
rename {Documentation/video4linux => samples/v4l}/v4l2-pci-skeleton.c (100%)
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 13b5ae1b87aa..de955e151af8 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -1,4 +1,3 @@
subdir-y := accounting auxdisplay blackfin \
filesystems filesystems ia64 laptops mic misc-devices \
- networking pcmcia prctl ptp timers vDSO video4linux \
- watchdog
+ networking pcmcia prctl ptp timers vDSO watchdog
diff --git a/Documentation/video4linux/v4l2-framework.txt b/Documentation/video4linux/v4l2-framework.txt
index fa41608ab2b4..cbefc7902f5f 100644
--- a/Documentation/video4linux/v4l2-framework.txt
+++ b/Documentation/video4linux/v4l2-framework.txt
@@ -35,7 +35,7 @@ need and this same framework should make it much easier to refactor
common code into utility functions shared by all drivers.
A good example to look at as a reference is the v4l2-pci-skeleton.c
-source that is available in this directory. It is a skeleton driver for
+source that is available in samples/v4l/. It is a skeleton driver for
a PCI capture card, and demonstrates how to use the V4L2 driver
framework. It can be used as a template for real PCI video capture driver.
diff --git a/samples/Makefile b/samples/Makefile
index 594ef7d9fa2a..2e3b523d7097 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -2,4 +2,4 @@
obj-$(CONFIG_SAMPLES) += kobject/ kprobes/ trace_events/ livepatch/ \
hw_breakpoint/ kfifo/ kdb/ hidraw/ rpmsg/ seccomp/ \
- configfs/ connector/
+ configfs/ connector/ v4l/
diff --git a/Documentation/video4linux/Makefile b/samples/v4l/Makefile
similarity index 100%
rename from Documentation/video4linux/Makefile
rename to samples/v4l/Makefile
diff --git a/Documentation/video4linux/v4l2-pci-skeleton.c b/samples/v4l/v4l2-pci-skeleton.c
similarity index 100%
rename from Documentation/video4linux/v4l2-pci-skeleton.c
rename to samples/v4l/v4l2-pci-skeleton.c
--
2.7.0
[toc] | [prev] | [next] | [standalone]
| From | Jonathan Corbet <corbet@lwn.net> |
|---|---|
| Date | 2016-04-26 12:00 +0200 |
| Message-ID | <rs7WG-5oQ-1@gated-at.bofh.it> |
| In reply to | #1386625 |
On Mon, 25 Apr 2016 18:03:07 +0200 Arnd Bergmann <arnd@arndb.de> wrote: > As suggested by Nicolas Pitre, here is a resend of two patches to > move the kernel modules from Documentation/*/ to samples/*/. > > With Nico's changes in place, it's no longer necessary to do this, > but it seems like a good idea anyway for consistency. > Not sure who would be the best person to pick up the patches, I'd > probably either the Documentation or the kbuild maintainers. > > Arnd > > [PATCH v2 1/2] samples: connector: from Documentation to samples > [PATCH v2 2/2] samples: v4l: from Documentation to samples directory I can take them through the docs tree. Hans [added], are you OK with moving v4l2-pci-skeleton.c over to the samples directory? Thanks, jon
[toc] | [prev] | [next] | [standalone]
| From | Hans Verkuil <hansverk@cisco.com> |
|---|---|
| Date | 2016-04-26 12:40 +0200 |
| Message-ID | <rs8zp-652-35@gated-at.bofh.it> |
| In reply to | #1387310 |
On 04/26/2016 11:59 AM, Jonathan Corbet wrote: > On Mon, 25 Apr 2016 18:03:07 +0200 > Arnd Bergmann <arnd@arndb.de> wrote: > >> As suggested by Nicolas Pitre, here is a resend of two patches to >> move the kernel modules from Documentation/*/ to samples/*/. >> >> With Nico's changes in place, it's no longer necessary to do this, >> but it seems like a good idea anyway for consistency. >> Not sure who would be the best person to pick up the patches, I'd >> probably either the Documentation or the kbuild maintainers. >> >> Arnd >> >> [PATCH v2 1/2] samples: connector: from Documentation to samples >> [PATCH v2 2/2] samples: v4l: from Documentation to samples directory > > I can take them through the docs tree. > > Hans [added], are you OK with moving v4l2-pci-skeleton.c over to > the samples directory? Yes, that's fine. For the record: Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Regards, Hans
[toc] | [prev] | [next] | [standalone]
| From | Mauro Carvalho Chehab <mchehab@osg.samsung.com> |
|---|---|
| Date | 2016-04-26 13:00 +0200 |
| Message-ID | <rs8SK-6cK-9@gated-at.bofh.it> |
| In reply to | #1387347 |
Em Tue, 26 Apr 2016 12:28:42 +0200 Hans Verkuil <hansverk@cisco.com> escreveu: > On 04/26/2016 11:59 AM, Jonathan Corbet wrote: > > On Mon, 25 Apr 2016 18:03:07 +0200 > > Arnd Bergmann <arnd@arndb.de> wrote: > > > >> As suggested by Nicolas Pitre, here is a resend of two patches to > >> move the kernel modules from Documentation/*/ to samples/*/. > >> > >> With Nico's changes in place, it's no longer necessary to do this, > >> but it seems like a good idea anyway for consistency. > >> Not sure who would be the best person to pick up the patches, I'd > >> probably either the Documentation or the kbuild maintainers. > >> > >> Arnd > >> > >> [PATCH v2 1/2] samples: connector: from Documentation to samples > >> [PATCH v2 2/2] samples: v4l: from Documentation to samples directory > > > > I can take them through the docs tree. > > > > Hans [added], are you OK with moving v4l2-pci-skeleton.c over to > > the samples directory? > > Yes, that's fine. For the record: > > Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> > > Regards, > > Hans > -- > To unsubscribe from this list: send the line "unsubscribe linux-doc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Thanks, Mauro
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web