[PATCH v2] Return the result from user admin command IOCTL even in case of failure

Matthew Wilcox willy at linux.intel.com
Thu May 23 13:36:40 EDT 2013


On Wed, May 22, 2013 at 10:34:49PM +0000, Chayan Biswas wrote:
> -       if (!status && copy_to_user(&ucmd->result, &cmd.result,
> +       if ((status >= 0) && copy_to_user(&ucmd->result, &cmd.result,

I just tried to apply this and the patch is corrupted.  It looks like your
mailer has changed the tabs to spaces.  This seems to be an unfortunately
common problem with Outlook / Exchange.  Since this one's a one-liner,
I'll fix it up by hand, but for larger patches, can you use a different
mailer?



More information about the Linux-nvme mailing list