lkml.org 
[lkml]   [2011]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] dma-debug: hash_bucket_find needs to allow for offsets within an entry (v2)
On Mon, Aug 22, 2011 at 06:46:26PM +0200, Roedel, Joerg wrote:
> Hi Neil,
>
> I applied your patch and did some minor changes and fixed one problem I
> have seen. Find the edited version appended, when this is fine for you I
> push it.
>
> Thanks,
> Joerg
>
> On Mon, Aug 08, 2011 at 03:13:54PM -0400, Neil Horman wrote:
> > + range += (1 << HASH_FN_SHIFT);
> > + put_hash_bucket(*bucket, flags);
> > + index.dev_addr -= HASH_FN_SHIFT;
>
> This should be index.dev_addr -= (1 << HASH_FN_SHIFT), right?
>
Yup, thats right, good catch, thanks!
Acked-by: Neil Horman <nhorman@tuxdriver.com>



\
 
 \ /
  Last update: 2011-08-22 19:25    [W:0.291 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site