From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755051AbcBGWO6 (ORCPT ); Sun, 7 Feb 2016 17:14:58 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:55932 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754395AbcBGWO4 (ORCPT ); Sun, 7 Feb 2016 17:14:56 -0500 Date: Sun, 7 Feb 2016 14:14:56 -0800 From: Greg Kroah-Hartman To: Sudip Mukherjee Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org Subject: Re: [PATCH 2/3] staging: most: return proper error Message-ID: <20160207221456.GA27868@kroah.com> References: <1448211656-15829-1-git-send-email-sudipm.mukherjee@gmail.com> <1448211656-15829-2-git-send-email-sudipm.mukherjee@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1448211656-15829-2-git-send-email-sudipm.mukherjee@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 22, 2015 at 10:30:55PM +0530, Sudip Mukherjee wrote: > We were returning ENOMEM on all types of errors. Lets return the actual > error code. At the same time remove the label which became unused as a > result of this patch. > > Signed-off-by: Sudip Mukherjee > --- > drivers/staging/most/mostcore/core.c | 22 +++++++++++++++------- > 1 file changed, 15 insertions(+), 7 deletions(-) This and patch 3/3 don't apply anymore :(