All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: Arnaud Lacombe <lacombar@gmail.com>
Cc: linux-kbuild@vger.kernel.org, Randy Dunlap <rdunlap@xenotime.net>
Subject: Re: [PATCH] media/Kconfig: fix hexadecimal prefix for `hex' symbols
Date: Thu, 14 Jul 2011 21:01:56 -0300	[thread overview]
Message-ID: <4E1F8374.3090701@infradead.org> (raw)
In-Reply-To: <CACqU3MXp+1WX52sWVz4iey88=PGiFL3bLbQnSOJXBzsneOu6yg@mail.gmail.com>

Em 14-07-2011 20:32, Arnaud Lacombe escreveu:
> Hi,
> 
> On Thu, Jul 14, 2011 at 2:16 PM, Mauro Carvalho Chehab
> <mchehab@infradead.org> wrote:
>> Em 14-07-2011 14:26, Arnaud Lacombe escreveu:
>>> Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
>>> Cc: Randy Dunlap <rdunlap@xenotime.net>
>>> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
>>
>> Arnaud,
>>
>> The patch is ok for me. You can add my acked-by, if you want.
>>
> don't you want to take in though the media/video tree for -next ?

It seems better if you could put it on your tree, before the patch that broke
the Kconfig. Otherwise, you'll need to wait for my merge upstream, before
being sending yours, to avoid breaking git bisect.

Anyway, I'm ok to add it into my tree if you prefer this way.

Thanks!
Mauro

> 
>  - Arnaud
> 
>> However, with 3.0-rc7, this patch and/or Kconfig fixes don't seem to
>> be needed. Basically, include/generated/autoconf.h has "0x" on it:
>>
>> $ grep CONFIG_RADIO_RTRACK_PORT */*/*
>> include/config/auto.conf:CONFIG_RADIO_RTRACK_PORT=20f
>> include/generated/autoconf.h:#define CONFIG_RADIO_RTRACK_PORT 0x20f
>>
>> Maybe some patch applied at -next from another tree broke that behavior.
>>
>> IMHO, keeping those values without "0x" at Kconfig seems more intuitive
>> for the end-user, as otherwise a value like "200" would be confusing
>> if this means 200d or 200h.
>>
>> Anyway, those drivers are very old, and very few people likely still
>> use those old hardware. So, I'm fine if you either want to preserve
>> the current way or to change it.
>>
>> Cheers,
>> Mauro.
>>
>>> ---
>>>  drivers/media/radio/Kconfig |   16 ++++++++--------
>>>  1 files changed, 8 insertions(+), 8 deletions(-)
>>>
>>> diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig
>>> index e4c97fd..9cab04d 100644
>>> --- a/drivers/media/radio/Kconfig
>>> +++ b/drivers/media/radio/Kconfig
>>> @@ -58,7 +58,7 @@ config RADIO_RTRACK
>>>  config RADIO_RTRACK_PORT
>>>       hex "RadioTrack i/o port (0x20f or 0x30f)"
>>>       depends on RADIO_RTRACK=y
>>> -     default "20f"
>>> +     default "0x20f"
>>>       help
>>>         Enter either 0x30f or 0x20f here.  The card default is 0x30f, if you
>>>         haven't changed the jumper setting on the card.
>>> @@ -81,7 +81,7 @@ config RADIO_RTRACK2
>>>  config RADIO_RTRACK2_PORT
>>>       hex "RadioTrack II i/o port (0x20c or 0x30c)"
>>>       depends on RADIO_RTRACK2=y
>>> -     default "30c"
>>> +     default "0x30c"
>>>       help
>>>         Enter either 0x30c or 0x20c here.  The card default is 0x30c, if you
>>>         haven't changed the jumper setting on the card.
>>> @@ -104,7 +104,7 @@ config RADIO_AZTECH
>>>  config RADIO_AZTECH_PORT
>>>       hex "Aztech/Packard Bell I/O port (0x350 or 0x358)"
>>>       depends on RADIO_AZTECH=y
>>> -     default "350"
>>> +     default "0x350"
>>>       help
>>>         Enter either 0x350 or 0x358 here.  The card default is 0x350, if you
>>>         haven't changed the setting of jumper JP3 on the card.  Removing the
>>> @@ -133,7 +133,7 @@ config RADIO_GEMTEK
>>>  config RADIO_GEMTEK_PORT
>>>       hex "Fixed I/O port (0x20c, 0x30c, 0x24c, 0x34c, 0c24c or 0x28c)"
>>>       depends on RADIO_GEMTEK=y
>>> -     default "34c"
>>> +     default "0x34c"
>>>       help
>>>         Enter either 0x20c, 0x30c, 0x24c or 0x34c here. The card default is
>>>         0x34c, if you haven't changed the jumper setting on the card. On
>>> @@ -237,7 +237,7 @@ config RADIO_TERRATEC
>>>  config RADIO_TERRATEC_PORT
>>>       hex "Terratec i/o port (normally 0x590)"
>>>       depends on RADIO_TERRATEC=y
>>> -     default "590"
>>> +     default "0x590"
>>>       help
>>>         Fill in the I/O port of your TerraTec FM radio card. If unsure, go
>>>         with the default.
>>> @@ -255,7 +255,7 @@ config RADIO_TRUST
>>>  config RADIO_TRUST_PORT
>>>       hex "Trust i/o port (usually 0x350 or 0x358)"
>>>       depends on RADIO_TRUST=y
>>> -     default "350"
>>> +     default "0x350"
>>>       help
>>>         Enter the I/O port of your Trust FM radio card. If unsure, try the
>>>         values "0x350" or "0x358".
>>> @@ -278,7 +278,7 @@ config RADIO_TYPHOON
>>>  config RADIO_TYPHOON_PORT
>>>       hex "Typhoon I/O port (0x316 or 0x336)"
>>>       depends on RADIO_TYPHOON=y
>>> -     default "316"
>>> +     default "0x316"
>>>       help
>>>         Enter the I/O port of your Typhoon or EcoRadio radio card.
>>>
>>> @@ -312,7 +312,7 @@ config RADIO_ZOLTRIX
>>>  config RADIO_ZOLTRIX_PORT
>>>       hex "ZOLTRIX I/O port (0x20c or 0x30c)"
>>>       depends on RADIO_ZOLTRIX=y
>>> -     default "20c"
>>> +     default "0x20c"
>>>       help
>>>         Enter the I/O port of your Zoltrix radio card.
>>>
>>
>>


  reply	other threads:[~2011-07-15  0:02 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-10 19:51 [PATCH 1/9] stringify: add HEX_STRING() Randy Dunlap
2011-07-10 19:53 ` [PATCH 2/9] media/radio: fix aimslab CONFIG IO PORT Randy Dunlap
2011-07-15  1:44   ` Arnaud Lacombe
2011-07-10 19:54 ` [PATCH 3/9] media/radio: fix aztech " Randy Dunlap
2011-07-10 19:55 ` [PATCH 4/9] media/radio: fix gemtek " Randy Dunlap
2011-07-10 19:56 ` [PATCH 5/9] media/radio: fix rtrack2 " Randy Dunlap
2011-07-10 19:57 ` [PATCH 6/9] media/radio: fix terratec " Randy Dunlap
2011-07-10 19:58 ` [PATCH 7/9] media/radio: fix trust " Randy Dunlap
2011-07-10 19:59 ` [PATCH 8/9] media/radio: fix typhoon " Randy Dunlap
2011-07-10 19:59 ` [PATCH 9/9] media/radio: fix zoltrix " Randy Dunlap
2011-07-13 21:05 ` [PATCH 1/9] stringify: add HEX_STRING() Mauro Carvalho Chehab
2011-07-13 21:11   ` Randy Dunlap
2011-07-13 22:04   ` Randy Dunlap
2011-07-13 21:49 ` Arnaud Lacombe
2011-07-13 22:00   ` Randy Dunlap
2011-07-13 22:06     ` Arnaud Lacombe
2011-07-13 22:08       ` Randy Dunlap
2011-07-13 22:13         ` Arnaud Lacombe
2011-07-13 22:17           ` Randy Dunlap
2011-07-14  4:03             ` Arnaud Lacombe
2011-07-14 17:26             ` [PATCH] media/Kconfig: fix hexadecimal prefix for `hex' symbols Arnaud Lacombe
2011-07-14 18:16               ` Mauro Carvalho Chehab
2011-07-14 18:47                 ` Arnaud Lacombe
2011-07-14 23:32                 ` Arnaud Lacombe
2011-07-15  0:01                   ` Mauro Carvalho Chehab [this message]
2011-07-15  1:39                     ` Arnaud Lacombe
2011-07-24 21:38               ` Arnaud Lacombe

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=4E1F8374.3090701@infradead.org \
    --to=mchehab@infradead.org \
    --cc=lacombar@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=rdunlap@xenotime.net \
    /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.