Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754548AbcL3U1U (ORCPT ); Fri, 30 Dec 2016 15:27:20 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:46154 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753414AbcL3U1S (ORCPT ); Fri, 30 Dec 2016 15:27:18 -0500 Date: Fri, 30 Dec 2016 15:27:16 -0500 (EST) Message-Id: <20161230.152716.1138757346265872327.davem@davemloft.net> To: thomas.preisner+linux@fau.de Cc: dave@thedillows.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel@i4.cs.fau.de, milan.stephan+linux@fau.de, sergei.shtylyov@cogentembedded.com Subject: Re: [PATCH v4 2/2] net: 3com: typhoon: typhoon_init_one: make return values more specific From: David Miller In-Reply-To: <1483065474-11512-3-git-send-email-thomas.preisner+linux@fau.de> References: <1482873453.20986.4.camel@dillow-glaptop.roam.corp.google.com> <1483065474-11512-1-git-send-email-thomas.preisner+linux@fau.de> <1483065474-11512-3-git-send-email-thomas.preisner+linux@fau.de> X-Mailer: Mew version 6.7 on Emacs 25.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 30 Dec 2016 11:28:04 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 399 Lines: 11 From: Thomas Preisner Date: Fri, 30 Dec 2016 03:37:54 +0100 > In some cases the return value of a failing function is not being used > and the function typhoon_init_one() returns another negative error code > instead. > > Signed-off-by: Thomas Preisner > Signed-off-by: Milan Stephan Applied to net-next.