Re: [PATCH][next] loop: Fix missing max_active argument in alloc_workqueue call

From: Dan Schatzberg
Date: Fri Mar 19 2021 - 11:54:49 EST


On Thu, Mar 18, 2021 at 03:16:26PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The 3rd argument to alloc_workqueue should be the max_active count,
> however currently it is the lo->lo_number that is intended for the
> loop%d number. Fix this by adding in the missing max_active count.
>

Thanks for catching this Colin. I'm fairly new to kernel development.
Is there some tool I could have run locally to catch this?