Re: [PATCH v1 1/1] gpio: sim: Initialize attribute allocated on the heap

2021-04-09 Thread Bartosz Golaszewski
On Thu, Apr 8, 2021 at 6:24 PM Andy Shevchenko wrote: > > The attributes on the heap must be initialized before use. > Neglecting that will produce an Oops in some configurations: > > BUG: key 000800eba398 has not been registered! > > Initialize attribute allocated on the heap. > > Fixes:

[PATCH v1 1/1] gpio: sim: Initialize attribute allocated on the heap

2021-04-08 Thread Andy Shevchenko
The attributes on the heap must be initialized before use. Neglecting that will produce an Oops in some configurations: BUG: key 000800eba398 has not been registered! Initialize attribute allocated on the heap. Fixes: 3f0279eb9e37 ("gpio: sim: new testing module") Reported-by: Naresh