All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Ezequiel Garcia <elezegarcia@gmail.com>
Cc: Takashi Iwai <tiwai@suse.de>, Hans Verkuil <hverkuil@xs4all.nl>,
	alsa-devel@alsa-project.org,
	Sylwester Nawrocki <sylvester.nawrocki@gmail.com>,
	linux-media@vger.kernel.org
Subject: Re: [PATCH v8] media: Add stk1160 new driver
Date: Thu, 09 Aug 2012 17:25:50 -0300	[thread overview]
Message-ID: <50241CCE.2030000@redhat.com> (raw)
In-Reply-To: <1344260302-28849-1-git-send-email-elezegarcia@gmail.com>

Patch looks ok. Just a few comments:

Em 06-08-2012 10:38, Ezequiel Garcia escreveu:
> This driver adds support for stk1160 usb bridge as used in some
> video/audio usb capture devices.
> It is a complete rewrite of staging/media/easycap driver and
> it's expected as a replacement.
> ---

Please don't add a "---" here. Everything after a --- are discarded
by my scripts (and by most other kernel developer scripts).

> Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
> Cc: Takashi Iwai <tiwai@suse.de>
> Cc: Hans Verkuil <hverkuil@xs4all.nl>
> Cc: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>

Hmm... weren't it reviewed already be them?

> Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
> diff --git a/drivers/media/video/stk1160/Makefile b/drivers/media/video/stk1160/Makefile
> new file mode 100644
> index 0000000..8f66a78
> --- /dev/null
> +++ b/drivers/media/video/stk1160/Makefile
> @@ -0,0 +1,12 @@
> +obj-stk1160-ac97-$(CONFIG_VIDEO_STK1160_AC97) := stk1160-ac97.o
> +
> +stk1160-y := 	stk1160-core.o \
> +		stk1160-v4l.o \
> +		stk1160-video.o \
> +		stk1160-i2c.o \
> +		$(obj-stk1160-ac97-y)
> +
> +obj-$(CONFIG_VIDEO_STK1160) += stk1160.o
> +
> +ccflags-y += -Wall

You shouldn't be adding the above here.

> +ccflags-y += -Idrivers/media/video

Ah, please split this patch into two patches: one with the new driver
addition, and another one with the removal of the driver at staging.

That will help to make the patch smaller, and avoids mixing two different
things at the same place.

Thanks,
Mauro

WARNING: multiple messages have this Message-ID (diff)
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Ezequiel Garcia <elezegarcia@gmail.com>
Cc: linux-media@vger.kernel.org, alsa-devel@alsa-project.org,
	Takashi Iwai <tiwai@suse.de>, Hans Verkuil <hverkuil@xs4all.nl>,
	Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Subject: Re: [PATCH v8] media: Add stk1160 new driver
Date: Thu, 09 Aug 2012 17:25:50 -0300	[thread overview]
Message-ID: <50241CCE.2030000@redhat.com> (raw)
In-Reply-To: <1344260302-28849-1-git-send-email-elezegarcia@gmail.com>

Patch looks ok. Just a few comments:

Em 06-08-2012 10:38, Ezequiel Garcia escreveu:
> This driver adds support for stk1160 usb bridge as used in some
> video/audio usb capture devices.
> It is a complete rewrite of staging/media/easycap driver and
> it's expected as a replacement.
> ---

Please don't add a "---" here. Everything after a --- are discarded
by my scripts (and by most other kernel developer scripts).

> Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
> Cc: Takashi Iwai <tiwai@suse.de>
> Cc: Hans Verkuil <hverkuil@xs4all.nl>
> Cc: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>

Hmm... weren't it reviewed already be them?

> Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
> diff --git a/drivers/media/video/stk1160/Makefile b/drivers/media/video/stk1160/Makefile
> new file mode 100644
> index 0000000..8f66a78
> --- /dev/null
> +++ b/drivers/media/video/stk1160/Makefile
> @@ -0,0 +1,12 @@
> +obj-stk1160-ac97-$(CONFIG_VIDEO_STK1160_AC97) := stk1160-ac97.o
> +
> +stk1160-y := 	stk1160-core.o \
> +		stk1160-v4l.o \
> +		stk1160-video.o \
> +		stk1160-i2c.o \
> +		$(obj-stk1160-ac97-y)
> +
> +obj-$(CONFIG_VIDEO_STK1160) += stk1160.o
> +
> +ccflags-y += -Wall

You shouldn't be adding the above here.

> +ccflags-y += -Idrivers/media/video

Ah, please split this patch into two patches: one with the new driver
addition, and another one with the removal of the driver at staging.

That will help to make the patch smaller, and avoids mixing two different
things at the same place.

Thanks,
Mauro


  parent reply	other threads:[~2012-08-09 19:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1344260302-28849-1-git-send-email-elezegarcia@gmail.com>
2012-08-06 13:58 ` [PATCH v8] media: Add stk1160 new driver Ezequiel Garcia
2012-08-06 13:58   ` Ezequiel Garcia
2012-08-06 14:08   ` Mauro Carvalho Chehab
2012-08-06 14:08     ` Mauro Carvalho Chehab
2012-08-06 14:18     ` Hans Verkuil
2012-08-06 14:18       ` Hans Verkuil
2012-08-06 15:21       ` [alsa-devel] " Ezequiel Garcia
2012-08-06 15:42         ` Ezequiel Garcia
2012-08-06 19:13           ` Ezequiel Garcia
2012-08-06 19:13             ` [alsa-devel] " Ezequiel Garcia
2012-08-09 12:24             ` Ezequiel Garcia
2012-08-09 12:33               ` Mauro Carvalho Chehab
2012-08-09 12:33                 ` [alsa-devel] " Mauro Carvalho Chehab
2012-08-09 13:57                 ` Ezequiel Garcia
2012-08-09 20:25 ` Mauro Carvalho Chehab [this message]
2012-08-09 20:25   ` Mauro Carvalho Chehab
2012-08-09 20:43   ` Ezequiel Garcia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50241CCE.2030000@redhat.com \
    --to=mchehab@redhat.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=elezegarcia@gmail.com \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    --cc=sylvester.nawrocki@gmail.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.