[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100603.032916.267394338.davem@davemloft.net>
Date: Thu, 03 Jun 2010 03:29:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: error27@...il.com
Cc: isdn@...ux-pingi.de, jan.kiszka@....de, tilman@...p.cc,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] isdn/kcapi: return -EFAULT on copy_from_user errors
From: Dan Carpenter <error27@...il.com>
Date: Thu, 3 Jun 2010 11:56:13 +0200
> copy_from_user() returns the number of bytes remaining but we should
> return -EFAULT here. The error code gets returned to the user. Both
> old_capi_manufacturer() and capi20_manufacturer() had other places
> that already returned -EFAULT so this won't break anything.
>
> Signed-off-by: Dan Carpenter <error27@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists