Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751765AbcLCSug (ORCPT ); Sat, 3 Dec 2016 13:50:36 -0500 Received: from mail-oi0-f43.google.com ([209.85.218.43]:35174 "EHLO mail-oi0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751372AbcLCSuf (ORCPT ); Sat, 3 Dec 2016 13:50:35 -0500 MIME-Version: 1.0 In-Reply-To: <1480758977-4234-1-git-send-email-bianpan2016@163.com> References: <1480758977-4234-1-git-send-email-bianpan2016@163.com> From: Michael Chan Date: Sat, 3 Dec 2016 10:50:33 -0800 Message-ID: Subject: Re: [PATCH 1/1] netdev: broadcom: propagate error code To: Pan Bian Cc: "David S. Miller" , Prashant Sreedharan , Satish Baddipadige , Netdev , open list Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 431 Lines: 10 On Sat, Dec 3, 2016 at 1:56 AM, Pan Bian wrote: > Function bnxt_hwrm_stat_ctx_alloc() always returns 0, even if the call > to _hwrm_send_message() fails. It may be better to propagate the errors > to the caller of bnxt_hwrm_stat_ctx_alloc(). > > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188661 > > Signed-off-by: Pan Bian Acked-by: Michael Chan