mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Kconfig style question
       [not found] <7Z7fc-4ZL-21@gated-at.bofh.it>
@ 2007-03-16  7:53 ` Bodo Eggert
  2007-03-16 20:09   ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: Bodo Eggert @ 2007-03-16  7:53 UTC (permalink / raw)
  To: Kumar Gala, Linux Kernel list, Sam Ravnborg, Roman Zippel

Kumar Gala <galak@kernel.crashing.org> wrote:

> For source lines I've seen both:
> 
> source "arch/powerpc/platforms/52xx/Kconfig"
> 
> and
> 
> source arch/powerpc/platforms/85xx/Kconfig
> 
> Is there a preferred style?  Quotes or not?

$ find . -name Kconfig -exec grep ^source '{}' \;|grep \"|wc -l
    732
$ find . -name Kconfig -exec grep ^source '{}' \;|grep -v \"|wc -l
     44

-- 
Funny quotes:
18. Mind like a steel trap - rusty and illegal in 37 states.

Friß, Spammer: yGspf@.6.7eggert.dyndns.org mgbem@Gtjunw.7eggert.dyndns.org

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

* Re: Kconfig style question
  2007-03-16  7:53 ` Kconfig style question Bodo Eggert
@ 2007-03-16 20:09   ` Sam Ravnborg
  0 siblings, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2007-03-16 20:09 UTC (permalink / raw)
  To: Bodo Eggert; +Cc: Kumar Gala, Linux Kernel list, Roman Zippel

On Fri, Mar 16, 2007 at 08:53:53AM +0100, Bodo Eggert wrote:
> Kumar Gala <galak@kernel.crashing.org> wrote:
> 
> > For source lines I've seen both:
> > 
> > source "arch/powerpc/platforms/52xx/Kconfig"
> > 
> > and
> > 
> > source arch/powerpc/platforms/85xx/Kconfig
> > 
> > Is there a preferred style?  Quotes or not?
> 
> $ find . -name Kconfig -exec grep ^source '{}' \;|grep \"|wc -l
>     732
> $ find . -name Kconfig -exec grep ^source '{}' \;|grep -v \"|wc -l
>      44

Which is somewaht funny.
source is defined like this:
"source" <prompt>

Where <prompt> may be a single string without spaces or
a quoted string with spaces.
So kconfig allow you to use spaces in the path/filename. But
then most users uses "" despite it is not needed since we obviously
do not use spaces in path/filename in the kernel due to
make limitations (and good taste).

	Sam

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

* Kconfig style question
@ 2007-03-15 23:01 Kumar Gala
  0 siblings, 0 replies; 3+ messages in thread
From: Kumar Gala @ 2007-03-15 23:01 UTC (permalink / raw)
  To: Sam Ravnborg, Roman Zippel; +Cc: Linux Kernel list

For source lines I've seen both:

source "arch/powerpc/platforms/52xx/Kconfig"

and

source arch/powerpc/platforms/85xx/Kconfig

Is there a preferred style?  Quotes or not?

- k

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

end of thread, other threads:[~2007-03-16 20:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <7Z7fc-4ZL-21@gated-at.bofh.it>
2007-03-16  7:53 ` Kconfig style question Bodo Eggert
2007-03-16 20:09   ` Sam Ravnborg
2007-03-15 23:01 Kumar Gala

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

all inboxes | Powered by JetHome®