[PATCH] cxl: Fix error path on bad ioctl

Michael Ellerman mpe at ellerman.id.au
Wed Jun 7 21:43:44 AEST 2017


Frederic Barrat <fbarrat at linux.vnet.ibm.com> writes:

> Le 06/06/2017 à 11:20, Michael Ellerman a écrit :
>> 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.
>> 
>> To be clear the error is that returning via the out label will unlock
>> cxl->status_mutex, which has not been locked.
>> 
>> Please spell it out for me :)
>> 
>> This should be:
>> 
>>    Fixes: 0712dc7e73e5 ("cxl: Fix issues when unmapping contexts")
>> 
>> Am I right?
>
> That's correct. I'm about to send a v2 to address Vaibhav's comment and 
> I'll fix the above as well.

Thanks.

cheers


More information about the Linuxppc-dev mailing list