Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754483AbaKROCr (ORCPT ); Tue, 18 Nov 2014 09:02:47 -0500 Received: from cantor2.suse.de ([195.135.220.15]:56545 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754130AbaKROCo (ORCPT ); Tue, 18 Nov 2014 09:02:44 -0500 Date: Tue, 18 Nov 2014 15:02:51 +0100 From: Petr Mladek To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Jiri Kosina , Srikar Dronamraju , Masami Hiramatsu Subject: Re: [PATCH 07/26 v5] kprobes/tracing: Use trace_seq_has_overflowed() for overflow checks Message-ID: <20141118140251.GC23958@pathway.suse.cz> References: <20141115045847.712848224@goodmis.org> <20141115050601.853777652@goodmis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141115050601.853777652@goodmis.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 2014-11-14 23:58:54, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Instead of checking the return value of trace_seq_printf() and friends > for overflowing of the buffer, use the trace_seq_has_overflowed() helper > function. > > This cleans up the code quite a bit and also takes us a step closer to > changing the return values of trace_seq_printf() and friends to void. > > Link: http://lkml.kernel.org/r/20141114011411.181812785@goodmis.org > > Reviewed-by: Srikar Dronamraju > Acked-by: Masami Hiramatsu > Signed-off-by: Steven Rostedt Reviewed-by: Petr Mladek Best Regards, Petr -- 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/