From: Patrick Boettcher <pboettcher@kernellabs.com>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: linux-media@vger.kernel.org
Subject: Re: V4L/DVB (12892): DVB-API: add support for ISDB-T and ISDB-Tsb (version 5.1)
Date: Tue, 17 Jan 2012 09:58:59 +0100 [thread overview]
Message-ID: <201201170959.00233.pboettcher@kernellabs.com> (raw)
In-Reply-To: <20120113123757.GA21686@elgon.mountain>
On Friday 13 January 2012 13:37:57 Dan Carpenter wrote:
> Hello Patrick Boettcher,
>
> I know this patch is really old but I was hoping you still might be
> able to take a look at it.
>
> The patch b6e760f30975: "V4L/DVB (12892): DVB-API: add support for
> ISDB-T and ISDB-Tsb (version 5.1)" from Aug 3, 2009, leads to the
> following warning:
> drivers/media/dvb/dvb-core/dvb_frontend.c:993:9: warning: Initializer
> entry defined twice
> drivers/media/dvb/dvb-core/dvb_frontend.c:1012:9: also defined
> here
How does this thing has lived such a long time without being noticed by
anyone? Very strange.
Of course this is wrong and it should be fixed by removing the second
section. IOW, we should keep the section with the 1s.
> drivers/media/dvb/dvb-core/dvb_frontend.c
>
> + _DTV_CMD(DTV_ISDBT_PARTIAL_RECEPTION, 1, 0),
> + _DTV_CMD(DTV_ISDBT_SOUND_BROADCASTING, 1, 0),
> + _DTV_CMD(DTV_ISDBT_SB_SUBCHANNEL_ID, 1, 0),
> + _DTV_CMD(DTV_ISDBT_SB_SEGMENT_IDX, 1, 0),
> + _DTV_CMD(DTV_ISDBT_SB_SEGMENT_COUNT, 1, 0),
> + _DTV_CMD(DTV_ISDBT_LAYERA_FEC, 1, 0),
> + _DTV_CMD(DTV_ISDBT_LAYERA_MODULATION, 1, 0),
> + _DTV_CMD(DTV_ISDBT_LAYERA_SEGMENT_COUNT, 1, 0),
> + _DTV_CMD(DTV_ISDBT_LAYERA_TIME_INTERLEAVING, 1, 0),
> + _DTV_CMD(DTV_ISDBT_LAYERB_FEC, 1, 0),
> + _DTV_CMD(DTV_ISDBT_LAYERB_MODULATION, 1, 0),
> + _DTV_CMD(DTV_ISDBT_LAYERB_SEGMENT_COUNT, 1, 0),
> + _DTV_CMD(DTV_ISDBT_LAYERB_TIME_INTERLEAVING, 1, 0),
> + _DTV_CMD(DTV_ISDBT_LAYERC_FEC, 1, 0),
> + _DTV_CMD(DTV_ISDBT_LAYERC_MODULATION, 1, 0),
> + _DTV_CMD(DTV_ISDBT_LAYERC_SEGMENT_COUNT, 1, 0),
> + _DTV_CMD(DTV_ISDBT_LAYERC_TIME_INTERLEAVING, 1, 0),
I prepared a patch for this in my repo. I will send a pull-request right
away.
Thanks for pointing this out.
regards,
--
Patrick.
prev parent reply other threads:[~2012-01-17 8:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-13 12:37 V4L/DVB (12892): DVB-API: add support for ISDB-T and ISDB-Tsb (version 5.1) Dan Carpenter
2012-01-17 8:58 ` Patrick Boettcher [this message]
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=201201170959.00233.pboettcher@kernellabs.com \
--to=pboettcher@kernellabs.com \
--cc=dan.carpenter@oracle.com \
--cc=linux-media@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox