Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932085AbbKXVKG (ORCPT ); Tue, 24 Nov 2015 16:10:06 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:45960 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753961AbbKXVKE (ORCPT ); Tue, 24 Nov 2015 16:10:04 -0500 Date: Tue, 24 Nov 2015 16:09:58 -0500 (EST) Message-Id: <20151124.160958.1830413240893006576.davem@davemloft.net> To: saurabh.truth@gmail.com Cc: B38611@freescale.com, fabio.estevam@freescale.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: fec: no need to test for the return type of of_property_read_u32 From: David Miller In-Reply-To: <1448286708-4698-1-git-send-email-saurabh.truth@gmail.com> References: <1448286708-4698-1-git-send-email-saurabh.truth@gmail.com> X-Mailer: Mew version 6.6 on Emacs 24.5 / 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]); Tue, 24 Nov 2015 13:10:03 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 558 Lines: 14 From: Saurabh Sengar Date: Mon, 23 Nov 2015 19:21:48 +0530 > in case of error no need to set num_tx and num_rx = 1, because in case of error > these variables will remain unchanged by of_property_read_u32 ie 1 only > > Signed-off-by: Saurabh Sengar Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/