[V3 PATCH 10/16] powerpc/pseries/vas: Integrate API with open/close windows

Nicholas Piggin npiggin at gmail.com
Mon May 10 16:28:14 AEST 2021


Excerpts from Haren Myneni's message of April 18, 2021 7:08 am:
> +static int deallocate_free_window(struct vas_window *win)
> +{
> +	int rc = 0;
> +
> +	rc = plpar_vas_deallocate_window(win->winid);
> +	if (!rc)
> +		kfree(win->lpar.name);

Oh, did this kfree sneak in here? The allocation appears in patch 11
I think.

Thanks,
Nick



More information about the Linuxppc-dev mailing list