Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751811AbbKJSqA (ORCPT ); Tue, 10 Nov 2015 13:46:00 -0500 Received: from smtprelay0208.hostedemail.com ([216.40.44.208]:54571 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750885AbbKJSp7 (ORCPT ); Tue, 10 Nov 2015 13:45:59 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 40,2.5,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::,RULES_HIT:41:355:379:541:599:968:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1538:1593:1594:1711:1714:1730:1747:1777:1792:2393:2553:2559:2562:2828:2915:3138:3139:3140:3141:3142:3350:3622:3865:3867:3870:3871:3873:3874:4321:5007:6261:10011:10400:10848:11232:11658:11914:12296:12517:12519:12740:13069:13311:13357:14659:21080:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:1:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: cows27_16d3cf6cc5a19 X-Filterd-Recvd-Size: 1536 Message-ID: <1447181155.2701.72.camel@perches.com> Subject: Re: [PATCH] mtd: phram: error handling From: Joe Perches To: Brian Norris Cc: Saurabh Sengar , andy.shevchenko@gmail.com, joern@lazybastard.org, dwmw2@infradead.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Date: Tue, 10 Nov 2015 10:45:55 -0800 In-Reply-To: <20151110183956.GQ12143@google.com> References: <1447050198-20562-1-git-send-email-saurabh.truth@gmail.com> <20151110182047.GP12143@google.com> <1447180387.2701.68.camel@perches.com> <20151110183956.GQ12143@google.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.16.5-1ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 682 Lines: 17 On Tue, 2015-11-10 at 10:39 -0800, Brian Norris wrote: > On Tue, Nov 10, 2015 at 10:33:07AM -0800, Joe Perches wrote: > > Expand parse_err macro with hidden flow in-place. > > Remove the now unused parse_err macro. [] > I think -EINVAL makes more sense than 1. That > could be a subsequent patch, I suppose. That means you have to trace all the callers to verify that converting 1 to -22 is acceptable. Maybe Saurabh wants to do that. -- 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/