lkml.org 
[lkml]   [2019]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] lib/test_rhashtable: Make test_insert_dup() allocate its hash table dynamically
From
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Thu, 31 Jan 2019 20:08:26 +0800

> On Wed, Jan 30, 2019 at 10:42:30AM -0800, Bart Van Assche wrote:
>> The test_insert_dup() function from lib/test_rhashtable.c passes a
>> pointer to a stack object to rhltable_init(). Allocate the hash table
>> dynamically to avoid that the following is reported with object
>> debugging enabled:
...
>> Signed-off-by: Bart Van Assche <bvanassche@acm.org>
...
>
> Acked-by: Herbert Xu <herbert@gondor.apana.org.au>

Applied, thanks everyone.

\
 
 \ /
  Last update: 2019-01-31 18:39    [W:0.085 / U:2.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site