Re: About Kconfig indentation fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Monday, 23 October, 2023 at 05:49:50 am IST, Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote: 
>>On 10/22/23 11:24, P J P wrote:
>> Please see: -> https://paste.centos.org/view/06ed8bf0
>
>Usually it is better to try to find out who has been merging the most recent
>patches to the file (by using 'git log' to see the history).

* It's not always clear from history whom to contact. Some commits are quite old and original author's email has changed since then. Will check more...

>> * Is there some method/rule to the indentation in Kconfig files/entries?
>
>It's in coding-style.rst instead of kconfig-language.rst.
>
>from Documentation/process/coding-style.rst:
>
>10) Kconfig configuration files
>-------------------------------
>
>For all of the Kconfig* configuration files throughout the source tree,
>the indentation is somewhat different.  Lines under a ``config`` definition
>are indented with one tab, while help text is indented an additional two
>spaces.  Example::

* This is nice. It'll help to add this to the Kconfig language text as well. Also guidance if config entries within 'if' or 'choice' blocks should be indented with multiple tabs(\t) or if that's not recommended etc.


Thank you.
---
  -Prasad




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux