public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* MIPS/IRQCHIP: some remainders of IRQ_CPU
@ 2015-06-01 14:51 Valentin Rothberg
  2015-06-01 19:53 ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: Valentin Rothberg @ 2015-06-01 14:51 UTC (permalink / raw)
  To: ralf, Paul Bolle, Andreas Ruprecht, hengelein Stefan, tglx, jason,
	linux-mips, linux-kernel

Hi Ralf,

your commit 1f1786e60b53 ("MIPS/IRQCHIP: Move irq_chip from arch/mips
to drivers/irqchip.") is in today's linux-next tree (i.e.,
next-20150601).  It renames the Kconfig option IRQ_CPU to
IRQ_MIPS_CPU, but misses to rename a few Kconfig selects (see git
grep) in arch/mips.

If you agree, I can send a trivial patch that renames those remainders?

I detected the issue with ./scripts/checkkconfigsymbols.py by diffing
the last and today's linux tree.

Some advertisement for a small tool I started a few month a go, which
is made for such cases.  With vgrep [1] you can grep for symbols in
the current directory tree and afterwards open specific lines in your
editor.  It's more or less a comfortable wrapper around (git) grep.  I
use it a lot to study source code as well as to manage code changes.
The most prominent user I know is Greg KH who uses it as a replacement
for cgvg.

Kind regards,
 Valentin

[1] https://github.com/vrothberg/vgrep

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: MIPS/IRQCHIP: some remainders of IRQ_CPU
  2015-06-01 14:51 MIPS/IRQCHIP: some remainders of IRQ_CPU Valentin Rothberg
@ 2015-06-01 19:53 ` Ralf Baechle
  2015-06-02  5:48   ` Valentin Rothberg
  0 siblings, 1 reply; 3+ messages in thread
From: Ralf Baechle @ 2015-06-01 19:53 UTC (permalink / raw)
  To: Valentin Rothberg
  Cc: Paul Bolle, Andreas Ruprecht, hengelein Stefan, tglx, jason,
	linux-mips, linux-kernel

On Mon, Jun 01, 2015 at 04:51:48PM +0200, Valentin Rothberg wrote:

> Hi Ralf,
> 
> your commit 1f1786e60b53 ("MIPS/IRQCHIP: Move irq_chip from arch/mips
> to drivers/irqchip.") is in today's linux-next tree (i.e.,
> next-20150601).  It renames the Kconfig option IRQ_CPU to
> IRQ_MIPS_CPU, but misses to rename a few Kconfig selects (see git
> grep) in arch/mips.
> 
> If you agree, I can send a trivial patch that renames those remainders?

sed -i -e 's@\bIRQ_CPU\b@IRQ_MIPS_CPU@' $(git grep -l -w IRQ_CPU)

or something like that.

> I detected the issue with ./scripts/checkkconfigsymbols.py by diffing
> the last and today's linux tree.
> 
> Some advertisement for a small tool I started a few month a go, which
> is made for such cases.  With vgrep [1] you can grep for symbols in
> the current directory tree and afterwards open specific lines in your
> editor.  It's more or less a comfortable wrapper around (git) grep.  I
> use it a lot to study source code as well as to manage code changes.
> The most prominent user I know is Greg KH who uses it as a replacement
> for cgvg.
> 
> Kind regards,
>  Valentin
> 
> [1] https://github.com/vrothberg/vgrep

Thanks for reporting!

  Ralf

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: MIPS/IRQCHIP: some remainders of IRQ_CPU
  2015-06-01 19:53 ` Ralf Baechle
@ 2015-06-02  5:48   ` Valentin Rothberg
  0 siblings, 0 replies; 3+ messages in thread
From: Valentin Rothberg @ 2015-06-02  5:48 UTC (permalink / raw)
  To: Ralf Baechle
  Cc: Paul Bolle, Andreas Ruprecht, hengelein Stefan, tglx, jason,
	linux-mips, linux-kernel

Hi Ralf,

thanks for your answer.

On Mon, Jun 1, 2015 at 9:53 PM, Ralf Baechle <ralf@linux-mips.org> wrote:
> On Mon, Jun 01, 2015 at 04:51:48PM +0200, Valentin Rothberg wrote:
>
>> Hi Ralf,
>>
>> your commit 1f1786e60b53 ("MIPS/IRQCHIP: Move irq_chip from arch/mips
>> to drivers/irqchip.") is in today's linux-next tree (i.e.,
>> next-20150601).  It renames the Kconfig option IRQ_CPU to
>> IRQ_MIPS_CPU, but misses to rename a few Kconfig selects (see git
>> grep) in arch/mips.
>>
>> If you agree, I can send a trivial patch that renames those remainders?
>
> sed -i -e 's@\bIRQ_CPU\b@IRQ_MIPS_CPU@' $(git grep -l -w IRQ_CPU)
>
> or something like that.

I am not sure if you want me to send a patch, do you?

Kind regards,
 Valentin

>> I detected the issue with ./scripts/checkkconfigsymbols.py by diffing
>> the last and today's linux tree.
>>
>> Some advertisement for a small tool I started a few month a go, which
>> is made for such cases.  With vgrep [1] you can grep for symbols in
>> the current directory tree and afterwards open specific lines in your
>> editor.  It's more or less a comfortable wrapper around (git) grep.  I
>> use it a lot to study source code as well as to manage code changes.
>> The most prominent user I know is Greg KH who uses it as a replacement
>> for cgvg.
>>
>> Kind regards,
>>  Valentin
>>
>> [1] https://github.com/vrothberg/vgrep
>
> Thanks for reporting!
>
>   Ralf

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-02  5:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-01 14:51 MIPS/IRQCHIP: some remainders of IRQ_CPU Valentin Rothberg
2015-06-01 19:53 ` Ralf Baechle
2015-06-02  5:48   ` Valentin Rothberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox