lkml.org 
[lkml]   [2018]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] lib/rhashtable: Fix work initialization in rhashtable_init()
From
From: Bart Van Assche <bvanassche@acm.org>
Date: Mon, 17 Dec 2018 13:40:58 -0800

> The test_insert_dup() function from lib/test_rhashtable.c passes a
> pointer to a stack object to rhltable_init(). Avoid that the following
> is reported with object debugging enabled while running the selftest
> from lib/test_rhashtable.c:
...
> Signed-off-by: Bart Van Assche <bvanassche@acm.org>

Please just fix the test to use the global object created for this purpose
instead of an unnecessary on-stack instance.

Thanks.

\
 
 \ /
  Last update: 2018-12-19 06:33    [W:0.041 / U:2.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site