Re: [PATCH v3] lib/test_rhashtable: Make test_insert_dup() allocate its hash table dynamically

From: David Miller
Date: Thu Jan 31 2019 - 12:37:47 EST


From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxx>
...
>
> Acked-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

Applied, thanks everyone.