lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1205513171.27712.1.camel@brick>
Date:	Fri, 14 Mar 2008 09:46:11 -0700
From:	Harvey Harrison <harvey.harrison@...il.com>
To:	Randy Dunlap <randy.dunlap@...cle.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 01/10] Add macros similar to min/max/min_t/max_t.

On Fri, 2008-03-14 at 09:34 -0700, Randy Dunlap wrote:
> On Thu, 13 Mar 2008 22:18:45 -0700 Harvey Harrison wrote:

> Where is some blurb/comment about what "clamp" means/does?
> min/max are well understood, but clamp?  Is that a shop tool?
> I think I have a few out in my garage.
> 
> So can we have some blurb here to explain clamp(), clamp_t(),
> and clamp_val()?
> 
> (kernel-doc preferred, but not required) e.g:

> 
> /**
>  * clamp - returns a value that is restricted between min & max inclusive
>  * @val: current value
>  * @min: minimum value of the clamping region
>  * @max: maximum value of the clamping region
>  */
> 
> and explain the differences in clamp/clamp_t/clamp_val...
> 
> 

Sure, I'll do that..does kernel-doc actually work for macros?

Harvey


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ