Re: [PATCH] lib/rhashtable: Fix work initialization in rhashtable_init()

2018-12-20 Thread Bart Van Assche
On Tue, 2018-12-18 at 21:32 -0800, David Miller wrote: > From: Bart Van Assche > 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 de

Re: [PATCH] lib/rhashtable: Fix work initialization in rhashtable_init()

2018-12-18 Thread David Miller
From: Bart Van Assche 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_rhashtab

[PATCH] lib/rhashtable: Fix work initialization in rhashtable_init()

2018-12-17 Thread Bart Van Assche
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: ODEBUG: object (ptrval) is on stack (ptrval), but NOT annotated