[PATCH v2] cxl: Fix error path on bad ioctl
Vaibhav Jain
vaibhav at linux.vnet.ibm.com
Thu Jun 8 15:43:27 AEST 2017
Hi Fred,
Thanks for addressing the review comments.
Frederic Barrat <fbarrat at linux.vnet.ibm.com> writes:
> Fix error path if we can't copy user structure on CXL_IOCTL_START_WORK
> ioctl. We shouldn't unlock the context status mutex as it was not
> locked (yet).
>
> Signed-off-by: Frederic Barrat <fbarrat at linux.vnet.ibm.com>
> Cc: stable at vger.kernel.org
> Fixes: 0712dc7e73e5 ("cxl: Fix issues when unmapping contexts")
> ---
> Changelog:
> v2: change sizeof() parameter (Vaibhav)
> tweak commit message and add 'Fixes:' (mpe)
Reviewed-by: Vaibhav Jain <vaibhav at linux.vnet.ibm.com>
More information about the Linuxppc-dev
mailing list