On Thursday, January 01/03/19, 2019 at 18:15:55 +0200, Max Gurtovoy wrote: > > > spin_unlock_irqrestore(&queue->rsps_lock, flags); > > if (unlikely(!rsp)) { > >- rsp = kmalloc(sizeof(*rsp), GFP_KERNEL); > >+ int ret = -EINVAL; > >+ > > no real need to initialize ret variable (sorry I didn't see it in > first review). > > No problem. I'll post v3. > >+ rsp = kzalloc(sizeof(*rsp), GFP_KERNEL);