Erik,
This way seems a bit more cryptic to me, but the math is more or less the
same and the masking is a nice touch, so I'd say it works for me. (I'm the
new guy playing in your sandbox, so I'll follow your lead and style...)
Jim
Erik Hovland wrote:
>
> On Fri, Feb 25, 2005 at 12:12:47PM -0500, Jim Kaba wrote:
> > Erik,
> > One thing got left out in your revised patch: Not only is the range
> > 0-100, but the "sense" of the numbers are reversed.
>
> I was wondering about that when I audited it. I read that in the pdf.
> But since the code didn't have it I was a little nervous.
>
> This patch tries something a little different. Let me know if it works
> for you.
>
> Philip or Jamey, please apply this patch to cvs version 1.20 of the
> ak4535.c driver. I can make incremental patches if you need me to.
>
> E
>
> --
> Erik Hovland
> mail: erik AT hovland DOT org
> web: http://hovland.org/
> PGP/GPG public key available on request
>
> ---------------------------------------------------------------------------
>
> fix-range-checking-on-all-values.patchName: fix-range-checking-on-all-values.patch
> Type: Plain Text (text/plain)
-- ---------------------------------------------------------------------- James T. Kaba Sarnoff Corporation There are 10 kinds of people in the world: jkaba_at_sarnoff.com those who understand binary, and those who don't. 609-734-2246Received on Fri Feb 25 2005 - 16:10:13 EST
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:20:11 EDT