Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758704AbcLPTST (ORCPT ); Fri, 16 Dec 2016 14:18:19 -0500 Received: from forward5p.cmail.yandex.net ([77.88.31.20]:33818 "EHLO forward5p.cmail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756343AbcLPTSK (ORCPT ); Fri, 16 Dec 2016 14:18:10 -0500 Authentication-Results: mxback1j.mail.yandex.net; dkim=pass header.i=@yandex.com.tr From: Ozgur Karatas Envelope-From: mueddib@yandex.com.tr To: Sergei Shtylyov , David Miller Cc: linux-kernel , netdev In-Reply-To: <96578fd4-dd02-f39a-a252-c37aa714d3d0@cogentembedded.com> References: <5194151481912505@web1g.yandex.ru> <96578fd4-dd02-f39a-a252-c37aa714d3d0@cogentembedded.com> Subject: Re: [PATCH 1/1] tools: net: bpf_dbg.c fixed keyboard typo MIME-Version: 1.0 Message-Id: <142441481915586@web39j.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 16 Dec 2016 21:13:06 +0200 Content-Transfer-Encoding: 8bit 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: 1282 Lines: 47 16.12.2016, 21:08, "Sergei Shtylyov" : > Hello. Hi > On 12/16/2016 09:21 PM, Ozgur Karatas wrote: > >>  This patch fixed to keyboard typo, brackets not closed. >>  I think, it should be close to parenthes. >> >>  Signed-off-by: Ozgur Karatas >>  --- >>   tools/net/bpf_dbg.c | 2 +- >>   1 files changed, 1 insertion(+), 1 deletions(-) >> >>  diff --git a/tools/net/bpf_dbg.c b/tools/net/bpf_dbg.c >>  index 4f254bc..f715f46 100644 >>  --- a/tools/net/bpf_dbg.c >>  +++ b/tools/net/bpf_dbg.c >>  @@ -1213,7 +1213,7 @@ static int cmd_disassemble(char *line_string) >> >>           if (!bpf_prog_loaded()) >>                   return CMD_ERR; >>  - if (strlen(line_string) > 0 && >>  + if (strlen(line_string) > 0 &&) > >     Have tried to you compile that? :-/ Yes, i compiled but I apologize if there was NAK. Also, checkpatch give a error. I could be wrong, will review again. Best Regards! >>               (line = strtoul(line_string, NULL, 10)) < bpf_prog_len) > >     I think the code was correct before your patch... > >>                   single_line = true; >>           if (single_line) > > MBR, Sergei ~Ozgur