Re: [PATCH] kernel-doc: improve "no structured comments found" error

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

 



On 06/06/13 15:59, Johannes Berg wrote:
> On Thu, 2013-06-06 at 15:55 -0700, Randy Dunlap wrote:
>> On 06/05/13 00:29, Johannes Berg wrote:
>>> From: Johannes Berg <johannes.berg@xxxxxxxxx>
>>>
>>> This error (typically) happens when using -function, in which
>>> case it's useful to know what the script was looking for that
>>> it couldn't find. Print out the functions.
> 
>> I think that I agree with your intent here, but in my normal "make htmldocs",
>> this gave me 850 lines of "Was looking for '<function_name>'",
>> which I find a bit excessive.
> 
> Heh, that's indeed a bit excessive, although it could be pruned easily
> from the templates (and probably should, I think each one of them
> generated a "couldn't find" page?)
> 
>> Would you care to make this an optional test?
> 
> How would you do that? Pass some sort of environment variable?

It could be an environment variable or just a command line argument (see ARGV
processing).

-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux