[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <o61omd$vb4$1@blaine.gmane.org>
Date: Sun, 22 Jan 2017 08:58:07 +0100
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
To: linux-kernel@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 3/5] s390/pci: Move three assignments for the variable
"rc" in clp_normal_command()
Le 21/01/2017 à 19:12, SF Markus Elfring a écrit :
> @@ -541,9 +543,8 @@ static int clp_normal_command(struct clp_req *req)
> if (rc)
> goto out_free;
>
> - rc = -EFAULT;
> if (copy_to_user(uptr, lpcb, PAGE_SIZE) != 0)
> - goto out_free;
> + rc = -EFAULT;
>
> rc = 0;
>
With this, we return 0 (success) on error.
CJ
Powered by blists - more mailing lists