Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751969AbbBVKWL (ORCPT ); Sun, 22 Feb 2015 05:22:11 -0500 Received: from smtp04.smtpout.orange.fr ([80.12.242.126]:34898 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370AbbBVKWI (ORCPT ); Sun, 22 Feb 2015 05:22:08 -0500 X-ME-Helo: beldin X-ME-Date: Sun, 22 Feb 2015 11:22:07 +0100 X-ME-IP: 109.222.213.148 From: Robert Jarzmik To: Joe Perches Cc: Andrew Morton , Daniel Mack , Haojian Zhuang , Felipe Balbi , Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 10/27] pxa27x_udc: Remove use of seq_printf return value References: <2c9adbd539f0d96028b9dfe1caec0829c9feacf5.1424573328.git.joe@perches.com> X-URL: http://belgarath.falguerolles.org/ Date: Sun, 22 Feb 2015 11:22:01 +0100 In-Reply-To: <2c9adbd539f0d96028b9dfe1caec0829c9feacf5.1424573328.git.joe@perches.com> (Joe Perches's message of "Sat, 21 Feb 2015 18:53:37 -0800") Message-ID: <87lhjq6yba.fsf@free.fr> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 732 Lines: 23 Joe Perches writes: > The seq_printf return value, because it's frequently misused, > will eventually be converted to void. > > See: commit 1f33c41c03da ("seq_file: Rename seq_overflow() to > seq_has_overflowed() and make public") > > While there, simplify the error handler logic by returning > immediately and remove the unnecessary labels. > > Signed-off-by: Joe Perches Tested-by: Robert Jarzmik Cheers. -- Robert -- 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/